Class EventHook
An event hook.
An ICanBoogie\EventHook
instance is created when an event hook is attached. The purpose of this
instance is to ease its detaching:
<?php use ICanBoogie\HTTP\Dispatcher; $eh = $events->attach(function(Dispatcher\CollectEvent $event, Dispatcher $target) { // … }); $eh->detach();
- ICanBoogie\EventHook uses ICanBoogie\Accessor\AccessorTrait (not available)