Created
May 21, 2014 08:39
-
-
Save vijaycs85/4e1a5fe5cacb13852b82 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 | |
require_once __DIR__ . '/../vendor/autoload.php'; | |
$app = new Silex\Application(); | |
$app->get('/hello/{name}', function($name) use($app) { | |
return 'Hello '.$app->escape($name); | |
}); | |
$app->finish(function() { | |
sleep(20); | |
}); | |
$app->run(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment