Skip to content

Instantly share code, notes, and snippets.

View uwej711's full-sized avatar

Uwe Jäger uwej711

  • Offenburg / Germany
View GitHub Profile

Keybase proof

I hereby claim:

  • I am uwej711 on github.
  • I am uj_valiton (https://keybase.io/uj_valiton) on keybase.
  • I have a public key ASDwG933eFTOallLsaYfnKaer8LQ_mhVsUDQJkc_4QaeEAo

To claim this, I am signing this object:

@uwej711
uwej711 / gist:5831888
Created June 21, 2013 15:15
Sample Filesystem-Browser for the TreeBrowserBundle
<?php
/**
* www.valiton.com
*
* @author Uwe Jäger <uwe.jaeger@valiton.com>
*/
namespace Valiton\FileBrowserBundle\Tree;
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\DependencyInjection\ContainerInterface;
@uwej711
uwej711 / EntityRouter.php
Created March 28, 2012 14:05
EntityRouter
<?php
use Symfony\Component\Routing\RouterInterface;
use Symfony\Component\Routing\RequestContext;
use Symfony\Component\Routing\RouteCollection;
use Symfony\Component\Routing\Exception\RouteNotFoundException;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
use Symfony\Component\Routing\Route;
use Symfony\Component\Routing\Generator\UrlGenerator;