Skip to content

Instantly share code, notes, and snippets.

@coreymcmahon
Created June 14, 2012 12:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coreymcmahon/2930011 to your computer and use it in GitHub Desktop.
Save coreymcmahon/2930011 to your computer and use it in GitHub Desktop.
Using the default implementation of HttpKernel\HttpKernel instead of our own framework code - http://www.symfonycentral.com
<?php
require_once __DIR__.'/../vendor/.composer/autoload.php';
use Symfony\Component\HttpKernel;
// ...
$framework = new Simplex\Framework($dispatcher, $resolver);
$response = $framework->handle($request);
$response->send();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment