<?php

namespace Estaty;

use Silex\Application as SilexApplication;

class Application extends SilexApplication {

    use SilexApplication\UrlGeneratorTrait;
}
<?php

namespace Estaty;

use Silex\Application as SilexApplication;

class Application extends SilexApplication {

    use SilexApplication\UrlGeneratorTrait;
    use SilexApplication\TwigTrait;
}

Use the TwigTrait for the application.
Use the TwigTrait for the application.

This allows to call `$app->render()` directly instead of:

    $app[twig]->render();
