1 | <?php |
||
5 | trait Auth |
||
6 | { |
||
7 | /** |
||
8 | * The auth instance. |
||
9 | * |
||
10 | * @var |
||
11 | */ |
||
12 | protected $auth; |
||
13 | |||
14 | /** |
||
15 | * Get or make an auth instance. |
||
16 | * |
||
17 | * @return \Illuminate\Foundation\Application|mixed |
||
18 | */ |
||
19 | 10 | protected function getAuth() |
|
32 | |||
33 | /** |
||
34 | * Get the current user. |
||
35 | * |
||
36 | * @return mixed |
||
37 | */ |
||
38 | 10 | protected function getUser() |
|
42 | |||
43 | abstract protected function config($string, $children = []); |
||
44 | } |
||
45 |