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