| 1 | <?php |
||
| 3 | class IndividualStatisticsController extends \BaseController { |
||
|
|
|||
| 4 | |||
| 5 | /** |
||
| 6 | * Display a listing of the resource. |
||
| 7 | * |
||
| 8 | * @return Response |
||
| 9 | */ |
||
| 10 | public function index() |
||
| 14 | |||
| 15 | |||
| 16 | /** |
||
| 17 | * Show the form for creating a new resource. |
||
| 18 | * |
||
| 19 | * @return Response |
||
| 20 | */ |
||
| 21 | public function create() |
||
| 25 | |||
| 26 | |||
| 27 | /** |
||
| 28 | * Store a newly created resource in storage. |
||
| 29 | * |
||
| 30 | * @return Response |
||
| 31 | */ |
||
| 32 | public function store() |
||
| 36 | |||
| 37 | |||
| 38 | /** |
||
| 39 | * Display the specified resource. |
||
| 40 | * |
||
| 41 | * @param int $id |
||
| 42 | * @return Response |
||
| 43 | */ |
||
| 44 | public function show($id) |
||
| 48 | |||
| 49 | |||
| 50 | /** |
||
| 51 | * Show the form for editing the specified resource. |
||
| 52 | * |
||
| 53 | * @param int $id |
||
| 54 | * @return Response |
||
| 55 | */ |
||
| 56 | public function edit($id) |
||
| 60 | |||
| 61 | |||
| 62 | /** |
||
| 63 | * Update the specified resource in storage. |
||
| 64 | * |
||
| 65 | * @param int $id |
||
| 66 | * @return Response |
||
| 67 | */ |
||
| 68 | public function update($id) |
||
| 72 | |||
| 73 | |||
| 74 | /** |
||
| 75 | * Remove the specified resource from storage. |
||
| 76 | * |
||
| 77 | * @param int $id |
||
| 78 | * @return Response |
||
| 79 | */ |
||
| 80 | public function destroy($id) |
||
| 84 | |||
| 85 | |||
| 86 | } |
||
| 87 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.