File ManagerCurrent Directory: wp-content/plugins/backwpup/vendor/guzzle/guzzle/src/Guzzle/CommonLinux appserver-7a7af3b2-php-0c9ec09e2f9746c2a80fa3756c076432 6.12.94+ #1 SMP Fri Jul 17 09:26:56 UTC 2026 x86_64Edit File: AbstractHasDispatcher.php <?php namespace Guzzle\Common; use Symfony\Component\EventDispatcher\EventDispatcher; use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\EventSubscriberInterface; /** * Class that holds an event dispatcher */ class AbstractHasDispatcher implements HasDispatcherInterface { /** @var EventDispatcherInterface */ protected $eventDispatcher; public static function getAllEvents() { return array(); } public function setEventDispatcher(EventDispatcherInterface $eventDispatcher) { $this->eventDispatcher = $eventDispatcher; return $this; } public function getEventDispatcher() { if (!$this->eventDispatcher) { $this->eventDispatcher = new EventDispatcher(); } return $this->eventDispatcher; } public function dispatch($eventName, array $context = array()) { return $this->getEventDispatcher()->dispatch($eventName, new Event($context)); } public function addSubscriber(EventSubscriberInterface $subscriber) { $this->getEventDispatcher()->addSubscriber($subscriber); return $this; } } Upload File Directory Listing NameTypeSizeActions.. (Parent Directory)DirAbstractHasDispatcher.phpFile1.17 KB Rename | Delete | EditCollection.phpFile11.26 KB Rename | Delete | EditEvent.phpFile1.04 KB Rename | Delete | EditExceptionDirectory Rename | DeleteFromConfigInterface.phpFile487.00 B Rename | Delete | EditHasDispatcherInterface.phpFile1.33 KB Rename | Delete | EditToArrayInterface.phpFile245.00 B Rename | Delete | EditVersion.phpFile641.00 B Rename | Delete | Edit