composer.json in the wrong place. Gone now.
[yaffs-website] / vendor / consolidation / annotated-command / src / Events / CustomEventAwareInterface.php
1 <?php
2 namespace Consolidation\AnnotatedCommand\Events;
3
4 use Consolidation\AnnotatedCommand\Hooks\HookManager;
5
6 interface CustomEventAwareInterface
7 {
8     /**
9      * Set a reference to the hook manager for later use
10      * @param HookManager $hookManager
11      */
12     public function setHookManager(HookManager $hookManager);
13
14     /**
15      * Get all of the defined event handlers of the specified name.
16      * @param string $eventName
17      * @return Callable[]
18      */
19     public function getCustomEventHandlers($eventName);
20 }