Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
ManaPHP
Authorization
Bypass
PHP Class ManaPHP\Authorization\Bypass
Inheritance:
implements
ManaPHP\AuthorizationInterface
Afficher le fichier
Open project: manaphp/manaphp
Méthodes publiques
Méthode
Description
authorize
(
ManaPHP\Mvc\DispatcherInterface
$dispatcher
) :
boolean
isAllowed
(
string
$permission
,
string
$userId
= null ) :
boolean
Method Details
authorize()
public
méthode
public
authorize
(
ManaPHP\Mvc\DispatcherInterface
$dispatcher
) :
boolean
$dispatcher
ManaPHP\Mvc\DispatcherInterface
Résultat
boolean
isAllowed()
public
méthode
public
isAllowed
(
string
$permission
,
string
$userId
= null ) :
boolean
$permission
string
$userId
string
Résultat
boolean