interface AuthorizationCheckerInterface

The AuthorizationCheckerInterface.

Methods

bool
isGranted(mixed$attribute,mixed$subject =null)

Checks if the attribute is granted against the current authentication token and optionally supplied subject.

Details

bool isGranted(mixed$attribute,mixed$subject =null)

Checks if the attribute is granted against the current authentication token and optionally supplied subject.

Parameters

mixed $attribute
mixed $subject

Return Value

bool