Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Cartalyst
Sentinel
Permissions
PermissionsInterface
PHP Interface Cartalyst\Sentinel\Permissions\PermissionsInterface
Show file
Open project: cartalyst/sentinel
Public Methods
Method
Description
hasAccess
(
array
|
string
$permissions
) :
boolean
Returns if access is available for all given permissions.
hasAnyAccess
(
array
|
string
$permissions
) :
boolean
Returns if access is available for any given permissions.
Method Details
hasAccess()
public
method
Returns if access is available for all given permissions.
public
hasAccess
(
array
|
string
$permissions
) :
boolean
$permissions
array
|
string
return
boolean
hasAnyAccess()
public
method
Returns if access is available for any given permissions.
public
hasAnyAccess
(
array
|
string
$permissions
) :
boolean
$permissions
array
|
string
return
boolean