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
Silber
Bouncer
Database
Authorizable
cannot
Silber\Bouncer\Database\Authorizable::cannot PHP Method
Authorizable Trait Documentation
Show file
Open project: JosephSilber/bouncer
cannot()
public
method
Determine if the authority does not have a given ability.
public
cannot
(
string
$ability
,
Model |
null
$model
= null ) :
boolean
$ability
string
$model
Illuminate\Database\Eloquent\Model |
null
return
boolean
public function cannot($ability, $model = null) { return $this->cant($ability, $model); }
Authorizable
can
cannot
cant
getClipboardInstance