Illuminate/Foundation/Auth/Access/Authorizable: Difference between revisions
< Illuminate | Foundation | Auth | Access
Jump to navigation
Jump to search
(Created page with "{{fmt/title|<u>Illuminate\Foundation\Auth\Access\Authorizable</u> trait}} * '''defined in''' [https://github.com/laravel/framework/blob/10.x/src/Illuminate/Foundation/Auth/Access/Authorizable.php GitHub: 10.x] * '''used by''' Illuminate\Foundation\Auth\User * '''definition''': ** '''public methods''': *** <syntaxhighlight lang=php inline>public function can($abilities, $arguments = [])</syntaxhighlight> *** <syntaxhighlight lang=php in...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{fmt/title|<u>Illuminate\Foundation\Auth\Access\Authorizable</u> trait}} | {{fmt/title|<u>Illuminate\Foundation\Auth\Access\Authorizable</u> trait}} | ||
* '''defined in''' [https://github.com/laravel/framework/blob/10.x/src/Illuminate/Foundation/Auth/Access/Authorizable.php GitHub: 10.x] | * '''defined in''' [https://github.com/laravel/framework/blob/10.x/src/Illuminate/Foundation/Auth/Access/Authorizable.php GitHub: 10.x] | ||
* '''used by''' | * '''used by''' {{l/nspace|Illuminate\Foundation\Auth\User}} | ||
* '''definition''': | * '''definition''': | ||
** '''public methods''': | ** '''public methods''': | ||
Line 9: | Line 9: | ||
*** <syntaxhighlight lang=php inline>public function cannot($abilities, $arguments = [])</syntaxhighlight> | *** <syntaxhighlight lang=php inline>public function cannot($abilities, $arguments = [])</syntaxhighlight> | ||
* '''refers to''': | * '''refers to''': | ||
** | ** {{l/nspace|Illuminate\Contracts\Auth\Access\Gate}} |
Latest revision as of 20:59, 4 June 2023
Illuminate\Foundation\Auth\Access\Authorizable trait
|
- defined in GitHub: 10.x
- used by Illuminate\Foundation\Auth\User
- definition:
- public methods:
public function can($abilities, $arguments = [])
public function canAny($abilities, $arguments = [])
public function cant($abilities, $arguments = [])
public function cannot($abilities, $arguments = [])
- public methods:
- refers to: