AbstractBehavior
- Full name: \Zemit\Mvc\Controller\Traits\Abstracts\AbstractBehavior
Methods
attachBehavior
public attachBehavior(string $eventClass, ?string $eventType = null, ?int $priority = null): void
- This method is abstract.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| $eventClass | string | |
| $eventType | ?string | |
| $priority | ?int | 
attachBehaviors
public attachBehaviors(array $behaviors = [], string $eventType = null, ?int $priority = null): void
- This method is abstract.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| $behaviors | array | |
| $eventType | string | |
| $priority | ?int |