1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- <?php
- namespace Goodquestiondev\Controllers;
- use Symfony\Component\HttpFoundation\Request;
- class Controller
- {
- /**
- * Display the articles index.
- */
- public function index()
- {
- throw new \Exception('Undefined method '. __FUNCTION__);
- }
- /**
- * Show the form for creating a new resource.
- */
- public function create()
- {
- throw new \Exception('Undefined method '. __FUNCTION__);
- }
- /**
- * Store a resource
- *
- * @param Request $request
- */
- public function store(Request $request)
- {
- throw new \Exception('Undefined method '. __FUNCTION__);
- }
- /**
- * Display the specified resource
- *
- * @param array $params
- */
- public function show($params)
- {
- throw new \Exception('Undefined method '. __FUNCTION__);
- }
- /**
- * Show the form for editing the specified article.
- *
- * @param array $params
- */
- public function edit($params)
- {
- throw new \Exception('Undefined method '. __FUNCTION__);
- }
- /**
- * Update a newly created resource
- *
- * @param Request $request
- * @param string $params
- */
- public function update(Request $request, array $params)
- {
- throw new \Exception('Undefined method '. __FUNCTION__);
- }
- /**
- * Delete the specified resource
- *
- * @param array $params
- */
- public function destroy($params)
- {
- throw new \Exception('Bad request');
- }
- /**
- * Handle bad method
- *
- * @param Request $request
- */
- public function error($request)
- {
- throw new \Exception('Bad request');
- }
- }
|