for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PhpJsonRpc\Core\Result;
class Result extends AbstractResult
{
/**
* @var mixed
*/
private $id;
private $result;
* RpcResult constructor.
*
* @param mixed $id
* @param mixed $result
public function __construct($id, $result)
$this->id = $id;
$this->result = $result;
}
* @return mixed
public function getId()
return $this->id;
public function getResult()
return $this->result;