PageRenderTime 59ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/app/cache/prod/appProdProjectContainer.php

https://github.com/lenybernard/anakin
PHP | 994 lines | 994 code | 0 blank | 0 comment | 4 complexity | d7622c936c51096eca78b8aa5030f036 MD5 | raw file
  1. <?php
  2. use Symfony\Component\DependencyInjection\ContainerInterface;
  3. use Symfony\Component\DependencyInjection\Container;
  4. use Symfony\Component\DependencyInjection\Exception\InactiveScopeException;
  5. use Symfony\Component\DependencyInjection\Reference;
  6. use Symfony\Component\DependencyInjection\Parameter;
  7. use Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag;
  8. class appProdProjectContainer extends Container
  9. {
  10. public function __construct()
  11. {
  12. $this->parameters = $this->getDefaultParameters();
  13. $this->services =
  14. $this->scopedServices =
  15. $this->scopeStacks = array();
  16. $this->set('service_container', $this);
  17. $this->scopes = array('request' => 'container');
  18. $this->scopeChildren = array('request' => array());
  19. }
  20. protected function getAnnotationReaderService()
  21. {
  22. return $this->services['annotation_reader'] = new \Doctrine\Common\Annotations\FileCacheReader(new \Doctrine\Common\Annotations\AnnotationReader(), '/Users/lenybernard/Workspace/labo/anakin/app/cache/prod/annotations', false);
  23. }
  24. protected function getAssetic_AssetManagerService()
  25. {
  26. $a = $this->get('templating.loader');
  27. $this->services['assetic.asset_manager'] = $instance = new \Assetic\Factory\LazyAssetManager($this->get('assetic.asset_factory'), array('twig' => new \Assetic\Factory\Loader\CachedFormulaLoader(new \Assetic\Extension\Twig\TwigFormulaLoader($this->get('twig')), new \Assetic\Cache\ConfigCache('/Users/lenybernard/Workspace/labo/anakin/app/cache/prod/assetic/config'), false)));
  28. $instance->addResource(new \Symfony\Bundle\AsseticBundle\Factory\Resource\CoalescingDirectoryResource(array(0 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'FrameworkBundle', '/Users/lenybernard/Workspace/labo/anakin/app/Resources/FrameworkBundle/views', '/\\.[^.]+\\.twig$/'), 1 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'FrameworkBundle', '/Users/lenybernard/Workspace/labo/anakin/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/views', '/\\.[^.]+\\.twig$/'))), 'twig');
  29. $instance->addResource(new \Symfony\Bundle\AsseticBundle\Factory\Resource\CoalescingDirectoryResource(array(0 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'SecurityBundle', '/Users/lenybernard/Workspace/labo/anakin/app/Resources/SecurityBundle/views', '/\\.[^.]+\\.twig$/'), 1 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'SecurityBundle', '/Users/lenybernard/Workspace/labo/anakin/vendor/symfony/src/Symfony/Bundle/SecurityBundle/Resources/views', '/\\.[^.]+\\.twig$/'))), 'twig');
  30. $instance->addResource(new \Symfony\Bundle\AsseticBundle\Factory\Resource\CoalescingDirectoryResource(array(0 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'TwigBundle', '/Users/lenybernard/Workspace/labo/anakin/app/Resources/TwigBundle/views', '/\\.[^.]+\\.twig$/'), 1 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'TwigBundle', '/Users/lenybernard/Workspace/labo/anakin/vendor/symfony/src/Symfony/Bundle/TwigBundle/Resources/views', '/\\.[^.]+\\.twig$/'))), 'twig');
  31. $instance->addResource(new \Symfony\Bundle\AsseticBundle\Factory\Resource\CoalescingDirectoryResource(array(0 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'MonologBundle', '/Users/lenybernard/Workspace/labo/anakin/app/Resources/MonologBundle/views', '/\\.[^.]+\\.twig$/'), 1 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'MonologBundle', '/Users/lenybernard/Workspace/labo/anakin/vendor/symfony/src/Symfony/Bundle/MonologBundle/Resources/views', '/\\.[^.]+\\.twig$/'))), 'twig');
  32. $instance->addResource(new \Symfony\Bundle\AsseticBundle\Factory\Resource\CoalescingDirectoryResource(array(0 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'SwiftmailerBundle', '/Users/lenybernard/Workspace/labo/anakin/app/Resources/SwiftmailerBundle/views', '/\\.[^.]+\\.twig$/'), 1 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'SwiftmailerBundle', '/Users/lenybernard/Workspace/labo/anakin/vendor/symfony/src/Symfony/Bundle/SwiftmailerBundle/Resources/views', '/\\.[^.]+\\.twig$/'))), 'twig');
  33. $instance->addResource(new \Symfony\Bundle\AsseticBundle\Factory\Resource\CoalescingDirectoryResource(array(0 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'DoctrineBundle', '/Users/lenybernard/Workspace/labo/anakin/app/Resources/DoctrineBundle/views', '/\\.[^.]+\\.twig$/'), 1 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'DoctrineBundle', '/Users/lenybernard/Workspace/labo/anakin/vendor/symfony/src/Symfony/Bundle/DoctrineBundle/Resources/views', '/\\.[^.]+\\.twig$/'))), 'twig');
  34. $instance->addResource(new \Symfony\Bundle\AsseticBundle\Factory\Resource\CoalescingDirectoryResource(array(0 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'AsseticBundle', '/Users/lenybernard/Workspace/labo/anakin/app/Resources/AsseticBundle/views', '/\\.[^.]+\\.twig$/'), 1 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'AsseticBundle', '/Users/lenybernard/Workspace/labo/anakin/vendor/bundles/Symfony/Bundle/AsseticBundle/Resources/views', '/\\.[^.]+\\.twig$/'))), 'twig');
  35. $instance->addResource(new \Symfony\Bundle\AsseticBundle\Factory\Resource\CoalescingDirectoryResource(array(0 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'SensioFrameworkExtraBundle', '/Users/lenybernard/Workspace/labo/anakin/app/Resources/SensioFrameworkExtraBundle/views', '/\\.[^.]+\\.twig$/'), 1 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'SensioFrameworkExtraBundle', '/Users/lenybernard/Workspace/labo/anakin/vendor/bundles/Sensio/Bundle/FrameworkExtraBundle/Resources/views', '/\\.[^.]+\\.twig$/'))), 'twig');
  36. $instance->addResource(new \Symfony\Bundle\AsseticBundle\Factory\Resource\CoalescingDirectoryResource(array(0 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'JMSSecurityExtraBundle', '/Users/lenybernard/Workspace/labo/anakin/app/Resources/JMSSecurityExtraBundle/views', '/\\.[^.]+\\.twig$/'), 1 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'JMSSecurityExtraBundle', '/Users/lenybernard/Workspace/labo/anakin/vendor/bundles/JMS/SecurityExtraBundle/Resources/views', '/\\.[^.]+\\.twig$/'))), 'twig');
  37. $instance->addResource(new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, '', '/Users/lenybernard/Workspace/labo/anakin/app/Resources/views', '/\\.[^.]+\\.twig$/'), 'twig');
  38. return $instance;
  39. }
  40. protected function getAssetic_Filter_CssrewriteService()
  41. {
  42. return $this->services['assetic.filter.cssrewrite'] = new \Assetic\Filter\CssRewriteFilter();
  43. }
  44. protected function getAssetic_FilterManagerService()
  45. {
  46. return $this->services['assetic.filter_manager'] = new \Symfony\Bundle\AsseticBundle\FilterManager($this, array('cssrewrite' => 'assetic.filter.cssrewrite'));
  47. }
  48. protected function getCacheWarmerService()
  49. {
  50. $a = $this->get('kernel');
  51. $b = $this->get('templating.name_parser');
  52. $c = new \Symfony\Bundle\FrameworkBundle\CacheWarmer\TemplateFinder($a, $b, '/Users/lenybernard/Workspace/labo/anakin/app/Resources');
  53. return $this->services['cache_warmer'] = new \Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate(array(0 => new \Symfony\Bundle\FrameworkBundle\CacheWarmer\TemplatePathsCacheWarmer($c, $this->get('templating.locator')), 1 => new \Symfony\Bundle\AsseticBundle\CacheWarmer\AssetManagerCacheWarmer($this), 2 => new \Symfony\Bundle\FrameworkBundle\CacheWarmer\RouterCacheWarmer($this->get('router')), 3 => new \Symfony\Bundle\TwigBundle\CacheWarmer\TemplateCacheCacheWarmer($this, $c), 4 => new \Symfony\Bridge\Doctrine\CacheWarmer\ProxyCacheWarmer($this->get('doctrine')), 5 => new \Symfony\Bundle\AsseticBundle\CacheWarmer\AssetWriterCacheWarmer($this, new \Assetic\AssetWriter('/Users/lenybernard/Workspace/labo/anakin/app/../web'))));
  54. }
  55. protected function getDoctrineService()
  56. {
  57. return $this->services['doctrine'] = new \Symfony\Bundle\DoctrineBundle\Registry($this, array('default' => 'doctrine.dbal.default_connection'), array('default' => 'doctrine.orm.default_entity_manager'), 'default', 'default');
  58. }
  59. protected function getDoctrine_Dbal_ConnectionFactoryService()
  60. {
  61. return $this->services['doctrine.dbal.connection_factory'] = new \Symfony\Bundle\DoctrineBundle\ConnectionFactory(array());
  62. }
  63. protected function getDoctrine_Dbal_DefaultConnectionService()
  64. {
  65. $a = new \Doctrine\Common\EventManager();
  66. $a->addEventSubscriber(new \Doctrine\DBAL\Event\Listeners\MysqlSessionInit('UTF8'));
  67. return $this->services['doctrine.dbal.default_connection'] = $this->get('doctrine.dbal.connection_factory')->createConnection(array('dbname' => 'symfony', 'host' => 'localhost', 'port' => '', 'user' => 'root', 'password' => '', 'driver' => 'pdo_mysql', 'logging' => false, 'driverOptions' => array()), new \Doctrine\DBAL\Configuration(), $a, array());
  68. }
  69. protected function getDoctrine_Orm_DefaultEntityManagerService()
  70. {
  71. $a = new \Doctrine\Common\Cache\ArrayCache();
  72. $a->setNamespace('sf2orm_default_8a7f43e246fedd21bd746b5aff301dee');
  73. $b = new \Doctrine\Common\Cache\ArrayCache();
  74. $b->setNamespace('sf2orm_default_8a7f43e246fedd21bd746b5aff301dee');
  75. $c = new \Doctrine\Common\Cache\ArrayCache();
  76. $c->setNamespace('sf2orm_default_8a7f43e246fedd21bd746b5aff301dee');
  77. $d = new \Doctrine\ORM\Configuration();
  78. $d->setEntityNamespaces(array());
  79. $d->setMetadataCacheImpl($a);
  80. $d->setQueryCacheImpl($b);
  81. $d->setResultCacheImpl($c);
  82. $d->setMetadataDriverImpl(new \Doctrine\ORM\Mapping\Driver\DriverChain());
  83. $d->setProxyDir('/Users/lenybernard/Workspace/labo/anakin/app/cache/prod/doctrine/orm/Proxies');
  84. $d->setProxyNamespace('Proxies');
  85. $d->setAutoGenerateProxyClasses(false);
  86. $d->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
  87. return $this->services['doctrine.orm.default_entity_manager'] = call_user_func(array('Doctrine\\ORM\\EntityManager', 'create'), $this->get('doctrine.dbal.default_connection'), $d);
  88. }
  89. protected function getDoctrine_Orm_Validator_UniqueService()
  90. {
  91. return $this->services['doctrine.orm.validator.unique'] = new \Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntityValidator($this->get('doctrine'));
  92. }
  93. protected function getDoctrine_Orm_ValidatorInitializerService()
  94. {
  95. return $this->services['doctrine.orm.validator_initializer'] = new \Symfony\Bridge\Doctrine\Validator\EntityInitializer($this->get('doctrine'));
  96. }
  97. protected function getEventDispatcherService()
  98. {
  99. $this->services['event_dispatcher'] = $instance = new \Symfony\Bundle\FrameworkBundle\ContainerAwareEventDispatcher($this);
  100. $instance->addListenerService('kernel.request', array(0 => 'router_listener', 1 => 'onEarlyKernelRequest'), 255);
  101. $instance->addListenerService('kernel.request', array(0 => 'router_listener', 1 => 'onKernelRequest'), 0);
  102. $instance->addListenerService('kernel.response', array(0 => 'response_listener', 1 => 'onKernelResponse'), 0);
  103. $instance->addListenerService('kernel.request', array(0 => 'session_listener', 1 => 'onKernelRequest'), 128);
  104. $instance->addListenerService('kernel.request', array(0 => 'security.firewall', 1 => 'onKernelRequest'), 64);
  105. $instance->addListenerService('kernel.response', array(0 => 'security.rememberme.response_listener', 1 => 'onKernelResponse'), 0);
  106. $instance->addListenerService('kernel.exception', array(0 => 'twig.exception_listener', 1 => 'onKernelException'), -128);
  107. $instance->addListenerService('kernel.controller', array(0 => 'sensio_framework_extra.controller.listener', 1 => 'onKernelController'), 0);
  108. $instance->addListenerService('kernel.controller', array(0 => 'sensio_framework_extra.converter.listener', 1 => 'onKernelController'), 0);
  109. $instance->addListenerService('kernel.controller', array(0 => 'sensio_framework_extra.view.listener', 1 => 'onKernelController'), 0);
  110. $instance->addListenerService('kernel.view', array(0 => 'sensio_framework_extra.view.listener', 1 => 'onKernelView'), 0);
  111. $instance->addListenerService('kernel.response', array(0 => 'sensio_framework_extra.cache.listener', 1 => 'onKernelResponse'), 0);
  112. $instance->addListenerService('kernel.controller', array(0 => 'security.extra.controller_listener', 1 => 'onCoreController'), -255);
  113. return $instance;
  114. }
  115. protected function getFileLocatorService()
  116. {
  117. return $this->services['file_locator'] = new \Symfony\Component\HttpKernel\Config\FileLocator($this->get('kernel'), '/Users/lenybernard/Workspace/labo/anakin/app/Resources');
  118. }
  119. protected function getFilesystemService()
  120. {
  121. return $this->services['filesystem'] = new \Symfony\Component\Filesystem\Filesystem();
  122. }
  123. protected function getForm_CsrfProviderService()
  124. {
  125. return $this->services['form.csrf_provider'] = new \Symfony\Component\Form\Extension\Csrf\CsrfProvider\SessionCsrfProvider($this->get('session'), 'ThisTokenIsNotSoSecretChangeIt');
  126. }
  127. protected function getForm_FactoryService()
  128. {
  129. return $this->services['form.factory'] = new \Symfony\Component\Form\FormFactory(array(0 => new \Symfony\Component\Form\Extension\DependencyInjection\DependencyInjectionExtension($this, array('field' => 'form.type.field', 'form' => 'form.type.form', 'birthday' => 'form.type.birthday', 'checkbox' => 'form.type.checkbox', 'choice' => 'form.type.choice', 'collection' => 'form.type.collection', 'country' => 'form.type.country', 'date' => 'form.type.date', 'datetime' => 'form.type.datetime', 'email' => 'form.type.email', 'file' => 'form.type.file', 'hidden' => 'form.type.hidden', 'integer' => 'form.type.integer', 'language' => 'form.type.language', 'locale' => 'form.type.locale', 'money' => 'form.type.money', 'number' => 'form.type.number', 'password' => 'form.type.password', 'percent' => 'form.type.percent', 'radio' => 'form.type.radio', 'repeated' => 'form.type.repeated', 'search' => 'form.type.search', 'textarea' => 'form.type.textarea', 'text' => 'form.type.text', 'time' => 'form.type.time', 'timezone' => 'form.type.timezone', 'url' => 'form.type.url', 'csrf' => 'form.type.csrf', 'entity' => 'form.type.entity'), array('field' => array(0 => 'form.type_extension.field'), 'form' => array(0 => 'form.type_extension.csrf')), array(0 => 'form.type_guesser.validator', 1 => 'form.type_guesser.doctrine'))));
  130. }
  131. protected function getForm_Type_BirthdayService()
  132. {
  133. return $this->services['form.type.birthday'] = new \Symfony\Component\Form\Extension\Core\Type\BirthdayType();
  134. }
  135. protected function getForm_Type_CheckboxService()
  136. {
  137. return $this->services['form.type.checkbox'] = new \Symfony\Component\Form\Extension\Core\Type\CheckboxType();
  138. }
  139. protected function getForm_Type_ChoiceService()
  140. {
  141. return $this->services['form.type.choice'] = new \Symfony\Component\Form\Extension\Core\Type\ChoiceType();
  142. }
  143. protected function getForm_Type_CollectionService()
  144. {
  145. return $this->services['form.type.collection'] = new \Symfony\Component\Form\Extension\Core\Type\CollectionType();
  146. }
  147. protected function getForm_Type_CountryService()
  148. {
  149. return $this->services['form.type.country'] = new \Symfony\Component\Form\Extension\Core\Type\CountryType();
  150. }
  151. protected function getForm_Type_CsrfService()
  152. {
  153. return $this->services['form.type.csrf'] = new \Symfony\Component\Form\Extension\Csrf\Type\CsrfType($this->get('form.csrf_provider'));
  154. }
  155. protected function getForm_Type_DateService()
  156. {
  157. return $this->services['form.type.date'] = new \Symfony\Component\Form\Extension\Core\Type\DateType();
  158. }
  159. protected function getForm_Type_DatetimeService()
  160. {
  161. return $this->services['form.type.datetime'] = new \Symfony\Component\Form\Extension\Core\Type\DateTimeType();
  162. }
  163. protected function getForm_Type_EmailService()
  164. {
  165. return $this->services['form.type.email'] = new \Symfony\Component\Form\Extension\Core\Type\EmailType();
  166. }
  167. protected function getForm_Type_EntityService()
  168. {
  169. return $this->services['form.type.entity'] = new \Symfony\Bridge\Doctrine\Form\Type\EntityType($this->get('doctrine'));
  170. }
  171. protected function getForm_Type_FieldService()
  172. {
  173. return $this->services['form.type.field'] = new \Symfony\Component\Form\Extension\Core\Type\FieldType($this->get('validator'));
  174. }
  175. protected function getForm_Type_FileService()
  176. {
  177. return $this->services['form.type.file'] = new \Symfony\Component\Form\Extension\Core\Type\FileType();
  178. }
  179. protected function getForm_Type_FormService()
  180. {
  181. return $this->services['form.type.form'] = new \Symfony\Component\Form\Extension\Core\Type\FormType();
  182. }
  183. protected function getForm_Type_HiddenService()
  184. {
  185. return $this->services['form.type.hidden'] = new \Symfony\Component\Form\Extension\Core\Type\HiddenType();
  186. }
  187. protected function getForm_Type_IntegerService()
  188. {
  189. return $this->services['form.type.integer'] = new \Symfony\Component\Form\Extension\Core\Type\IntegerType();
  190. }
  191. protected function getForm_Type_LanguageService()
  192. {
  193. return $this->services['form.type.language'] = new \Symfony\Component\Form\Extension\Core\Type\LanguageType();
  194. }
  195. protected function getForm_Type_LocaleService()
  196. {
  197. return $this->services['form.type.locale'] = new \Symfony\Component\Form\Extension\Core\Type\LocaleType();
  198. }
  199. protected function getForm_Type_MoneyService()
  200. {
  201. return $this->services['form.type.money'] = new \Symfony\Component\Form\Extension\Core\Type\MoneyType();
  202. }
  203. protected function getForm_Type_NumberService()
  204. {
  205. return $this->services['form.type.number'] = new \Symfony\Component\Form\Extension\Core\Type\NumberType();
  206. }
  207. protected function getForm_Type_PasswordService()
  208. {
  209. return $this->services['form.type.password'] = new \Symfony\Component\Form\Extension\Core\Type\PasswordType();
  210. }
  211. protected function getForm_Type_PercentService()
  212. {
  213. return $this->services['form.type.percent'] = new \Symfony\Component\Form\Extension\Core\Type\PercentType();
  214. }
  215. protected function getForm_Type_RadioService()
  216. {
  217. return $this->services['form.type.radio'] = new \Symfony\Component\Form\Extension\Core\Type\RadioType();
  218. }
  219. protected function getForm_Type_RepeatedService()
  220. {
  221. return $this->services['form.type.repeated'] = new \Symfony\Component\Form\Extension\Core\Type\RepeatedType();
  222. }
  223. protected function getForm_Type_SearchService()
  224. {
  225. return $this->services['form.type.search'] = new \Symfony\Component\Form\Extension\Core\Type\SearchType();
  226. }
  227. protected function getForm_Type_TextService()
  228. {
  229. return $this->services['form.type.text'] = new \Symfony\Component\Form\Extension\Core\Type\TextType();
  230. }
  231. protected function getForm_Type_TextareaService()
  232. {
  233. return $this->services['form.type.textarea'] = new \Symfony\Component\Form\Extension\Core\Type\TextareaType();
  234. }
  235. protected function getForm_Type_TimeService()
  236. {
  237. return $this->services['form.type.time'] = new \Symfony\Component\Form\Extension\Core\Type\TimeType();
  238. }
  239. protected function getForm_Type_TimezoneService()
  240. {
  241. return $this->services['form.type.timezone'] = new \Symfony\Component\Form\Extension\Core\Type\TimezoneType();
  242. }
  243. protected function getForm_Type_UrlService()
  244. {
  245. return $this->services['form.type.url'] = new \Symfony\Component\Form\Extension\Core\Type\UrlType();
  246. }
  247. protected function getForm_TypeExtension_CsrfService()
  248. {
  249. return $this->services['form.type_extension.csrf'] = new \Symfony\Component\Form\Extension\Csrf\Type\FormTypeCsrfExtension(true, '_token');
  250. }
  251. protected function getForm_TypeExtension_FieldService()
  252. {
  253. return $this->services['form.type_extension.field'] = new \Symfony\Component\Form\Extension\Validator\Type\FieldTypeValidatorExtension($this->get('validator'));
  254. }
  255. protected function getForm_TypeGuesser_DoctrineService()
  256. {
  257. return $this->services['form.type_guesser.doctrine'] = new \Symfony\Bridge\Doctrine\Form\DoctrineOrmTypeGuesser($this->get('doctrine'));
  258. }
  259. protected function getForm_TypeGuesser_ValidatorService()
  260. {
  261. return $this->services['form.type_guesser.validator'] = new \Symfony\Component\Form\Extension\Validator\ValidatorTypeGuesser($this->get('validator.mapping.class_metadata_factory'));
  262. }
  263. protected function getHttpKernelService()
  264. {
  265. return $this->services['http_kernel'] = new \Symfony\Bundle\FrameworkBundle\HttpKernel($this->get('event_dispatcher'), $this, new \Symfony\Bundle\FrameworkBundle\Controller\ControllerResolver($this, $this->get('controller_name_converter'), $this->get('monolog.logger.request')));
  266. }
  267. protected function getKernelService()
  268. {
  269. throw new \RuntimeException('You have requested a synthetic service ("kernel"). The DIC does not know how to construct this service.');
  270. }
  271. protected function getLoggerService()
  272. {
  273. $this->services['logger'] = $instance = new \Symfony\Bridge\Monolog\Logger('app');
  274. $instance->pushHandler($this->get('monolog.handler.main'));
  275. return $instance;
  276. }
  277. protected function getMailerService()
  278. {
  279. return $this->services['mailer'] = new \Swift_Mailer($this->get('swiftmailer.transport'));
  280. }
  281. protected function getMonolog_Handler_MainService()
  282. {
  283. return $this->services['monolog.handler.main'] = new \Monolog\Handler\FingersCrossedHandler($this->get('monolog.handler.nested'), 400, 0, true, true);
  284. }
  285. protected function getMonolog_Handler_NestedService()
  286. {
  287. return $this->services['monolog.handler.nested'] = new \Monolog\Handler\StreamHandler('/Users/lenybernard/Workspace/labo/anakin/app/logs/prod.log', 100, true);
  288. }
  289. protected function getMonolog_Logger_DoctrineService()
  290. {
  291. $this->services['monolog.logger.doctrine'] = $instance = new \Symfony\Bridge\Monolog\Logger('doctrine');
  292. $instance->pushHandler($this->get('monolog.handler.main'));
  293. return $instance;
  294. }
  295. protected function getMonolog_Logger_RequestService()
  296. {
  297. $this->services['monolog.logger.request'] = $instance = new \Symfony\Bridge\Monolog\Logger('request');
  298. $instance->pushHandler($this->get('monolog.handler.main'));
  299. return $instance;
  300. }
  301. protected function getMonolog_Logger_RouterService()
  302. {
  303. $this->services['monolog.logger.router'] = $instance = new \Symfony\Bridge\Monolog\Logger('router');
  304. $instance->pushHandler($this->get('monolog.handler.main'));
  305. return $instance;
  306. }
  307. protected function getMonolog_Logger_SecurityService()
  308. {
  309. $this->services['monolog.logger.security'] = $instance = new \Symfony\Bridge\Monolog\Logger('security');
  310. $instance->pushHandler($this->get('monolog.handler.main'));
  311. return $instance;
  312. }
  313. protected function getRequestService()
  314. {
  315. if (!isset($this->scopedServices['request'])) {
  316. throw new InactiveScopeException('request', 'request');
  317. }
  318. throw new \RuntimeException('You have requested a synthetic service ("request"). The DIC does not know how to construct this service.');
  319. }
  320. protected function getResponseListenerService()
  321. {
  322. return $this->services['response_listener'] = new \Symfony\Component\HttpKernel\EventListener\ResponseListener('UTF-8');
  323. }
  324. protected function getRouterService()
  325. {
  326. return $this->services['router'] = new \Symfony\Bundle\FrameworkBundle\Routing\Router($this, '/Users/lenybernard/Workspace/labo/anakin/app/config/routing.yml', array('cache_dir' => '/Users/lenybernard/Workspace/labo/anakin/app/cache/prod', 'debug' => false, 'generator_class' => 'Symfony\\Component\\Routing\\Generator\\UrlGenerator', 'generator_base_class' => 'Symfony\\Component\\Routing\\Generator\\UrlGenerator', 'generator_dumper_class' => 'Symfony\\Component\\Routing\\Generator\\Dumper\\PhpGeneratorDumper', 'generator_cache_class' => 'appprodUrlGenerator', 'matcher_class' => 'Symfony\\Bundle\\FrameworkBundle\\Routing\\RedirectableUrlMatcher', 'matcher_base_class' => 'Symfony\\Bundle\\FrameworkBundle\\Routing\\RedirectableUrlMatcher', 'matcher_dumper_class' => 'Symfony\\Component\\Routing\\Matcher\\Dumper\\PhpMatcherDumper', 'matcher_cache_class' => 'appprodUrlMatcher'));
  327. }
  328. protected function getRouterListenerService()
  329. {
  330. return $this->services['router_listener'] = new \Symfony\Bundle\FrameworkBundle\EventListener\RouterListener($this->get('router'), 80, 443, $this->get('monolog.logger.request'));
  331. }
  332. protected function getRouting_LoaderService()
  333. {
  334. $a = $this->get('file_locator');
  335. $b = $this->get('annotation_reader');
  336. $c = new \Sensio\Bundle\FrameworkExtraBundle\Routing\AnnotatedRouteControllerLoader($b);
  337. $d = new \Symfony\Component\Config\Loader\LoaderResolver();
  338. $d->addLoader(new \Symfony\Component\Routing\Loader\XmlFileLoader($a));
  339. $d->addLoader(new \Symfony\Component\Routing\Loader\YamlFileLoader($a));
  340. $d->addLoader(new \Symfony\Component\Routing\Loader\PhpFileLoader($a));
  341. $d->addLoader(new \Symfony\Component\Routing\Loader\AnnotationDirectoryLoader($a, $c));
  342. $d->addLoader(new \Symfony\Component\Routing\Loader\AnnotationFileLoader($a, $c));
  343. $d->addLoader($c);
  344. return $this->services['routing.loader'] = new \Symfony\Bundle\FrameworkBundle\Routing\DelegatingLoader($this->get('controller_name_converter'), $this->get('monolog.logger.router'), $d);
  345. }
  346. protected function getSecurity_Access_MethodInterceptorService()
  347. {
  348. return $this->services['security.access.method_interceptor'] = new \JMS\SecurityExtraBundle\Security\Authorization\Interception\MethodSecurityInterceptor($this->get('security.context'), $this->get('security.authentication.manager'), $this->get('security.access.decision_manager'), new \JMS\SecurityExtraBundle\Security\Authorization\AfterInvocation\AfterInvocationManager(array()), new \JMS\SecurityExtraBundle\Security\Authorization\RunAsManager('RunAsToken', 'ROLE_'), $this->get('logger'));
  349. }
  350. protected function getSecurity_ContextService()
  351. {
  352. return $this->services['security.context'] = new \Symfony\Component\Security\Core\SecurityContext($this->get('security.authentication.manager'), $this->get('security.access.decision_manager'), false);
  353. }
  354. protected function getSecurity_EncoderFactoryService()
  355. {
  356. return $this->services['security.encoder_factory'] = new \Symfony\Component\Security\Core\Encoder\EncoderFactory(array('Symfony\\Component\\Security\\Core\\User\\User' => array('class' => 'Symfony\\Component\\Security\\Core\\Encoder\\PlaintextPasswordEncoder', 'arguments' => array(0 => false))));
  357. }
  358. protected function getSecurity_Extra_ControllerListenerService()
  359. {
  360. return $this->services['security.extra.controller_listener'] = new \JMS\SecurityExtraBundle\Controller\ControllerListener($this, $this->get('annotation_reader'));
  361. }
  362. protected function getSecurity_FirewallService()
  363. {
  364. return $this->services['security.firewall'] = new \Symfony\Component\Security\Http\Firewall(new \Symfony\Bundle\SecurityBundle\Security\FirewallMap($this, array('security.firewall.map.context.dev' => new \Symfony\Component\HttpFoundation\RequestMatcher('^/(_(profiler|wdt)|css|images|js)/'), 'security.firewall.map.context.login' => new \Symfony\Component\HttpFoundation\RequestMatcher('^/demo/secured/login$'), 'security.firewall.map.context.secured_area' => new \Symfony\Component\HttpFoundation\RequestMatcher('^/demo/secured/'))), $this->get('event_dispatcher'));
  365. }
  366. protected function getSecurity_Firewall_Map_Context_DevService()
  367. {
  368. return $this->services['security.firewall.map.context.dev'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(), NULL);
  369. }
  370. protected function getSecurity_Firewall_Map_Context_LoginService()
  371. {
  372. return $this->services['security.firewall.map.context.login'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(), NULL);
  373. }
  374. protected function getSecurity_Firewall_Map_Context_SecuredAreaService()
  375. {
  376. $a = $this->get('monolog.logger.security');
  377. $b = $this->get('security.context');
  378. $c = $this->get('event_dispatcher');
  379. $d = $this->get('router');
  380. $e = $this->get('security.authentication.manager');
  381. $f = new \Symfony\Component\Security\Http\AccessMap();
  382. $g = new \Symfony\Component\Security\Http\HttpUtils($d);
  383. $h = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $g, '/demo/secured/logout', '/demo/', NULL);
  384. $h->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
  385. return $this->services['security.firewall.map.context.secured_area'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($f, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(80, 443), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($b, array(0 => $this->get('security.user.provider.concrete.in_memory')), 'secured_area', $a, $c), 2 => $h, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $e, new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate'), $g, 'secured_area', array('check_path' => '/demo/secured/login_check', 'login_path' => '/demo/secured/login', 'use_forward' => false, 'always_use_default_target_path' => false, 'default_target_path' => '/', 'target_path_parameter' => '_target_path', 'use_referer' => false, 'failure_path' => NULL, 'failure_forward' => false, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), NULL, NULL, $a, $c), 4 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $f, $e, $a)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $g, new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($this->get('http_kernel'), $g, '/demo/secured/login', false), NULL, NULL, $a));
  386. }
  387. protected function getSecurity_Rememberme_ResponseListenerService()
  388. {
  389. return $this->services['security.rememberme.response_listener'] = new \Symfony\Bundle\SecurityBundle\EventListener\ResponseListener();
  390. }
  391. protected function getSensioFrameworkExtra_Cache_ListenerService()
  392. {
  393. return $this->services['sensio_framework_extra.cache.listener'] = new \Sensio\Bundle\FrameworkExtraBundle\EventListener\CacheListener();
  394. }
  395. protected function getSensioFrameworkExtra_Controller_ListenerService()
  396. {
  397. return $this->services['sensio_framework_extra.controller.listener'] = new \Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener($this->get('annotation_reader'));
  398. }
  399. protected function getSensioFrameworkExtra_Converter_Doctrine_OrmService()
  400. {
  401. return $this->services['sensio_framework_extra.converter.doctrine.orm'] = new \Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter($this->get('doctrine'));
  402. }
  403. protected function getSensioFrameworkExtra_Converter_ListenerService()
  404. {
  405. return $this->services['sensio_framework_extra.converter.listener'] = new \Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener($this->get('sensio_framework_extra.converter.manager'));
  406. }
  407. protected function getSensioFrameworkExtra_Converter_ManagerService()
  408. {
  409. $this->services['sensio_framework_extra.converter.manager'] = $instance = new \Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterManager();
  410. $instance->add($this->get('sensio_framework_extra.converter.doctrine.orm'), 0);
  411. return $instance;
  412. }
  413. protected function getSensioFrameworkExtra_View_ListenerService()
  414. {
  415. return $this->services['sensio_framework_extra.view.listener'] = new \Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener($this);
  416. }
  417. protected function getServiceContainerService()
  418. {
  419. throw new \RuntimeException('You have requested a synthetic service ("service_container"). The DIC does not know how to construct this service.');
  420. }
  421. protected function getSessionService()
  422. {
  423. return $this->services['session'] = new \Symfony\Component\HttpFoundation\Session($this->get('session.storage'), 'en');
  424. }
  425. protected function getSession_StorageService()
  426. {
  427. return $this->services['session.storage'] = new \Symfony\Component\HttpFoundation\SessionStorage\NativeSessionStorage(array());
  428. }
  429. protected function getSessionListenerService()
  430. {
  431. return $this->services['session_listener'] = new \Symfony\Bundle\FrameworkBundle\EventListener\SessionListener($this, true);
  432. }
  433. protected function getSwiftmailer_Plugin_MessageloggerService()
  434. {
  435. return $this->services['swiftmailer.plugin.messagelogger'] = new \Symfony\Bundle\SwiftmailerBundle\Logger\MessageLogger();
  436. }
  437. protected function getSwiftmailer_TransportService()
  438. {
  439. $this->services['swiftmailer.transport'] = $instance = new \Swift_Transport_EsmtpTransport(new \Swift_Transport_StreamBuffer(new \Swift_StreamFilters_StringReplacementFilterFactory()), array(0 => new \Swift_Transport_Esmtp_AuthHandler(array(0 => new \Swift_Transport_Esmtp_Auth_CramMd5Authenticator(), 1 => new \Swift_Transport_Esmtp_Auth_LoginAuthenticator(), 2 => new \Swift_Transport_Esmtp_Auth_PlainAuthenticator()))), new \Swift_Events_SimpleEventDispatcher());
  440. $instance->setHost('localhost');
  441. $instance->setPort(25);
  442. $instance->setEncryption(NULL);
  443. $instance->setUsername('');
  444. $instance->setPassword('');
  445. $instance->setAuthMode(NULL);
  446. return $instance;
  447. }
  448. protected function getTemplatingService()
  449. {
  450. return $this->services['templating'] = new \Symfony\Bundle\TwigBundle\TwigEngine($this->get('twig'), $this->get('templating.name_parser'), $this->get('templating.globals'));
  451. }
  452. protected function getTemplating_Asset_PackageFactoryService()
  453. {
  454. return $this->services['templating.asset.package_factory'] = new \Symfony\Bundle\FrameworkBundle\Templating\Asset\PackageFactory($this);
  455. }
  456. protected function getTemplating_GlobalsService()
  457. {
  458. return $this->services['templating.globals'] = new \Symfony\Bundle\FrameworkBundle\Templating\GlobalVariables($this);
  459. }
  460. protected function getTemplating_Helper_ActionsService()
  461. {
  462. return $this->services['templating.helper.actions'] = new \Symfony\Bundle\FrameworkBundle\Templating\Helper\ActionsHelper($this->get('http_kernel'));
  463. }
  464. protected function getTemplating_Helper_AssetsService()
  465. {
  466. if (!isset($this->scopedServices['request'])) {
  467. throw new InactiveScopeException('templating.helper.assets', 'request');
  468. }
  469. return $this->services['templating.helper.assets'] = $this->scopedServices['request']['templating.helper.assets'] = new \Symfony\Component\Templating\Helper\CoreAssetsHelper(new \Symfony\Bundle\FrameworkBundle\Templating\Asset\PathPackage($this->get('request'), NULL, NULL), array());
  470. }
  471. protected function getTemplating_Helper_CodeService()
  472. {
  473. return $this->services['templating.helper.code'] = new \Symfony\Bundle\FrameworkBundle\Templating\Helper\CodeHelper(NULL, '/Users/lenybernard/Workspace/labo/anakin/app', 'UTF-8');
  474. }
  475. protected function getTemplating_Helper_FormService()
  476. {
  477. $a = new \Symfony\Bundle\FrameworkBundle\Templating\PhpEngine($this->get('templating.name_parser'), $this, $this->get('templating.loader'), $this->get('templating.globals'));
  478. $a->setCharset('UTF-8');
  479. $a->setHelpers(array('slots' => 'templating.helper.slots', 'assets' => 'templating.helper.assets', 'request' => 'templating.helper.request', 'session' => 'templating.helper.session', 'router' => 'templating.helper.router', 'actions' => 'templating.helper.actions', 'code' => 'templating.helper.code', 'translator' => 'templating.helper.translator', 'form' => 'templating.helper.form', 'security' => 'templating.helper.security', 'assetic' => 'assetic.helper.static'));
  480. return $this->services['templating.helper.form'] = new \Symfony\Bundle\FrameworkBundle\Templating\Helper\FormHelper($a, array(0 => 'FrameworkBundle:Form'));
  481. }
  482. protected function getTemplating_Helper_RequestService()
  483. {
  484. return $this->services['templating.helper.request'] = new \Symfony\Bundle\FrameworkBundle\Templating\Helper\RequestHelper($this->get('request'));
  485. }
  486. protected function getTemplating_Helper_RouterService()
  487. {
  488. return $this->services['templating.helper.router'] = new \Symfony\Bundle\FrameworkBundle\Templating\Helper\RouterHelper($this->get('router'));
  489. }
  490. protected function getTemplating_Helper_SecurityService()
  491. {
  492. return $this->services['templating.helper.security'] = new \Symfony\Bundle\SecurityBundle\Templating\Helper\SecurityHelper($this->get('security.context'));
  493. }
  494. protected function getTemplating_Helper_SessionService()
  495. {
  496. return $this->services['templating.helper.session'] = new \Symfony\Bundle\FrameworkBundle\Templating\Helper\SessionHelper($this->get('request'));
  497. }
  498. protected function getTemplating_Helper_SlotsService()
  499. {
  500. return $this->services['templating.helper.slots'] = new \Symfony\Component\Templating\Helper\SlotsHelper();
  501. }
  502. protected function getTemplating_Helper_TranslatorService()
  503. {
  504. return $this->services['templating.helper.translator'] = new \Symfony\Bundle\FrameworkBundle\Templating\Helper\TranslatorHelper($this->get('translator'));
  505. }
  506. protected function getTemplating_LoaderService()
  507. {
  508. return $this->services['templating.loader'] = new \Symfony\Bundle\FrameworkBundle\Templating\Loader\FilesystemLoader($this->get('templating.locator'));
  509. }
  510. protected function getTemplating_NameParserService()
  511. {
  512. return $this->services['templating.name_parser'] = new \Symfony\Bundle\FrameworkBundle\Templating\TemplateNameParser($this->get('kernel'));
  513. }
  514. protected function getTranslation_Loader_PhpService()
  515. {
  516. return $this->services['translation.loader.php'] = new \Symfony\Component\Translation\Loader\PhpFileLoader();
  517. }
  518. protected function getTranslation_Loader_XliffService()
  519. {
  520. return $this->services['translation.loader.xliff'] = new \Symfony\Component\Translation\Loader\XliffFileLoader();
  521. }
  522. protected function getTranslation_Loader_YmlService()
  523. {
  524. return $this->services['translation.loader.yml'] = new \Symfony\Component\Translation\Loader\YamlFileLoader();
  525. }
  526. protected function getTranslatorService()
  527. {
  528. return $this->services['translator'] = new \Symfony\Component\Translation\IdentityTranslator($this->get('translator.selector'));
  529. }
  530. protected function getTranslator_DefaultService()
  531. {
  532. return $this->services['translator.default'] = new \Symfony\Bundle\FrameworkBundle\Translation\Translator($this, $this->get('translator.selector'), array('translation.loader.php' => 'php', 'translation.loader.yml' => 'yml', 'translation.loader.xliff' => 'xliff'), array('cache_dir' => '/Users/lenybernard/Workspace/labo/anakin/app/cache/prod/translations', 'debug' => false), $this->get('session'));
  533. }
  534. protected function getTwigService()
  535. {
  536. $this->services['twig'] = $instance = new \Twig_Environment($this->get('twig.loader'), array('debug' => false, 'strict_variables' => false, 'exception_controller' => 'Symfony\\Bundle\\TwigBundle\\Controller\\ExceptionController::showAction', 'cache' => '/Users/lenybernard/Workspace/labo/anakin/app/cache/prod/twig', 'charset' => 'UTF-8'));
  537. $instance->addExtension(new \Symfony\Bundle\SecurityBundle\Twig\Extension\SecurityExtension($this->get('security.context')));
  538. $instance->addExtension(new \Symfony\Bridge\Twig\Extension\TranslationExtension($this->get('translator')));
  539. $instance->addExtension(new \Symfony\Bundle\TwigBundle\Extension\AssetsExtension($this));
  540. $instance->addExtension(new \Symfony\Bundle\TwigBundle\Extension\ActionsExtension($this));
  541. $instance->addExtension(new \Symfony\Bundle\TwigBundle\Extension\CodeExtension($this));
  542. $instance->addExtension(new \Symfony\Bridge\Twig\Extension\RoutingExtension($this->get('router')));
  543. $instance->addExtension(new \Symfony\Bridge\Twig\Extension\YamlExtension());
  544. $instance->addExtension(new \Symfony\Bridge\Twig\Extension\FormExtension(array(0 => 'form_div_layout.html.twig')));
  545. $instance->addExtension(new \Symfony\Bundle\AsseticBundle\Twig\AsseticExtension($this->get('assetic.asset_factory'), false, array()));
  546. return $instance;
  547. }
  548. protected function getTwig_ExceptionListenerService()
  549. {
  550. return $this->services['twig.exception_listener'] = new \Symfony\Component\HttpKernel\EventListener\ExceptionListener('Symfony\\Bundle\\TwigBundle\\Controller\\ExceptionController::showAction', $this->get('monolog.logger.request'));
  551. }
  552. protected function getTwig_LoaderService()
  553. {
  554. $this->services['twig.loader'] = $instance = new \Symfony\Bundle\TwigBundle\Loader\FilesystemLoader($this->get('templating.locator'), $this->get('templating.name_parser'));
  555. $instance->addPath('/Users/lenybernard/Workspace/labo/anakin/vendor/symfony/src/Symfony/Bridge/Twig/Resources/views/Form');
  556. return $instance;
  557. }
  558. protected function getValidatorService()
  559. {
  560. return $this->services['validator'] = new \Symfony\Component\Validator\Validator($this->get('validator.mapping.class_metadata_factory'), new \Symfony\Bundle\FrameworkBundle\Validator\ConstraintValidatorFactory($this, array('doctrine.orm.validator.unique' => 'doctrine.orm.validator.unique')), array(0 => $this->get('doctrine.orm.validator_initializer')));
  561. }
  562. protected function getDatabaseConnectionService()
  563. {
  564. return $this->get('doctrine.dbal.default_connection');
  565. }
  566. protected function getDoctrine_Orm_EntityManagerService()
  567. {
  568. return $this->get('doctrine.orm.default_entity_manager');
  569. }
  570. protected function getAssetic_AssetFactoryService()
  571. {
  572. return $this->services['assetic.asset_factory'] = new \Symfony\Bundle\AsseticBundle\Factory\AssetFactory($this->get('kernel'), $this, new \Symfony\Component\DependencyInjection\ParameterBag\ParameterBag($this->getDefaultParameters()), '/Users/lenybernard/Workspace/labo/anakin/app/../web', false);
  573. }
  574. protected function getControllerNameConverterService()
  575. {
  576. return $this->services['controller_name_converter'] = new \Symfony\Bundle\FrameworkBundle\Controller\ControllerNameParser($this->get('kernel'));
  577. }
  578. protected function getSecurity_Access_DecisionManagerService()
  579. {
  580. return $this->services['security.access.decision_manager'] = new \Symfony\Component\Security\Core\Authorization\AccessDecisionManager(array(0 => new \Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter(new \Symfony\Component\Security\Core\Role\RoleHierarchy(array('ROLE_ADMIN' => array(0 => 'ROLE_USER'), 'ROLE_SUPER_ADMIN' => array(0 => 'ROLE_USER', 1 => 'ROLE_ADMIN', 2 => 'ROLE_ALLOWED_TO_SWITCH')))), 1 => new \Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter($this->get('security.authentication.trust_resolver'))), 'affirmative', false, true);
  581. }
  582. protected function getSecurity_Authentication_ManagerService()
  583. {
  584. return $this->services['security.authentication.manager'] = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($this->get('security.user.provider.concrete.in_memory'), new \Symfony\Component\Security\Core\User\UserChecker(), 'secured_area', $this->get('security.encoder_factory'), true)));
  585. }
  586. protected function getSecurity_Authentication_TrustResolverService()
  587. {
  588. return $this->services['security.authentication.trust_resolver'] = new \Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver('Symfony\\Component\\Security\\Core\\Authentication\\Token\\AnonymousToken', 'Symfony\\Component\\Security\\Core\\Authentication\\Token\\RememberMeToken');
  589. }
  590. protected function getSecurity_User_Provider_Concrete_InMemoryService()
  591. {
  592. $this->services['security.user.provider.concrete.in_memory'] = $instance = new \Symfony\Component\Security\Core\User\InMemoryUserProvider();
  593. $instance->createUser(new \Symfony\Component\Security\Core\User\User('user', 'userpass', array(0 => 'ROLE_USER')));
  594. $instance->createUser(new \Symfony\Component\Security\Core\User\User('admin', 'adminpass', array(0 => 'ROLE_ADMIN')));
  595. return $instance;
  596. }
  597. protected function getTemplating_LocatorService()
  598. {
  599. return $this->services['templating.locator'] = new \Symfony\Bundle\FrameworkBundle\Templating\Loader\TemplateLocator($this->get('file_locator'), '/Users/lenybernard/Workspace/labo/anakin/app/cache/prod');
  600. }
  601. protected function getTranslator_SelectorService()
  602. {
  603. return $this->services['translator.selector'] = new \Symfony\Component\Translation\MessageSelector();
  604. }
  605. protected function getValidator_Mapping_ClassMetadataFactoryService()
  606. {
  607. return $this->services['validator.mapping.class_metadata_factory'] = new \Symfony\Component\Validator\Mapping\ClassMetadataFactory(new \Symfony\Component\Validator\Mapping\Loader\LoaderChain(array(0 => new \Symfony\Component\Validator\Mapping\Loader\AnnotationLoader($this->get('annotation_reader')), 1 => new \Symfony\Component\Validator\Mapping\Loader\StaticMethodLoader(), 2 => new \Symfony\Component\Validator\Mapping\Loader\XmlFilesLoader(array(0 => '/Users/lenybernard/Workspace/labo/anakin/vendor/symfony/src/Symfony/Component/Form/Resources/config/validation.xml')), 3 => new \Symfony\Component\Validator\Mapping\Loader\YamlFilesLoader(array()))), NULL);
  608. }
  609. public function getParameter($name)
  610. {
  611. $name = strtolower($name);
  612. if (!array_key_exists($name, $this->parameters)) {
  613. throw new \InvalidArgumentException(sprintf('The parameter "%s" must be defined.', $name));
  614. }
  615. return $this->parameters[$name];
  616. }
  617. public function hasParameter($name)
  618. {
  619. return array_key_exists(strtolower($name), $this->parameters);
  620. }
  621. public function setParameter($name, $value)
  622. {
  623. throw new \LogicException('Impossible to call set() on a frozen ParameterBag.');
  624. }
  625. public function getParameterBag()
  626. {
  627. if (null === $this->parameterBag) {
  628. $this->parameterBag = new FrozenParameterBag($this->parameters);
  629. }
  630. return $this->parameterBag;
  631. }
  632. protected function getDefaultParameters()
  633. {
  634. return array(
  635. 'kernel.root_dir' => '/Users/lenybernard/Workspace/labo/anakin/app',
  636. 'kernel.environment' => 'prod',
  637. 'kernel.debug' => false,
  638. 'kernel.name' => 'app',
  639. 'kernel.cache_dir' => '/Users/lenybernard/Workspace/labo/anakin/app/cache/prod',
  640. 'kernel.logs_dir' => '/Users/lenybernard/Workspace/labo/anakin/app/logs',
  641. 'kernel.bundles' => array(
  642. 'FrameworkBundle' => 'Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle',
  643. 'SecurityBundle' => 'Symfony\\Bundle\\SecurityBundle\\SecurityBundle',
  644. 'TwigBundle' => 'Symfony\\Bundle\\TwigBundle\\TwigBundle',
  645. 'MonologBundle' => 'Symfony\\Bundle\\MonologBundle\\MonologBundle',
  646. 'SwiftmailerBundle' => 'Symfony\\Bundle\\SwiftmailerBundle\\SwiftmailerBundle',
  647. 'DoctrineBundle' => 'Symfony\\Bundle\\DoctrineBundle\\DoctrineBundle',
  648. 'AsseticBundle' => 'Symfony\\Bundle\\AsseticBundle\\AsseticBundle',
  649. 'SensioFrameworkExtraBundle' => 'Sensio\\Bundle\\FrameworkExtraBundle\\SensioFrameworkExtraBundle',
  650. 'JMSSecurityExtraBundle' => 'JMS\\SecurityExtraBundle\\JMSSecurityExtraBundle',
  651. ),
  652. 'kernel.charset' => 'UTF-8',
  653. 'kernel.container_class' => 'appProdProjectContainer',
  654. 'database_driver' => 'pdo_mysql',
  655. 'database_host' => 'localhost',
  656. 'database_port' => '',
  657. 'database_name' => 'symfony',
  658. 'database_user' => 'root',
  659. 'database_password' => '',
  660. 'mailer_transport' => 'smtp',
  661. 'mailer_host' => 'localhost',
  662. 'mailer_user' => '',
  663. 'mailer_password' => '',
  664. 'locale' => 'en',
  665. 'secret' => 'ThisTokenIsNotSoSecretChangeIt',
  666. 'router_listener.class' => 'Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener',
  667. 'controller_resolver.class' => 'Symfony\\Bundle\\FrameworkBundle\\Controller\\ControllerResolver',
  668. 'controller_name_converter.class' => 'Symfony\\Bundle\\FrameworkBundle\\Controller\\ControllerNameParser',
  669. 'response_listener.class' => 'Symfony\\Component\\HttpKernel\\EventListener\\ResponseListener',
  670. 'event_dispatcher.class' => 'Symfony\\Bundle\\FrameworkBundle\\ContainerAwareEventDispatcher',
  671. 'http_kernel.class' => 'Symfony\\Bundle\\FrameworkBundle\\HttpKernel',
  672. 'filesystem.class' => 'Symfony\\Component\\Filesystem\\Filesystem',
  673. 'cache_warmer.class' => 'Symfony\\Component\\HttpKernel\\CacheWarmer\\CacheWarmerAggregate',
  674. 'file_locator.class' => 'Symfony\\Component\\HttpKernel\\Config\\FileLocator',
  675. 'translator.class' => 'Symfony\\Bundle\\FrameworkBundle\\Translation\\Translator',
  676. 'translator.identity.class' => 'Symfony\\Component\\Translation\\IdentityTranslator',
  677. 'translator.selector.class' => 'Symfony\\Component\\Translation\\MessageSelector',
  678. 'translation.loader.php.class' => 'Symfony\\Component\\Translation\\Loader\\PhpFileLoader',
  679. 'translation.loader.yml.class' => 'Symfony\\Component\\Translation\\Loader\\YamlFileLoader',
  680. 'translation.loader.xliff.class' => 'Symfony\\Component\\Translation\\Loader\\XliffFileLoader',
  681. 'kernel.secret' => 'ThisTokenIsNotSoSecretChangeIt',
  682. 'kernel.trust_proxy_headers' => false,
  683. 'session.class' => 'Symfony\\Component\\HttpFoundation\\Session',
  684. 'session.storage.native.class' => 'Symfony\\Component\\HttpFoundation\\SessionStorage\\NativeSessionStorage',
  685. 'session.storage.filesystem.class' => 'Symfony\\Component\\HttpFoundation\\SessionStorage\\FilesystemSessionStorage',
  686. 'session_listener.class' => 'Symfony\\Bundle\\FrameworkBundle\\EventListener\\SessionListener',
  687. 'session.default_locale' => 'en',
  688. 'session.storage.options' => array(
  689. ),
  690. 'form.extension.class' => 'Symfony\\Component\\Form\\Extension\\DependencyInjection\\DependencyInjectionExtension',
  691. 'form.factory.class' => 'Symfony\\Component\\Form\\FormFactory',
  692. 'form.type_guesser.validator.class' => 'Symfony\\Component\\Form\\Extension\\Validator\\ValidatorTypeGuesser',
  693. 'form.csrf_provider.class' => 'Symfony\\Component\\Form\\Extension\\Csrf\\CsrfProvider\\SessionCsrfProvider',
  694. 'form.type_extension.csrf.enabled' => true,
  695. 'form.type_extension.csrf.field_name' => '_token',
  696. 'validator.class' => 'Symfony\\Component\\Validator\\Validator',
  697. 'validator.mapping.class_metadata_factory.class' => 'Symfony\\Component\\Validator\\Mapping\\ClassMetadataFactory',
  698. 'validator.mapping.cache.apc.class' => 'Symfony\\Component\\Validator\\Mapping\\Cache\\ApcCache',
  699. 'validator.mapping.cache.prefix' => '',
  700. 'validator.mapping.loader.loader_chain.class' => 'Symfony\\Component\\Validator\\Mapping\\Loader\\LoaderChain',
  701. 'validator.mapping.loader.static_method_loader.class' => 'Symfony\\Component\\Validator\\Mapping\\Loader\\StaticMethodLoader',
  702. 'validator.mapping.loader.annotation_loader.class' => 'Symfony\\Component\\Validator\\Mapping\\Loader\\AnnotationLoader',
  703. 'validator.mapping.loader.xml_files_loader.class' => 'Symfony\\Component\\Validator\\Mapping\\Loader\\XmlFilesLoader',
  704. 'validator.mapping.loader.yaml_files_loader.class' => 'Symfony\\Component\\Validator\\Mapping\\Loader\\YamlFilesLoader',
  705. 'validator.validator_factory.class' => 'Symfony\\Bundle\\FrameworkBundle\\Validator\\ConstraintValidatorFactory',
  706. 'validator.mapping.loader.xml_files_loader.mapping_files' => array(
  707. 0 => '/Users/lenybernard/Workspace/labo/anakin/vendor/symfony/src/Symfony/Component/Form/Resources/config/validation.xml',
  708. ),
  709. 'validator.mapping.loader.yaml_files_loader.mapping_files' => array(
  710. ),
  711. 'router.class' => 'Symfony\\Bundle\\FrameworkBundle\\Routing\\Router',
  712. 'routing.loader.class' => 'Symfony\\Bundle\\FrameworkBundle\\Routing\\DelegatingLoader',
  713. 'routing.resolver.class' => 'Symfony\\Component\\Config\\Loader\\LoaderResolver',
  714. 'routing.loader.xml.class' => 'Symfony\\Component\\Routing\\Loader\\XmlFileLoader',
  715. 'routing.loader.yml.class' => 'Symfony\\Component\\Routing\\Loader\\YamlFileLoader',
  716. 'routing.loader.php.class' => 'Symfony\\Component\\Routing\\Loader\\PhpFileLoader',
  717. 'router.options.generator_class' => 'Symfony\\Component\\Routing\\Generator\\UrlGenerator',
  718. 'router.options.generator_base_class' => 'Symfony\\Component\\Routing\\Generator\\UrlGenerator',
  719. 'router.options.generator_dumper_class' => 'Symfony\\Component\\Routing\\Generator\\Dumper\\PhpGeneratorDumper',
  720. 'router.options.matcher_class' => 'Symfony\\Bundle\\FrameworkBundle\\Routing\\RedirectableUrlMatcher',
  721. 'router.options.matcher_base_class' => 'Symfony\\Bundle\\FrameworkBundle\\Routing\\RedirectableUrlMatcher',
  722. 'router.options.matcher_dumper_class' => 'Symfony\\Component\\Routing\\Matcher\\Dumper\\PhpMatcherDumper',
  723. 'router.cache_warmer.class' => 'Symfony\\Bundle\\FrameworkBundle\\CacheWarmer\\RouterCacheWarmer',
  724. 'router.options.matcher.cache_class' => 'appprodUrlMatcher',
  725. 'router.options.generator.cache_class' => 'appprodUrlGenerator',
  726. 'router.resource' => '/Users/lenybernard/Workspace/labo/anakin/app/config/routing.yml',
  727. 'request_listener.http_port' => 80,
  728. 'request_listener.https_port' => 443,
  729. 'templating.engine.delegating.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\DelegatingEngine',
  730. 'templating.name_parser.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\TemplateNameParser',
  731. 'templating.cache_warmer.template_paths.class' => 'Symfony\\Bundle\\FrameworkBundle\\CacheWarmer\\TemplatePathsCacheWarmer',
  732. 'templating.locator.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Loader\\TemplateLocator',
  733. 'templating.loader.filesystem.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Loader\\FilesystemLoader',
  734. 'templating.loader.cache.class' => 'Symfony\\Component\\Templating\\Loader\\CacheLoader',
  735. 'templating.loader.chain.class' => 'Symfony\\Component\\Templating\\Loader\\ChainLoader',
  736. 'templating.finder.class' => 'Symfony\\Bundle\\FrameworkBundle\\CacheWarmer\\TemplateFinder',
  737. 'templating.engine.php.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\PhpEngine',
  738. 'templating.helper.slots.class' => 'Symfony\\Component\\Templating\\Helper\\SlotsHelper',
  739. 'templating.helper.assets.class' => 'Symfony\\Component\\Templating\\Helper\\CoreAssetsHelper',
  740. 'templating.helper.actions.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Helper\\ActionsHelper',
  741. 'templating.helper.router.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Helper\\RouterHelper',
  742. 'templating.helper.request.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Helper\\RequestHelper',
  743. 'templating.helper.session.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Helper\\SessionHelper',
  744. 'templating.helper.code.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Helper\\CodeHelper',
  745. 'templating.helper.translator.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Helper\\TranslatorHelper',
  746. 'templating.helper.form.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Helper\\FormHelper',
  747. 'templating.globals.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\GlobalVariables',
  748. 'templating.asset.path_package.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Asset\\PathPackage',
  749. 'templating.asset.url_package.class' => 'Symfony\\Component\\Templating\\Asset\\UrlPackage',
  750. 'templating.asset.package_factory.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Asset\\PackageFactory',
  751. 'templating.helper.code.file_link_format' => NULL,
  752. 'templating.helper.form.resources' => array(
  753. 0 => 'FrameworkBundle:Form',
  754. ),
  755. 'templating.loader.cache.path' => NULL,
  756. 'templating.engines' => array(
  757. 0 => 'twig',
  758. ),
  759. 'annotations.reader.class' => 'Doctrine\\Common\\Annotations\\AnnotationReader',
  760. 'annotations.cached_reader.class' => 'Doctrine\\Common\\Annotations\\CachedReader',
  761. 'annotations.file_cache_reader.class' => 'Doctrine\\Common\\Annotations\\FileCacheReader',
  762. 'security.context.class' => 'Symfony\\Component\\Security\\Core\\SecurityContext',
  763. 'security.user_checker.class' => 'Symfony\\Component\\Security\\Core\\User\\UserChecker',
  764. 'security.encoder_factory.generic.class' => 'Symfony\\Component\\Security\\Core\\Encoder\\EncoderFactory',
  765. 'security.encoder.digest.class' => 'Symfony\\Component\\Security\\Core\\Encoder\\MessageDigestPasswordEncoder',
  766. 'security.encoder.plain.class' => 'Symfony\\Component\\Security\\Core\\Encoder\\PlaintextPasswordEncoder',
  767. 'security.user.provider.entity.class' => 'Symfony\\Bridge\\Doctrine\\Security\\User\\EntityUserProvider',
  768. 'security.user.provider.in_memory.class' => 'Symfony\\Component\\Security\\Core\\User\\InMemoryUserProvider',
  769. 'security.user.provider.in_memory.user.class' => 'Symfony\\Component\\Security\\Core\\User\\User',
  770. 'security.user.provider.chain.class' => 'Symfony\\Component\\Security\\Core\\User\\ChainUserProvider',
  771. 'security.authentication.trust_resolver.class' => 'Symfony\\Component\\Security\\Core\\Authentication\\AuthenticationTrustResolver',
  772. 'security.authentication.trust_resolver.anonymous_class' => 'Symfony\\Component\\Security\\Core\\Authentication\\Token\\AnonymousToken',
  773. 'security.authentication.trust_resolver.rememberme_class' => 'Symfony\\Component\\Security\\Core\\Authentication\\Token\\RememberMeToken',
  774. 'security.authentication.manager.class' => 'Symfony\\Component\\Security\\Core\\Authentication\\AuthenticationProviderManager',
  775. 'security.authentication.session_strategy.class' => 'Symfony\\Component\\Security\\Http\\Session\\SessionAuthenticationStrategy',
  776. 'security.access.decision_manager.class' => 'Symfony\\Component\\Security\\Core\\Authorization\\AccessDecisionManager',
  777. 'security.access.simple_role_voter.class' => 'Symfony\\Component\\Security\\Core\\Authorization\\Voter\\RoleVoter',
  778. 'security.access.authenticated_voter.class' => 'Symfony\\Component\\Security\\Core\\Authorization\\Voter\\AuthenticatedVoter',
  779. 'security.access.role_hierarchy_voter.class' => 'Symfony\\Component\\Security\\Core\\Authorization\\Voter\\RoleHierarchyVoter',
  780. 'security.firewall.class' => 'Symfony\\Component\\Security\\Http\\Firewall',
  781. 'security.firewall.map.class' => 'Symfony\\Bundle\\SecurityBundle\\Security\\FirewallMap',
  782. 'security.firewall.context.class' => 'Symfony\\Bundle\\SecurityBundle\\Security\\FirewallContext',
  783. 'security.matcher.class' => 'Symfony\\Component\\HttpFoundation\\RequestMatcher',
  784. 'security.role_hierarchy.class' => 'Symfony\\Component\\Security\\Core\\Role\\RoleHierarchy',
  785. 'security.http_utils.class' => 'Symfony\\Component\\Security\\Http\\HttpUtils',
  786. 'security.authentication.retry_entry_point.class' => 'Symfony\\Component\\Security\\Http\\EntryPoint\\RetryAuthenticationEntryPoint',
  787. 'security.channel_listener.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\ChannelListener',
  788. 'security.authentication.form_entry_point.class' => 'Symfony\\Component\\Security\\Http\\EntryPoint\\FormAuthenticationEntryPoint',
  789. 'security.authentication.listener.form.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\UsernamePasswordFormAuthenticationListener',
  790. 'security.authentication.listener.basic.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\BasicAuthenticationListener',
  791. 'security.authentication.basic_entry_point.class' => 'Symfony\\Component\\Security\\Http\\EntryPoint\\BasicAuthenticationEntryPoint',
  792. 'security.authentication.listener.digest.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\DigestAuthenticationListener',
  793. 'security.authentication.digest_entry_point.class' => 'Symfony\\Component\\Security\\Http\\EntryPoint\\DigestAuthenticationEntryPoint',
  794. 'security.authentication.listener.x509.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\X509AuthenticationListener',
  795. 'security.authentication.listener.anonymous.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\AnonymousAuthenticationListener',
  796. 'security.authentication.switchuser_listener.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\SwitchUserListener',
  797. 'security.logout_listener.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\LogoutListener',
  798. 'security.logout.handler.session.class' => 'Symfony\\Component\\Security\\Http\\Logout\\SessionLogoutHandler',
  799. 'security.logout.handler.cookie_clearing.class' => 'Symfony\\Component\\Security\\Http\\Logout\\CookieClearingLogoutHandler',
  800. 'security.access_listener.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\AccessListener',
  801. 'security.access_map.class' => 'Symfony\\Component\\Security\\Http\\AccessMap',
  802. 'security.exception_listener.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\ExceptionListener',
  803. 'security.context_listener.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\ContextListener',
  804. 'security.authentication.provider.dao.class' => 'Symfony\\Component\\Security\\Core\\Authentication\\Provider\\DaoAuthenticationProvider',
  805. 'security.authentication.provider.pre_authenticated.class' => 'Symfony\\Component\\Security\\Core\\Authentication\\Provider\\PreAuthenticatedAuthenticationProvider',
  806. 'security.authentication.provider.anonymous.class' => 'Symfony\\Component\\Security\\Core\\Authentication\\Provider\\AnonymousAuthenticationProvider',
  807. 'security.authentication.provider.rememberme.class' => 'Symfony\\Component\\Security\\Core\\Authentication\\Provider\\RememberMeAuthenticationProvider',
  808. 'security.authentication.listener.rememberme.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\RememberMeListener',
  809. 'security.rememberme.token.provider.in_memory.class' => 'Symfony\\Component\\Security\\Core\\Authentication\\RememberMe\\InMemoryTokenProvider',
  810. 'security.authentication.rememberme.services.persistent.class' => 'Symfony\\Component\\Security\\Http\\RememberMe\\PersistentTokenBasedRememberMeServices',
  811. 'security.authentication.rememberme.services.simplehash.class' => 'Symfony\\Component\\Security\\Http\\RememberMe\\TokenBasedRememberMeServices',
  812. 'security.rememberme.response_listener.class' => 'Symfony\\Bundle\\SecurityBundle\\EventListener\\ResponseListener',
  813. 'templating.helper.security.class' => 'Symfony\\Bundle\\SecurityBundle\\Templating\\Helper\\SecurityHelper',
  814. 'data_collector.security.class' => 'Symfony\\Bundle\\SecurityBundle\\DataCollector\\SecurityDataCollector',
  815. 'security.access.denied_url' => NULL,
  816. 'security.authentication.session_strategy.strategy' => 'migrate',
  817. 'security.access.always_authenticate_before_granting' => false,
  818. 'security.authentication.hide_user_not_found' => true,
  819. 'security.role_hierarchy.roles' => array(
  820. 'ROLE_ADMIN' => array(
  821. 0 => 'ROLE_USER',
  822. ),
  823. 'ROLE_SUPER_ADMIN' => array(
  824. 0 => 'ROLE_USER',
  825. 1 => 'ROLE_ADMIN',
  826. 2 => 'ROLE_ALLOWED_TO_SWITCH',
  827. ),
  828. ),
  829. 'twig.class' => 'Twig_Environment',
  830. 'twig.loader.class' => 'Symfony\\Bundle\\TwigBundle\\Loader\\FilesystemLoader',
  831. 'templating.engine.twig.class' => 'Symfony\\Bundle\\TwigBundle\\TwigEngine',
  832. 'twig.cache_warmer.class' => 'Symfony\\Bundle\\TwigBundle\\CacheWarmer\\TemplateCacheCacheWarmer',
  833. 'twig.extension.trans.class' => 'Symfony\\Bridge\\Twig\\Extension\\TranslationExtension',
  834. 'twig.extension.assets.class' => 'Symfony\\Bundle\\TwigBundle\\Extension\\AssetsExtension',
  835. 'twig.extension.actions.class' => 'Symfony\\Bundle\\TwigBundle\\Extension\\ActionsExtension',
  836. 'twig.extension.code.class' => 'Symfony\\Bundle\\TwigBundle\\Extension\\CodeExtension',
  837. 'twig.extension.routing.class' => 'Symfony\\Bridge\\Twig\\Extension\\RoutingExtension',
  838. 'twig.extension.yaml.class' => 'Symfony\\Bridge\\Twig\\Extension\\YamlExtension',
  839. 'twig.extension.form.class' => 'Symfony\\Bridge\\Twig\\Extension\\FormExtension',
  840. 'twig.exception_listener.class' => 'Symfony\\Component\\HttpKernel\\EventListener\\ExceptionListener',
  841. 'twig.exception_listener.controller' => 'Symfony\\Bundle\\TwigBundle\\Controller\\ExceptionController::showAction',
  842. 'twig.form.resources' => array(
  843. 0 => 'form_div_layout.html.twig',
  844. ),
  845. 'twig.options' => array(
  846. 'debug' => false,
  847. 'strict_variables' => false,
  848. 'exception_controller' => 'Symfony\\Bundle\\TwigBundle\\Controller\\ExceptionController::showAction',
  849. 'cache' => '/Users/lenybernard/Workspace/labo/anakin/app/cache/prod/twig',
  850. 'charset' => 'UTF-8',
  851. ),
  852. 'monolog.logger.class' => 'Symfony\\Bridge\\Monolog\\Logger',
  853. 'monolog.handler.stream.class' => 'Monolog\\Handler\\StreamHandler',
  854. 'monolog.handler.fingers_crossed.class' => 'Monolog\\Handler\\FingersCrossedHandler',
  855. 'monolog.handler.group.class' => 'Monolog\\Handler\\GroupHandler',
  856. 'monolog.handler.buffer.class' => 'Monolog\\Handler\\BufferHandler',
  857. 'monolog.handler.rotating_file.class' => 'Monolog\\Handler\\RotatingFileHandler',
  858. 'monolog.handler.syslog.class' => 'Monolog\\Handler\\SyslogHandler',
  859. 'monolog.handler.null.class' => 'Monolog\\Handler\\NullHandler',
  860. 'monolog.handler.test.class' => 'Monolog\\Handler\\TestHandler',
  861. 'monolog.handler.firephp.class' => 'Symfony\\Bridge\\Monolog\\Handler\\FirePHPHandler',
  862. 'monolog.handler.debug.class' => 'Symfony\\Bridge\\Monolog\\Handler\\DebugHandler',
  863. 'monolog.handler.swift_mailer.class' => 'Monolog\\Handler\\SwiftMailerHandler',
  864. 'monolog.handler.native_mailer.class' => 'Monolog\\Handler\\NativeMailerHandler',
  865. 'swiftmailer.class' => 'Swift_Mailer',
  866. 'swiftmailer.transport.sendmail.class' => 'Swift_Transport_SendmailTransport',
  867. 'swiftmailer.transport.mail.class' => 'Swift_Transport_MailTransport',
  868. 'swiftmailer.transport.failover.class' => 'Swift_Transport_FailoverTransport',
  869. 'swiftmailer.plugin.redirecting.class' => 'Swift_Plugins_RedirectingPlugin',
  870. 'swiftmailer.plugin.impersonate.class' => 'Swift_Plugins_ImpersonatePlugin',
  871. 'swiftmailer.plugin.messagelogger.class' => 'Symfony\\Bundle\\SwiftmailerBundle\\Logger\\MessageLogger',
  872. 'swiftmailer.plugin.antiflood.class' => 'Swift_Plugins_AntiFloodPlugin',
  873. 'swiftmailer.plugin.antiflood.threshold' => 99,
  874. 'swiftmailer.plugin.antiflood.sleep' => 0,
  875. 'swiftmailer.data_collector.class' => 'Symfony\\Bundle\\SwiftmailerBundle\\DataCollector\\MessageDataCollector',
  876. 'swiftmailer.transport.smtp.class' => 'Swift_Transport_EsmtpTransport',
  877. 'swiftmailer.transport.smtp.encryption' => NULL,
  878. 'swiftmailer.transport.smtp.port' => 25,
  879. 'swiftmailer.transport.smtp.host' => 'localhost',
  880. 'swiftmailer.transport.smtp.username' => '',
  881. 'swiftmailer.transport.smtp.password' => '',
  882. 'swiftmailer.transport.smtp.auth_mode' => NULL,
  883. 'swiftmailer.spool.enabled' => false,
  884. 'swiftmailer.sender_address' => NULL,
  885. 'swiftmailer.single_address' => NULL,
  886. 'doctrine.dbal.logger.debug.class' => 'Doctrine\\DBAL\\Logging\\DebugStack',
  887. 'doctrine.dbal.logger.class' => 'Symfony\\Bridge\\Doctrine\\Logger\\DbalLogger',
  888. 'doctrine.dbal.configuration.class' => 'Doctrine\\DBAL\\Configuration',
  889. 'doctrine.data_collector.class' => 'Symfony\\Bridge\\Doctrine\\DataCollector\\DoctrineDataCollector',
  890. 'doctrine.dbal.connection.event_manager.class' => 'Doctrine\\Common\\EventManager',
  891. 'doctrine.dbal.connection_factory.class' => 'Symfony\\Bundle\\DoctrineBundle\\ConnectionFactory',
  892. 'doctrine.dbal.events.mysql_session_init.class' => 'Doctrine\\DBAL\\Event\\Listeners\\MysqlSessionInit',
  893. 'doctrine.dbal.events.oracle_session_init.class' => 'Doctrine\\DBAL\\Event\\Listeners\\OracleSessionInit',
  894. 'doctrine.class' => 'Symfony\\Bundle\\DoctrineBundle\\Registry',
  895. 'doctrine.entity_managers' => array(
  896. 'default' => 'doctrine.orm.default_entity_manager',
  897. ),
  898. 'doctrine.default_entity_manager' => 'default',
  899. 'doctrine.dbal.connection_factory.types' => array(
  900. ),
  901. 'doctrine.connections' => array(
  902. 'default' => 'doctrine.dbal.default_connection',
  903. ),
  904. 'doctrine.default_connection' => 'default',
  905. 'doctrine.orm.configuration.class' => 'Doctrine\\ORM\\Configuration',
  906. 'doctrine.orm.entity_manager.class' => 'Doctrine\\ORM\\EntityManager',
  907. 'doctrine.orm.cache.array.class' => 'Doctrine\\Common\\Cache\\ArrayCache',
  908. 'doctrine.orm.cache.apc.class' => 'Doctrine\\Common\\Cache\\ApcCache',
  909. 'doctrine.orm.cache.memcache.class' => 'Doctrine\\Common\\Cache\\MemcacheCache',
  910. 'doctrine.orm.cache.memcache_host' => 'localhost',
  911. 'doctrine.orm.cache.memcache_port' => 11211,
  912. 'doctrine.orm.cache.memcache_instance.class' => 'Memcache',
  913. 'doctrine.orm.cache.xcache.class' => 'Doctrine\\Common\\Cache\\XcacheCache',
  914. 'doctrine.orm.metadata.driver_chain.class' => 'Doctrine\\ORM\\Mapping\\Driver\\DriverChain',
  915. 'doctrine.orm.metadata.annotation.class' => 'Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver',
  916. 'doctrine.orm.metadata.annotation_reader.class' => 'Symfony\\Bridge\\Doctrine\\Annotations\\IndexedReader',
  917. 'doctrine.orm.metadata.xml.class' => 'Symfony\\Bridge\\Doctrine\\Mapping\\Driver\\XmlDriver',
  918. 'doctrine.orm.metadata.yml.class' => 'Symfony\\Bridge\\Doctrine\\Mapping\\Driver\\YamlDriver',
  919. 'doctrine.orm.metadata.php.class' => 'Doctrine\\ORM\\Mapping\\Driver\\PHPDriver',
  920. 'doctrine.orm.metadata.staticphp.class' => 'Doctrine\\ORM\\Mapping\\Driver\\StaticPHPDriver',
  921. 'doctrine.orm.proxy_cache_warmer.class' => 'Symfony\\Bridge\\Doctrine\\CacheWarmer\\ProxyCacheWarmer',
  922. 'form.type_guesser.doctrine.class' => 'Symfony\\Bridge\\Doctrine\\Form\\DoctrineOrmTypeGuesser',
  923. 'doctrine.orm.validator.unique.class' => 'Symfony\\Bridge\\Doctrine\\Validator\\Constraints\\UniqueEntityValidator',
  924. 'doctrine.orm.validator_initializer.class' => 'Symfony\\Bridge\\Doctrine\\Validator\\EntityInitializer',
  925. 'doctrine.orm.auto_generate_proxy_classes' => false,
  926. 'doctrine.orm.proxy_dir' => '/Users/lenybernard/Workspace/labo/anakin/app/cache/prod/doctrine/orm/Proxies',
  927. 'doctrine.orm.proxy_namespace' => 'Proxies',
  928. 'assetic.asset_factory.class' => 'Symfony\\Bundle\\AsseticBundle\\Factory\\AssetFactory',
  929. 'assetic.asset_manager.class' => 'Assetic\\Factory\\LazyAssetManager',
  930. 'assetic.asset_manager_cache_warmer.class' => 'Symfony\\Bundle\\AsseticBundle\\CacheWarmer\\AssetManagerCacheWarmer',
  931. 'assetic.cached_formula_loader.class' => 'Assetic\\Factory\\Loader\\CachedFormulaLoader',
  932. 'assetic.config_cache.class' => 'Assetic\\Cache\\ConfigCache',
  933. 'assetic.config_loader.class' => 'Symfony\\Bundle\\AsseticBundle\\Factory\\Loader\\ConfigurationLoader',
  934. 'assetic.config_resource.class' => 'Symfony\\Bundle\\AsseticBundle\\Factory\\Resource\\ConfigurationResource',
  935. 'assetic.coalescing_directory_resource.class' => 'Symfony\\Bundle\\AsseticBundle\\Factory\\Resource\\CoalescingDirectoryResource',
  936. 'assetic.directory_resource.class' => 'Symfony\\Bundle\\AsseticBundle\\Factory\\Resource\\DirectoryResource',
  937. 'assetic.filter_manager.class' => 'Symfony\\Bundle\\AsseticBundle\\FilterManager',
  938. 'assetic.worker.ensure_filter.class' => 'Assetic\\Factory\\Worker\\EnsureFilterWorker',
  939. 'assetic.node.paths' => array(
  940. ),
  941. 'assetic.cache_dir' => '/Users/lenybernard/Workspace/labo/anakin/app/cache/prod/assetic',
  942. 'assetic.bundles' => array(
  943. 0 => 'FrameworkBundle',
  944. 1 => 'SecurityBundle',
  945. 2 => 'TwigBundle',
  946. 3 => 'MonologBundle',
  947. 4 => 'SwiftmailerBundle',
  948. 5 => 'DoctrineBundle',
  949. 6 => 'AsseticBundle',
  950. 7 => 'SensioFrameworkExtraBundle',
  951. 8 => 'JMSSecurityExtraBundle',
  952. ),
  953. 'assetic.twig_extension.class' => 'Symfony\\Bundle\\AsseticBundle\\Twig\\AsseticExtension',
  954. 'assetic.twig_formula_loader.class' => 'Assetic\\Extension\\Twig\\TwigFormulaLoader',
  955. 'assetic.helper.dynamic.class' => 'Symfony\\Bundle\\AsseticBundle\\Templating\\DynamicAsseticHelper',
  956. 'assetic.helper.static.class' => 'Symfony\\Bundle\\AsseticBundle\\Templating\\StaticAsseticHelper',
  957. 'assetic.php_formula_loader.class' => 'Symfony\\Bundle\\AsseticBundle\\Factory\\Loader\\AsseticHelperFormulaLoader',
  958. 'assetic.debug' => false,
  959. 'assetic.use_controller' => false,
  960. 'assetic.enable_profiler' => false,
  961. 'assetic.read_from' => '/Users/lenybernard/Workspace/labo/anakin/app/../web',
  962. 'assetic.write_to' => '/Users/lenybernard/Workspace/labo/anakin/app/../web',
  963. 'assetic.java.bin' => '/usr/bin/java',
  964. 'assetic.node.bin' => '/usr/bin/node',
  965. 'assetic.ruby.bin' => '/usr/bin/ruby',
  966. 'assetic.sass.bin' => '/usr/bin/sass',
  967. 'assetic.filter.cssrewrite.class' => 'Assetic\\Filter\\CssRewriteFilter',
  968. 'assetic.twig_extension.functions' => array(
  969. ),
  970. 'assetic.asset_writer_cache_warmer.class' => 'Symfony\\Bundle\\AsseticBundle\\CacheWarmer\\AssetWriterCacheWarmer',
  971. 'assetic.asset_writer.class' => 'Assetic\\AssetWriter',
  972. 'sensio_framework_extra.controller.listener.class' => 'Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\ControllerListener',
  973. 'sensio_framework_extra.routing.loader.annot_dir.class' => 'Symfony\\Component\\Routing\\Loader\\AnnotationDirectoryLoader',
  974. 'sensio_framework_extra.routing.loader.annot_file.class' => 'Symfony\\Component\\Routing\\Loader\\AnnotationFileLoader',
  975. 'sensio_framework_extra.routing.loader.annot_class.class' => 'Sensio\\Bundle\\FrameworkExtraBundle\\Routing\\AnnotatedRouteControllerLoader',
  976. 'sensio_framework_extra.converter.listener.class' => 'Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\ParamConverterListener',
  977. 'sensio_framework_extra.converter.manager.class' => 'Sensio\\Bundle\\FrameworkExtraBundle\\Request\\ParamConverter\\ParamConverterManager',
  978. 'sensio_framework_extra.converter.doctrine.class' => 'Sensio\\Bundle\\FrameworkExtraBundle\\Request\\ParamConverter\\DoctrineParamConverter',
  979. 'sensio_framework_extra.view.listener.class' => 'Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\TemplateListener',
  980. 'security.secured_services' => array(
  981. ),
  982. 'security.access.method_interceptor.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\Interception\\MethodSecurityInterceptor',
  983. 'security.access.run_as_manager.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\RunAsManager',
  984. 'security.authentication.provider.run_as.class' => 'JMS\\SecurityExtraBundle\\Security\\Authentication\\Provider\\RunAsAuthenticationProvider',
  985. 'security.run_as.key' => 'RunAsToken',
  986. 'security.run_as.role_prefix' => 'ROLE_',
  987. 'security.access.after_invocation_manager.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\AfterInvocation\\AfterInvocationManager',
  988. 'security.access.after_invocation.acl_provider.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\AfterInvocation\\AclAfterInvocationProvider',
  989. 'security.extra.controller_listener.class' => 'JMS\\SecurityExtraBundle\\Controller\\ControllerListener',
  990. 'security.access.iddqd_voter.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\Voter\\IddqdVoter',
  991. 'security.extra.secure_all_services' => false,
  992. );
  993. }
  994. }