1 | <?php |
||
19 | class ProfilesController extends Controller |
||
20 | { |
||
21 | /** |
||
22 | * Array of sub-menu items. |
||
23 | * |
||
24 | * @var array |
||
25 | */ |
||
26 | protected $subMenu = []; |
||
27 | |||
28 | /** |
||
29 | * Creates a new project controller instance. |
||
30 | * |
||
31 | * @return void |
||
|
|||
32 | */ |
||
33 | public function __construct() |
||
97 | |||
98 | /** |
||
99 | * Display a listing of the resource. |
||
100 | * |
||
101 | * @return \Illuminate\Http\Response |
||
102 | */ |
||
103 | public function indexAction() |
||
111 | |||
112 | /** |
||
113 | * Show the form for creating a new resource. |
||
114 | * |
||
115 | * @return \Illuminate\Http\Response |
||
116 | */ |
||
117 | public function create() |
||
121 | |||
122 | /** |
||
123 | * Store a newly created resource in storage. |
||
124 | * |
||
125 | * @param \Illuminate\Http\Request $request |
||
126 | * @return \Illuminate\Http\Response |
||
127 | */ |
||
128 | public function store(Request $request) |
||
132 | |||
133 | /** |
||
134 | * Display the specified resource. |
||
135 | * |
||
136 | * @param int $id |
||
137 | * @return \Illuminate\Http\Response |
||
138 | */ |
||
139 | public function show($id) |
||
143 | |||
144 | /** |
||
145 | * Show the form for editing the specified resource. |
||
146 | * |
||
147 | * @param int $id |
||
148 | * @return \Illuminate\Http\Response |
||
149 | */ |
||
150 | public function edit($id) |
||
154 | |||
155 | /** |
||
156 | * Update the specified resource in storage. |
||
157 | * |
||
158 | * @param \Illuminate\Http\Request $request |
||
159 | * @param int $id |
||
160 | * @return \Illuminate\Http\Response |
||
161 | */ |
||
162 | public function update(Request $request, $id) |
||
166 | |||
167 | /** |
||
168 | * Remove the specified resource from storage. |
||
169 | * |
||
170 | * @param int $id |
||
171 | * @return \Illuminate\Http\Response |
||
172 | */ |
||
173 | public function destroy($id) |
||
177 | } |
||
178 |
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.