Server IP : 104.21.14.103 / Your IP : 3.14.245.221 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/root/home/giankuin/sieuthiweb.com.vn/wp-content/plugins/duplicator-pro/aws/Guzzle/Common/ |
Upload File : |
<?php namespace DuplicatorPro\Guzzle\Common; defined("ABSPATH") or die(""); use DuplicatorPro\Symfony\Component\EventDispatcher\EventDispatcherInterface; use DuplicatorPro\Symfony\Component\EventDispatcher\EventSubscriberInterface; /** * Holds an event dispatcher */ interface HasDispatcherInterface { /** * Get a list of all of the events emitted from the class * * @return array */ public static function getAllEvents(); /** * Set the EventDispatcher of the request * * @param EventDispatcherInterface $eventDispatcher * * @return self */ public function setEventDispatcher(EventDispatcherInterface $eventDispatcher); /** * Get the EventDispatcher of the request * * @return EventDispatcherInterface */ public function getEventDispatcher(); /** * Helper to dispatch Guzzle events and set the event name on the event * * @param string $eventName Name of the event to dispatch * @param array $context Context of the event * * @return Event Returns the created event object */ public function dispatch($eventName, array $context = array()); /** * Add an event subscriber to the dispatcher * * @param EventSubscriberInterface $subscriber Event subscriber * * @return self */ public function addSubscriber(EventSubscriberInterface $subscriber); }