public function AcceptHeader::has in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/AcceptHeader.php \Symfony\Component\HttpFoundation\AcceptHeader::has()
Tests if header has given value.
Parameters
string $value:
Return value
bool
File
- vendor/
symfony/ http-foundation/ AcceptHeader.php, line 82
Class
- AcceptHeader
- Represents an Accept-* header.
Namespace
Symfony\Component\HttpFoundationCode
public function has($value) {
return isset($this->items[$value]);
}