Symfony\Component\Security\Core\Authentication\Token\AbstractToken::hasAttribute
Returns true if the attribute exists.
Signature
public function hasAttribute(string
$name )
Parameters
$name
— string- The attribute name
Returns
- Boolean
- true if the attribute exists, false otherwise