for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Ivory Http Adapter package.
*
* (c) Eric GELOEN <[email protected]>
* For the full copyright and license information, please read the LICENSE
* file that was distributed with this source code.
*/
namespace Ivory\HttpAdapter\Event;
use Ivory\HttpAdapter\HttpAdapterInterface;
use Symfony\Component\EventDispatcher\Event;
/**
* @author GeLo <[email protected]>
abstract class AbstractEvent extends Event
{
* @var HttpAdapterInterface
private $httpAdapter;
* @param HttpAdapterInterface $httpAdapter
public function __construct(HttpAdapterInterface $httpAdapter)
$this->httpAdapter = $httpAdapter;
}
* @return HttpAdapterInterface
public function getHttpAdapter()
return $this->httpAdapter;