Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
FluxBB
Auth
Authorizer
authorizedIf
FluxBB\Auth\Authorizer::authorizedIf PHP Method
Authorizer Class Documentation
Mostra file
Open project: fluxbb/core
authorizedIf()
protected
method
Make sure the given check passes, otherwise throw an exception.
protected
authorizedIf
(
boolean
$check
)
$check
boolean
protected function authorizedIf($check) { if (!$check) { throw new NoPermission(); } return $this; }
Authorizer
authorize
authorizedIf