메소드 | 설명 | |
---|---|---|
getBest ( string $header, array $priorities, $strict = false ) : negotiation\AcceptHeader | null |
메소드 | 설명 | |
---|---|---|
acceptFactory ( string $header ) : negotiation\AcceptHeader | ||
match ( negotiation\AcceptHeader $header, negotiation\AcceptHeader $priority, integer $index ) : negotiation\Match | null |
메소드 | 설명 | |
---|---|---|
findMatches ( array $headerParts, array $priorities ) : negotiation\Match[] | ||
parseHeader ( string $header ) : negotiation\AcceptHeader[] |
abstract protected acceptFactory ( string $header ) : negotiation\AcceptHeader | ||
$header | string | accept header part or server priority |
리턴 | negotiation\AcceptHeader | Parsed header object |