Sorien / silex-pimple-dumper

Pimple Container Dumper - Helper for https://github.com/Sorien/silex-idea-plugin
MIT License
36 stars 8 forks source link

Update PimpleDumpProvider.php #8

Closed cnkt closed 8 years ago

cnkt commented 8 years ago

it gives this error if we don't exclude $app['security']:

( ! ) Fatal error: Class 'Symfony\Component\Security\Core\SecurityContext' not found in /var/www/OptDoc/vendor/silex/silex/src/Silex/Provider/SecurityServiceProvider.php on line 91
Sorien commented 8 years ago

still relevant? ... i don't have any problem with security service

michaelmillar commented 8 years ago

You need to change $app['security'] to $app['security.token_storage']

from here http://silex.sensiolabs.org/doc/providers/security.html#defining-a-custom-authentication-provider