Symfony\Component\Routing\Matcher\Dumper\DumperCollection::hasAttribute
Returns true if the attribute is defined.
Signature
public function hasAttribute(string
$name )
Parameters
$name
— string- The attribute name
Returns
- Boolean
- true if the attribute is defined, false otherwise