BehaviorInterface
- Full name:
\Zemit\Mvc\Model\Interfaces\BehaviorInterface
Methods
getBehavior
public getBehavior(string $behaviorName): \Phalcon\Mvc\Model\BehaviorInterface
Parameters:
Parameter | Type | Description |
---|---|---|
$behaviorName | string |
setBehavior
public setBehavior(string $behaviorName, \Phalcon\Mvc\Model\BehaviorInterface $behavior): void
Parameters:
Parameter | Type | Description |
---|---|---|
$behaviorName | string | |
$behavior | \Phalcon\Mvc\Model\BehaviorInterface |
hasBehavior
public hasBehavior(string $behaviorName): bool
Parameters:
Parameter | Type | Description |
---|---|---|
$behaviorName | string |