Skip to content

Commit eafef3c

Browse files
committed
router file for set route in application
1 parent fa6f053 commit eafef3c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

‎Router/Router.php

+9
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)