public function DumperCollection::hasAttribute in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/routing/Matcher/Dumper/DumperCollection.php \Symfony\Component\Routing\Matcher\Dumper\DumperCollection::hasAttribute()
Returns true if the attribute is defined.
Parameters
string $name The attribute name:
Return value
bool true if the attribute is defined, false otherwise
1 call to DumperCollection::hasAttribute()
- DumperCollection::getAttribute in vendor/
symfony/ routing/ Matcher/ Dumper/ DumperCollection.php - Returns an attribute by name.
File
- vendor/
symfony/ routing/ Matcher/ Dumper/ DumperCollection.php, line 123
Class
- DumperCollection
- Collection of routes.
Namespace
Symfony\Component\Routing\Matcher\DumperCode
public function hasAttribute($name) {
return array_key_exists($name, $this->attributes);
}