Last active
August 29, 2015 14:16
-
-
Save hannesvdvreken/ba67f37e1823bba7d4ed to your computer and use it in GitHub Desktop.
proton script to test booboo integration
This file contains hidden or 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 | |
use Symfony\Component\HttpFoundation\Request; | |
use Symfony\Component\HttpFoundation\Response; | |
require 'vendor/autoload.php'; | |
$app = new Proton\Application(); | |
$app->get('/user/{username}', function (Request $request, Response $response, $args) { | |
throw new Exception('test'); | |
}); | |
$app->run(Request::create('/user/alexbilbie', 'GET')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment