for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Twitter\API\REST\Response;
class HttpStatus
{
/** @var int */
private $status;
/**
* HttpStatus constructor.
*
* @param int $status
*/
public function __construct($status)
$this->status = $status;
}
* @return bool
public function isError()
return $this->status !== 200;