1 | <?php |
||
8 | class ActivityController extends Controller |
||
9 | { |
||
10 | /** |
||
11 | * Display a listing of the resource. |
||
12 | * |
||
13 | * @return \Illuminate\Http\Response |
||
14 | */ |
||
15 | |||
16 | /** |
||
17 | * Array of sub-menu items. |
||
18 | * |
||
19 | * @var array |
||
20 | */ |
||
21 | protected $subMenu = []; |
||
22 | |||
23 | /** |
||
24 | * Creates a new activity controller instance. |
||
25 | * |
||
26 | * @return void |
||
|
|||
27 | */ |
||
28 | public function __construct() |
||
62 | |||
63 | public function index() |
||
74 | } |
||
75 |
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.