Leafo\ScssPhp\Server::getIfNoneMatchHeader PHP Method

getIfNoneMatchHeader() protected method

Get If-None-Match header from client request
protected getIfNoneMatchHeader ( ) : string | null
return string | null
    protected function getIfNoneMatchHeader()
    {
        $noneMatch = null;
        if (isset($_SERVER['HTTP_IF_NONE_MATCH'])) {
            $noneMatch = $_SERVER['HTTP_IF_NONE_MATCH'];
        }
        return $noneMatch;
    }