Phprest\Response\NotModified::__construct PHP Method

__construct() public method

public __construct ( string $contentLocation, string $eTag, array $headers = [] )
$contentLocation string The value of the Content-Location header
$eTag string The value of the Etag header
$headers array An array of response headers
    public function __construct($contentLocation, $eTag, $headers = [])
    {
        parent::__construct('', Response::HTTP_NOT_MODIFIED, $headers);
        $this->headers->set('Content-Location', $contentLocation);
        $this->headers->set('Etag', $eTag);
    }
NotModified