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\History;
use Ivory\HttpAdapter\Message\InternalRequestInterface;
use Ivory\HttpAdapter\Message\ResponseInterface;
/**
* @author GeLo <[email protected]>
class JournalEntry implements JournalEntryInterface
{
* @var \Ivory\HttpAdapter\Message\InternalRequestInterface
private $request;
* @var \Ivory\HttpAdapter\Message\ResponseInterface
private $response;
* @param InternalRequestInterface $request
* @param ResponseInterface $response
public function __construct(InternalRequestInterface $request, ResponseInterface $response)
$this->setRequest($request);
$this->setResponse($response);
}
* {@inheritdoc}
public function getRequest()
return $this->request;
public function setRequest(InternalRequestInterface $request)
$this->request = $request;
public function getResponse()
return $this->response;
public function setResponse(ResponseInterface $response)
$this->response = $response;