Server IP : 104.21.14.103 / Your IP : 3.149.236.131 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 : /home/giankuin/khowordpress.com/wp-content/plugins/duplicator-pro/aws/Guzzle/Common/ |
Upload File : |
<?php namespace DuplicatorPro\Guzzle\Common; defined("ABSPATH") or die(""); use DuplicatorPro\Symfony\Component\EventDispatcher\Event as SymfonyEvent; /** * Default event for Guzzle notifications */ class Event extends SymfonyEvent implements ToArrayInterface, \ArrayAccess, \IteratorAggregate { /** @var array */ private $context; /** * @param array $context Contextual information */ public function __construct(array $context = array()) { $this->context = $context; } public function getIterator() { return new \ArrayIterator($this->context); } public function offsetGet($offset) { return isset($this->context[$offset]) ? $this->context[$offset] : null; } public function offsetSet($offset, $value) { $this->context[$offset] = $value; } public function offsetExists($offset) { return isset($this->context[$offset]); } public function offsetUnset($offset) { unset($this->context[$offset]); } public function toArray() { return $this->context; } }