fabpot/Silex — pull request #245 by brtriver (2012-01-24 18:02:44+00:00)
Title: fixed for the latest TwigFormExtension

Now TwigFormExtension requires CsrfProviderInterface as the first arg but there is no arg for this in TwigServiceProvider, so it occurs the error below:

> Catchable fatal error: Argument 1 passed to Symfony\Bridge\Twig\Extension\FormExtension::__construct() must implement interface Symfony\Component\Form\Extension\Csrf\CsrfProvider\CsrfProviderInterface, array given

then I set `$app['form.csrf_provider']` as the first arg.