1 | <?php |
||
25 | abstract class Controller extends BaseController |
||
26 | { |
||
27 | use DispatchesCommands, ValidatesRequests; |
||
|
|||
28 | |||
29 | /** |
||
30 | * Current logged in user. |
||
31 | * |
||
32 | * @var Guard |
||
33 | */ |
||
34 | protected $auth; |
||
35 | |||
36 | /** |
||
37 | * Constructor, inject an instance of logged user. |
||
38 | * |
||
39 | * @param \Illuminate\Contracts\Auth\Guard $auth |
||
40 | */ |
||
41 | 55 | public function __construct(Guard $auth) |
|
42 | { |
||
43 | 55 | $this->auth = $auth; |
|
44 | 55 | } |
|
45 | |||
46 | protected function sidebarProjects() |
||
56 | } |
||
57 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.