ManagerInterface
- Full name:
\Zemit\Mvc\Model\ManagerInterface
- Parent interfaces:
ManagerInterface
Methods
getBehaviors
public getBehaviors(): array
setBehaviors
public setBehaviors(array $behaviors): void
Parameters:
Parameter | Type | Description |
---|---|---|
$behaviors | array |
getBehavior
public getBehavior(\Phalcon\Mvc\ModelInterface $model, string $behaviorName): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$model | \Phalcon\Mvc\ModelInterface | |
$behaviorName | string |
setBehavior
public setBehavior(\Phalcon\Mvc\ModelInterface $model, string $behaviorName, \Phalcon\Mvc\Model\BehaviorInterface $behavior): void
Parameters:
Parameter | Type | Description |
---|---|---|
$model | \Phalcon\Mvc\ModelInterface | |
$behaviorName | string | |
$behavior | \Phalcon\Mvc\Model\BehaviorInterface |
hasBehavior
public hasBehavior(\Phalcon\Mvc\ModelInterface $model, string $behaviorName): bool
Parameters:
Parameter | Type | Description |
---|---|---|
$model | \Phalcon\Mvc\ModelInterface | |
$behaviorName | string |