Symfony\Component\Security\Core\SecurityContextInterface::isGranted
Checks if the attributes are granted against the current authentication token and optionally supplied object.
Signature
public function isGranted(array
$attributes,
[mixed
$object = null] )
Parameters
$attributes
— array$object
— mixed
Returns
- Boolean