Server : Apache System : Linux indy02.toastserver.com 3.10.0-962.3.2.lve1.5.85.el7.x86_64 #1 SMP Thu Apr 18 15:18:36 UTC 2024 x86_64 User : palandch ( 1163) PHP Version : 7.1.33 Disable Function : NONE Directory : /home/palandch/Cloudflare-CPanel-7.0.1/vendor/guzzlehttp/guzzle/src/Event/ |
<?php namespace GuzzleHttp\Event; /** * SubscriberInterface provides an array of events to an * EventEmitterInterface when it is registered. The emitter then binds the * listeners specified by the EventSubscriber. * * This interface is based on the SubscriberInterface of the Symfony. * @link https://github.com/symfony/symfony/tree/master/src/Symfony/Component/EventDispatcher */ interface SubscriberInterface { /** * Returns an array of event names this subscriber wants to listen to. * * The returned array keys MUST map to an event name. Each array value * MUST be an array in which the first element is the name of a function * on the EventSubscriber OR an array of arrays in the aforementioned * format. The second element in the array is optional, and if specified, * designates the event priority. * * For example, the following are all valid: * * - ['eventName' => ['methodName']] * - ['eventName' => ['methodName', $priority]] * - ['eventName' => [['methodName'], ['otherMethod']] * - ['eventName' => [['methodName'], ['otherMethod', $priority]] * - ['eventName' => [['methodName', $priority], ['otherMethod', $priority]] * * @return array */ public function getEvents(); }