PageRenderTime 59ms CodeModel.GetById 18ms RepoModel.GetById 1ms 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

Large files files are truncated, but you can click here to view the full 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' =>

Large files files are truncated, but you can click here to view the full file