1 parent fa6f053 commit eafef3cCopy full SHA for eafef3c
Router/Router.php
@@ -0,0 +1,9 @@
1
+<?php
2
+
3
+$router->get('/home', 'home@index');
4
5
+$router->post('/home', 'home@post');
6
7
+$router->get('/', function() {
8
+ echo 'Welcome ';
9
+});
0 commit comments