This commit is contained in:
2021-09-18 11:39:28 +08:00
parent 9e790feeae
commit 12ecfecf3e
2 changed files with 12 additions and 5 deletions
+2
View File
@@ -17,6 +17,7 @@ class Router
* @param string $route
* @param string|Closure $closure
* @param array $options
* @throws \ReflectionException
*/
public function get(string $route, string|Closure $closure, array $options = [])
{
@@ -32,6 +33,7 @@ class Router
* @param string $route
* @param string|Closure $closure
* @param array $options
* @throws \ReflectionException
*/
public function post(string $route, string|Closure $closure, array $options = [])
{