PlayController.php 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <?php
  2. namespace App\Http\Controllers\Api\V1\Mentality;
  3. use App\Http\Controllers\Controller;
  4. use Illuminate\Http\Request;
  5. use App\Facades\MentalityDrillFacade;
  6. class PlayController extends Controller
  7. {
  8. /**
  9. * Display a listing of the resource.
  10. *
  11. * @return \Illuminate\Http\Response
  12. */
  13. public function index()
  14. {
  15. //
  16. }
  17. /**
  18. * Store a newly created resource in storage.
  19. *
  20. * @param \Illuminate\Http\Request $request
  21. * @return \Illuminate\Http\Response
  22. */
  23. public function store(Request $request)
  24. {
  25. //
  26. }
  27. /**
  28. * Display the specified resource.
  29. *
  30. * @param int $id
  31. * @return \Illuminate\Http\Response
  32. */
  33. public function show($id)
  34. {
  35. $conditions = [
  36. 'id' => $id
  37. ];
  38. return MentalityDrillFacade::getDrillExtend($conditions, ['*']);
  39. }
  40. /**
  41. * Update the specified resource in storage.
  42. *
  43. * @param \Illuminate\Http\Request $request
  44. * @param int $id
  45. * @return \Illuminate\Http\Response
  46. */
  47. public function update(Request $request, $id)
  48. {
  49. //
  50. }
  51. /**
  52. * Remove the specified resource from storage.
  53. *
  54. * @param int $id
  55. * @return \Illuminate\Http\Response
  56. */
  57. public function destroy($id)
  58. {
  59. //
  60. }
  61. }