Copied!

ContextProviderInterface

ContextProviderInterface.php : 14

Methods

publicaccept()

ContextProviderInterface.php : 16
public accept(PolicyInterface $policy) : bool

Parameters

Name Type Default value Description
$policy PolicyInterface - -

Return values

bool

publicgetPermissionContext()

ContextProviderInterface.php : 18
public getPermissionContext(PolicyInterface $policy) : ContextInterface

Parameters

Name Type Default value Description
$policy PolicyInterface - -

Return values

ContextInterface