Zend\Permissions\Rbac\Rbac::hasRole
Is a child with $name registered?
Signature
public function hasRole(RoleInterface|string
$objectOrName )
Parameters
$objectOrName
— object
Returns
- bool
public function hasRole(RoleInterface|string
$objectOrName )
$objectOrName
—
object