protected function getPrefersFor(Template\Parser $parser): ?string
    {
        return $this->request->prefers(
            $parser->getSupportedFormats()
        );
    }
protected function getPrefersFor(Template\Parser $parser): ?string
    {
        return $this->request->prefers(
            $parser->getSupportedFormats()
        );
    }
protected function getPrefersFor ( Template \ Parser $ parser ) : ? string { return $ this -> request -> prefers ( $ parser -> getSupportedFormats ( ) ) ; }
Get request format.

@param  \Orchestra\Facile\Template\Parser  $parser

@return string|null
Get request format .