File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 1414
1515use Illuminate \Support \Facades \Facade ;
1616
17+ /**
18+ * @method static bool ability(array|string $roles, array|string $permissions, array $options = [])
19+ * @method static bool can(string $permission, bool $requireAll = false)
20+ * @method static bool canAndOwns(string|array $permission, Object $thing, array $options = [])
21+ * @method static bool hasRole(string $role, bool $requireAll = false)
22+ * @method static bool hasRoleAndOwns(string|array $role, Object $thing, array $options = [])
23+ * @method static bool owns(Object $thing, string|null $foreignKeyName = null)
24+ * @method static \Illuminate\Auth\UserInterface|null user()
25+ */
1726class LaravelEntrustFacade extends Facade
1827{
1928 /**
@@ -25,4 +34,4 @@ protected static function getFacadeAccessor()
2534 {
2635 return 'laravel_entrust ' ;
2736 }
28- }
37+ }
You can’t perform that action at this time.
0 commit comments