for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Bankiru\Api\Rpc\Event;
use Bankiru\Api\Rpc\RpcEvent;
use ScayTrase\Api\Rpc\RpcResponseInterface;
class RpcResponseEvent extends RpcEvent
{
/** @var RpcResponseInterface|null */
protected $response;
/** @return bool */
public function hasResponse()
return null !== $this->response;
}
/** @return RpcResponseInterface */
public function getResponse()
return $this->response;
/**
* @param RpcResponseInterface $response
*/
public function setResponse(RpcResponseInterface $response)
$this->response = $response;
$this->stopPropagation();