for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* hirak/prestissimo
* @author Hiraku NAKANO
* @license MIT https://github.com/hirak/prestissimo
*/
namespace Hirak\Prestissimo;
class HttpGetResponse
{
public $errno;
public $error;
public $info;
protected $needAuth = false;
public function __construct($errno, $error, array $info)
$this->errno = $errno;
$this->error = $error;
$this->info = $info;
}
public function setNeedAuth()
$this->needAuth = true;
public function needAuth()
return $this->needAuth;