Zend\Session\ValidatorChain
Validator chain for validating sessions
Synopsis
class ValidatorChain
extends EventManager
{
- // members
- protected StorageInterface $storage;
- // Inherited members from EventManager
- protected array $events;
- protected string $eventClass;
- protected array $identifiers;
- protected false|null|SharedEventManagerInterface $sharedManager;
- // methods
- public void __construct()
- public CallbackHandler attach()
- public StorageInterface getStorage()
- // Inherited methods from EventManager
- public void __construct()
- public EventManager setEventClass()
- public EventManager setSharedManager()
- public void unsetSharedManager()
- public false|SharedEventManagerInterface getSharedManager()
- public array getIdentifiers()
- public EventManager setIdentifiers()
- public EventManager addIdentifiers()
- public ResponseCollection trigger()
- public ResponseCollection triggerUntil()
- public CallbackHandler|mixed attach()
- public mixed attachAggregate()
- public bool detach()
- public mixed detachAggregate()
- public array getEvents()
- public PriorityQueue getListeners()
- public void clearListeners()
- public ArrayObject prepareArgs()
- protected ResponseCollection triggerListeners()
- protected array getSharedListeners()
- protected void insertListeners()
Hierarchy
Extends
Members
protected
- $eventClass — string
- $events
—
array
Subscribed events and their listeners - $identifiers
—
array
Identifiers, used to pull shared signals from SharedEventManagerInterface instance - $storage — Zend\Session\Storage\StorageInterface
Methods
public
- __construct() — Construct the validation chain
- attach() — Attach a listener to the session validator chain
- getStorage() — Retrieve session storage object
Inherited from Zend\EventManager\EventManager
protected
- insertListeners() — Add listeners to the master queue of listeners
- triggerListeners() — Trigger listeners
public
- addIdentifiers() — Add some identifier(s) (appends to any currently set identifiers)
- attach() — Attach a listener to an event
- attachAggregate() — Attach a listener aggregate
- clearListeners() — Clear all listeners for a given event
- detach() — Unsubscribe a listener from an event
- detachAggregate() — Detach a listener aggregate
- getEvents() — Retrieve all registered events
- getIdentifiers() — Get the identifier(s) for this EventManager
- getListeners() — Retrieve all listeners for a given event
- prepareArgs() — Prepare arguments
- setEventClass() — Set the event class to utilize
- setIdentifiers() — Set the identifiers (overrides any currently set identifiers)
- trigger() — Trigger all listeners for a given event
- triggerUntil() — Trigger listeners until return value of one causes a callback to evaluate to true