PHP Interface Prooph\ServiceBus\Plugin\Guard\AuthorizationService

Show file Open project: prooph/service-bus Interface Usage Examples

Public Methods

Method Description
isGranted ( string $messageName, mixed $context = null ) : boolean Check if the permission is granted to the current identity

Method Details

isGranted() public method

Check if the permission is granted to the current identity
public isGranted ( string $messageName, mixed $context = null ) : boolean
$messageName string
$context mixed
return boolean