for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace HelePartnerSyncApi\Response;
class SuccessResponse extends Response
{
/**
* @var mixed
*/
private $data;
* @param string $secret
* @param mixed $data
public function __construct($secret, $data)
parent::__construct($secret);
$this->data = $data;
}
* @return mixed
public function getData()
return $this->data;
* @return bool
public function isSuccessful()
return true;
* @return int
public function getHttpCode()
return 200;
* @return string
public function getMessage()
return 'ok';