Last active
October 17, 2016 13:05
-
-
Save victorknust/673bd6f8d7c691e67b006140b0f8cec6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$app->get('', | |
function ( ) { | |
echo 'Hello!'; | |
} | |
); | |
$app->get('user/{id}/profile', | |
function ( $id ) { | |
echo 'User: ' . $id; | |
} | |
); | |
$app->run(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment