Visitor::accepts PHP 메소드

accepts() 공개 정적인 메소드

Returns whether a specified MIME type is accepted by the visitor's browser
public static accepts ( string $type ) : boolean
$type string MIME type like "text/html"
리턴 boolean
    public static function accepts($type)
    {
        return static::acceptance($type) > 0;
    }