Documentation

AuthorizationChecker
in package
implements AuthorizationCheckerInterface

A slightly modified authorization checker optimized for performance and which doesn't trigger exceptions when security is not enabled.

Tags
author

Javier Eguiluz javier.eguiluz@gmail.com

Table of Contents

Interfaces

AuthorizationCheckerInterface
The AuthorizationCheckerInterface.

Properties

$authorizationChecker  : AuthorizationCheckerInterface

Methods

__construct()  : mixed
isGranted()  : bool
Checks if the attribute is granted against the current authentication token and optionally supplied subject.

Properties

Methods

isGranted()

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

public isGranted(mixed $permission[, mixed $subject = null ]) : bool
Parameters
$permission : mixed
$subject : mixed = null
Return values
bool

        
On this page

Search results