| 1 | <?php |
||
| 2 | /** |
||
| 3 | * Created by enea dhack - 18/04/2018 11:54. |
||
| 4 | */ |
||
| 5 | |||
| 6 | declare(strict_types=1); |
||
| 7 | |||
| 8 | /** |
||
| 9 | * @author enea dhack <[email protected]> |
||
| 10 | * |
||
| 11 | * For the full copyright and license information, please view the LICENSE |
||
| 12 | * file that was distributed with this source code. |
||
| 13 | */ |
||
| 14 | |||
| 15 | namespace Enea\Authorization\Facades; |
||
| 16 | |||
| 17 | use Illuminate\Support\Facades\Facade; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Class Authenticated. |
||
| 21 | * |
||
| 22 | * @package Enea\Authorization\Facades |
||
| 23 | * @method static void can(string... $permissions) |
||
| 24 | * @method static void is(string... $roles) |
||
| 25 | */ |
||
|
0 ignored issues
–
show
Documentation
Bug
introduced
by
Loading history...
|
|||
| 26 | class Authenticated extends Facade |
||
| 27 | { |
||
| 28 | /** |
||
| 29 | * {@inheritdoc} |
||
| 30 | */ |
||
| 31 | 14 | protected static function getFacadeAccessor() |
|
| 32 | { |
||
| 33 | 14 | return \Enea\Authorization\Support\Authenticated::class; |
|
| 34 | } |
||
| 35 | } |
||
| 36 |