fabpot/Silex — Issue #235: twig.configure is not called with \Twig_Environment if using .phar
Author: tacker
Created: 2012-01-13 14:33:18+00:00
State: open

Catchable fatal error: Argument 1 passed to {closure}() must be an instance of Twig_Environment, instance of Silex\Application given, called in phar:///home/m/www/nowhere/vendor/silex.phar/vendor/pimple/lib/Pimple.php on line 69 and defined in /home/m/www/nowhere/htdocs/index.php on line 78

Call Stack:
0,0003 765960 1. {main}() /home/m/www/nowhere/htdocs/index.php:0
0,0026 1009728 2. Pimple->offsetGet() /home/m/www/nowhere/htdocs/index.php:83
0,0026 1009728 3. {closure}() phar:///home/m/www/nowhere/vendor/silex.phar/vendor/pimple/lib/Pimple.php:69
0,0026 1009808 4. Silex\Provider\{closure}() phar:///home/m/www/nowhere/vendor/silex.phar/vendor/pimple/lib/Pimple.php:108
0,0033 1166128 5. Pimple->offsetGet() phar:///home/m/www/nowhere/vendor/silex.phar/vendor/pimple/lib/Pimple.php:68
0,0033 1166128 6. {closure}() phar:///home/m/www/nowhere/vendor/silex.phar/vendor/pimple/lib/Pimple.php:69