Request::prefers PHP 메소드

prefers() 공개 정적인 메소드

Return the most suitable content type from the given array based on content negotiation.
public static prefers ( string | array $contentTypes ) : string | null
$contentTypes string | array
리턴 string | null
        public static function prefers($contentTypes)
        {
            return \Illuminate\Http\Request::prefers($contentTypes);
        }