<?php
 $router->match(['get', 'post'], 'doc', 'DocController@index'); $router->match(['get', 'post'], 'doc/add', 'DocController@add'); $router->match(['get', 'post'], 'doc/edit', 'DocController@edit'); $router->match(['get', 'post'], 'doc/delete', 'DocController@delete'); $router->match(['get', 'post'], 'doc/show', 'DocController@show'); 