Phprest\Response\Accepted::__construct PHP Method

__construct() public method

public __construct ( mixed $content = '', array $headers = [] )
$content mixed The response content, see setContent()
$headers array An array of response headers
    public function __construct($content = '', $headers = [])
    {
        parent::__construct($content, Response::HTTP_ACCEPTED, $headers);
    }
Accepted