Zend Framework
3.0
|
Abstract validator chain for validating sessions (for use with zend-eventmanager v3) More...
Public Member Functions | |
__construct (StorageInterface $storage) | |
Construct the validation chain. | |
attach ($eventName, callable $callback, $priority=1) | |
Attach a listener to the session validator chain. | |
Public Member Functions inherited from EventManager | |
__construct (SharedEventManagerInterface $sharedEventManager=null, array $identifiers=[]) | |
Constructor. | |
setEventPrototype (EventInterface $prototype) | |
| |
getSharedManager () | |
Retrieve the shared event manager, if composed. | |
getIdentifiers () | |
| |
setIdentifiers (array $identifiers) | |
| |
addIdentifiers (array $identifiers) | |
| |
trigger ($eventName, $target=null, $argv=[]) | |
| |
triggerUntil (callable $callback, $eventName, $target=null, $argv=[]) | |
| |
triggerEvent (EventInterface $event) | |
| |
triggerEventUntil (callable $callback, EventInterface $event) | |
| |
attach ($eventName, callable $listener, $priority=1) | |
| |
detach (callable $listener, $eventName=null, $force=false) | |
| |
clearListeners ($event) | |
| |
prepareArgs (array $args) | |
Prepare arguments. | |
Public Member Functions inherited from EventManagerInterface | |
detach (callable $listener, $eventName=null) | |
Detach a listener. | |
Additional Inherited Members | |
Protected Member Functions inherited from EventManager | |
triggerListeners (EventInterface $event, callable $callback=null) | |
Trigger listeners. | |
Protected Attributes inherited from EventManager | |
$events = [] | |
$eventPrototype | |
$identifiers = [] | |
$sharedManager = null | |
Abstract validator chain for validating sessions (for use with zend-eventmanager v3)
__construct | ( | StorageInterface | $storage | ) |
Construct the validation chain.
Retrieves validators from session storage and attaches them.
Duplicated in ValidatorChainEM2 to prevent trait collision with parent.
StorageInterface | $storage |
attach | ( | $eventName, | |
callable | $callback, | ||
$priority = 1 |
|||
) |
Attach a listener to the session validator chain.
string | $eventName | |
callable | $callback | |
int | $priority |
Implements EventManagerInterface.