Skip to content

Instantly share code, notes, and snippets.

@coreymcmahon
Created June 14, 2012 10:41
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/2929534 to your computer and use it in GitHub Desktop.
Save coreymcmahon/2929534 to your computer and use it in GitHub Desktop.
Using namespacing in the Simplex framework - http://www.symfonycentral.com
<?php
namespace Simplex;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Matcher\UrlMatcher;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\HttpKernel\Controller\ControllerResolver;
class Framework
{
// ... framework code in here
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment