Documentation

AccessDecisionManagerInterface

AccessDecisionManagerInterface makes authorization decisions.

Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

Methods

decide()  : bool
Decides whether the access is possible or not.

Methods

decide()

Decides whether the access is possible or not.

public decide(TokenInterface $token, array<string|int, mixed> $attributes[, mixed $object = null ]) : bool
Parameters
$token : TokenInterface
$attributes : array<string|int, mixed>

An array of attributes associated with the method being invoked

$object : mixed = null

The object to secure

Return values
bool

        
On this page

Search results