| 1 | <?php |
||
| 5 | class MatchRoundController extends \BaseController { |
||
|
|
|||
| 6 | |||
| 7 | public function __construct(MatchRoundService $matchRound) |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Display a listing of the resource. |
||
| 14 | * |
||
| 15 | * @return Response |
||
| 16 | */ |
||
| 17 | public function index() |
||
| 21 | |||
| 22 | |||
| 23 | /** |
||
| 24 | * Show the form for creating a new resource. |
||
| 25 | * |
||
| 26 | * @return Response |
||
| 27 | */ |
||
| 28 | public function create() |
||
| 32 | |||
| 33 | |||
| 34 | /** |
||
| 35 | * Store a newly created resource in storage. |
||
| 36 | * |
||
| 37 | * @return Response |
||
| 38 | */ |
||
| 39 | public function store() |
||
| 43 | |||
| 44 | |||
| 45 | /** |
||
| 46 | * Display the specified resource. |
||
| 47 | * |
||
| 48 | * @param int $id |
||
| 49 | * @return Response |
||
| 50 | */ |
||
| 51 | public function show($id) |
||
| 60 | |||
| 61 | |||
| 62 | /** |
||
| 63 | * Show the form for editing the specified resource. |
||
| 64 | * |
||
| 65 | * @param int $id |
||
| 66 | * @return Response |
||
| 67 | */ |
||
| 68 | public function edit($id) |
||
| 72 | |||
| 73 | |||
| 74 | /** |
||
| 75 | * Update the specified resource in storage. |
||
| 76 | * |
||
| 77 | * @param int $id |
||
| 78 | * @return Response |
||
| 79 | */ |
||
| 80 | public function update($id) |
||
| 84 | |||
| 85 | |||
| 86 | /** |
||
| 87 | * Remove the specified resource from storage. |
||
| 88 | * |
||
| 89 | * @param int $id |
||
| 90 | * @return Response |
||
| 91 | */ |
||
| 92 | public function destroy($id) |
||
| 96 | |||
| 97 | |||
| 98 | } |
||
| 99 |
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.