AbstractBehavior
- Full name:
\PhalconKit\Mvc\Model\Traits\Abstracts\AbstractBehavior
Methods
addBehavior
public addBehavior(\Phalcon\Mvc\Model\BehaviorInterface $behavior): void
- This method is abstract. Parameters:
| Parameter | Type | Description |
$behavior | \Phalcon\Mvc\Model\BehaviorInterface | |
getBehavior
public getBehavior(string $behaviorName): ?\Phalcon\Mvc\Model\BehaviorInterface
- This method is abstract. Parameters:
| Parameter | Type | Description |
$behaviorName | string | |
setBehavior
public setBehavior(string $behaviorName, \Phalcon\Mvc\Model\BehaviorInterface $behavior): void
- This method is abstract. Parameters:
| Parameter | Type | Description |
$behaviorName | string | |
$behavior | \Phalcon\Mvc\Model\BehaviorInterface | |
hasBehavior
public hasBehavior(string $behaviorName): bool
- This method is abstract. Parameters:
| Parameter | Type | Description |
$behaviorName | string | |
removeBehavior
public removeBehavior(string $behaviorName): void
- This method is abstract. Parameters:
| Parameter | Type | Description |
$behaviorName | string | |