| 1 | <?php |
||
| 7 | class CakeEvmProxy implements EventManagerInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var EventManager |
||
| 11 | */ |
||
| 12 | private $eventManager; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Proxy EventManager |
||
| 16 | */ |
||
| 17 | 1 | public function __construct() |
|
| 21 | |||
| 22 | /** |
||
| 23 | * {@inheritDoc} |
||
| 24 | */ |
||
| 25 | 1 | public function trigger(EventInterface $event) |
|
| 32 | |||
| 33 | /** |
||
| 34 | * {@inheritDoc} |
||
| 35 | */ |
||
| 36 | 1 | public function attach($eventName, callable $listener, $priority = 1) |
|
| 43 | } |
||
| 44 |