| 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() |
|
| 30 | |||
| 31 | /** |
||
| 32 | * Get the current user. |
||
| 33 | * |
||
| 34 | * @return mixed |
||
| 35 | */ |
||
| 36 | 10 | protected function getUser() |
|
| 40 | |||
| 41 | abstract protected function config($string, $children = []); |
||
| 42 | } |
||
| 43 |