/app/cache/dev/appDevDebugProjectContainer.php

https://github.com/modernfidelity/Symfony2-RESTAPI · PHP · 3803 lines · 1731 code · 333 blank · 1739 comment · 6 complexity · 773613f846590ff5037118b6712d187b 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\Exception\InvalidArgumentException;
  6. use Symfony\Component\DependencyInjection\Exception\LogicException;
  7. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  8. use Symfony\Component\DependencyInjection\Reference;
  9. use Symfony\Component\DependencyInjection\Parameter;
  10. use Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag;
  11. /**
  12. * appDevDebugProjectContainer
  13. *
  14. * This class has been auto-generated
  15. * by the Symfony Dependency Injection Component.
  16. */
  17. class appDevDebugProjectContainer extends Container
  18. {
  19. /**
  20. * Constructor.
  21. */
  22. public function __construct()
  23. {
  24. $this->parameters = $this->getDefaultParameters();
  25. $this->services =
  26. $this->scopedServices =
  27. $this->scopeStacks = array();
  28. $this->set('service_container', $this);
  29. $this->scopes = array('request' => 'container');
  30. $this->scopeChildren = array('request' => array());
  31. }
  32. /**
  33. * Gets the 'acme.demo.listener' service.
  34. *
  35. * This service is shared.
  36. * This method always returns the same instance of the service.
  37. *
  38. * @return Acme\DemoBundle\EventListener\ControllerListener A Acme\DemoBundle\EventListener\ControllerListener instance.
  39. */
  40. protected function getAcme_Demo_ListenerService()
  41. {
  42. return $this->services['acme.demo.listener'] = new \Acme\DemoBundle\EventListener\ControllerListener($this->get('twig.extension.acme.demo'));
  43. }
  44. /**
  45. * Gets the 'annotation_reader' service.
  46. *
  47. * This service is shared.
  48. * This method always returns the same instance of the service.
  49. *
  50. * @return Doctrine\Common\Annotations\FileCacheReader A Doctrine\Common\Annotations\FileCacheReader instance.
  51. */
  52. protected function getAnnotationReaderService()
  53. {
  54. return $this->services['annotation_reader'] = new \Doctrine\Common\Annotations\FileCacheReader(new \Doctrine\Common\Annotations\AnnotationReader(), '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/annotations', true);
  55. }
  56. /**
  57. * Gets the 'assetic.asset_manager' service.
  58. *
  59. * This service is shared.
  60. * This method always returns the same instance of the service.
  61. *
  62. * @return Assetic\Factory\LazyAssetManager A Assetic\Factory\LazyAssetManager instance.
  63. */
  64. protected function getAssetic_AssetManagerService()
  65. {
  66. $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('/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/assetic/config'), true)));
  67. $instance->addResource(new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($this->get('templating.loader'), '', '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/Resources/views', '/\\.[^.]+\\.twig$/'), 'twig');
  68. return $instance;
  69. }
  70. /**
  71. * Gets the 'assetic.controller' service.
  72. *
  73. * @return Symfony\Bundle\AsseticBundle\Controller\AsseticController A Symfony\Bundle\AsseticBundle\Controller\AsseticController instance.
  74. */
  75. protected function getAssetic_ControllerService()
  76. {
  77. $instance = new \Symfony\Bundle\AsseticBundle\Controller\AsseticController($this->get('request'), $this->get('assetic.asset_manager'), $this->get('assetic.cache'), false, $this->get('profiler'));
  78. $instance->setValueSupplier($this->get('assetic.value_supplier.default'));
  79. return $instance;
  80. }
  81. /**
  82. * Gets the 'assetic.filter.cssrewrite' service.
  83. *
  84. * This service is shared.
  85. * This method always returns the same instance of the service.
  86. *
  87. * @return Assetic\Filter\CssRewriteFilter A Assetic\Filter\CssRewriteFilter instance.
  88. */
  89. protected function getAssetic_Filter_CssrewriteService()
  90. {
  91. return $this->services['assetic.filter.cssrewrite'] = new \Assetic\Filter\CssRewriteFilter();
  92. }
  93. /**
  94. * Gets the 'assetic.filter_manager' service.
  95. *
  96. * This service is shared.
  97. * This method always returns the same instance of the service.
  98. *
  99. * @return Symfony\Bundle\AsseticBundle\FilterManager A Symfony\Bundle\AsseticBundle\FilterManager instance.
  100. */
  101. protected function getAssetic_FilterManagerService()
  102. {
  103. return $this->services['assetic.filter_manager'] = new \Symfony\Bundle\AsseticBundle\FilterManager($this, array('cssrewrite' => 'assetic.filter.cssrewrite'));
  104. }
  105. /**
  106. * Gets the 'assetic.request_listener' service.
  107. *
  108. * This service is shared.
  109. * This method always returns the same instance of the service.
  110. *
  111. * @return Symfony\Bundle\AsseticBundle\EventListener\RequestListener A Symfony\Bundle\AsseticBundle\EventListener\RequestListener instance.
  112. */
  113. protected function getAssetic_RequestListenerService()
  114. {
  115. return $this->services['assetic.request_listener'] = new \Symfony\Bundle\AsseticBundle\EventListener\RequestListener();
  116. }
  117. /**
  118. * Gets the 'cache_clearer' service.
  119. *
  120. * This service is shared.
  121. * This method always returns the same instance of the service.
  122. *
  123. * @return Symfony\Component\HttpKernel\CacheClearer\ChainCacheClearer A Symfony\Component\HttpKernel\CacheClearer\ChainCacheClearer instance.
  124. */
  125. protected function getCacheClearerService()
  126. {
  127. return $this->services['cache_clearer'] = new \Symfony\Component\HttpKernel\CacheClearer\ChainCacheClearer(array());
  128. }
  129. /**
  130. * Gets the 'cache_warmer' service.
  131. *
  132. * This service is shared.
  133. * This method always returns the same instance of the service.
  134. *
  135. * @return Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate A Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate instance.
  136. */
  137. protected function getCacheWarmerService()
  138. {
  139. $a = $this->get('kernel');
  140. $b = $this->get('templating.filename_parser');
  141. $c = new \Symfony\Bundle\FrameworkBundle\CacheWarmer\TemplateFinder($a, $b, '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/Resources');
  142. 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 \JMS\DiExtraBundle\HttpKernel\ControllerInjectorsWarmer($a, $this->get('jms_di_extra.controller_resolver'), array())));
  143. }
  144. /**
  145. * Gets the 'data_collector.request' service.
  146. *
  147. * This service is shared.
  148. * This method always returns the same instance of the service.
  149. *
  150. * @return Symfony\Component\HttpKernel\DataCollector\RequestDataCollector A Symfony\Component\HttpKernel\DataCollector\RequestDataCollector instance.
  151. */
  152. protected function getDataCollector_RequestService()
  153. {
  154. return $this->services['data_collector.request'] = new \Symfony\Component\HttpKernel\DataCollector\RequestDataCollector();
  155. }
  156. /**
  157. * Gets the 'data_collector.router' service.
  158. *
  159. * This service is shared.
  160. * This method always returns the same instance of the service.
  161. *
  162. * @return Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector A Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector instance.
  163. */
  164. protected function getDataCollector_RouterService()
  165. {
  166. return $this->services['data_collector.router'] = new \Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector();
  167. }
  168. /**
  169. * Gets the 'debug.controller_resolver' service.
  170. *
  171. * This service is shared.
  172. * This method always returns the same instance of the service.
  173. *
  174. * @return Symfony\Component\HttpKernel\Controller\TraceableControllerResolver A Symfony\Component\HttpKernel\Controller\TraceableControllerResolver instance.
  175. */
  176. protected function getDebug_ControllerResolverService()
  177. {
  178. return $this->services['debug.controller_resolver'] = new \Symfony\Component\HttpKernel\Controller\TraceableControllerResolver($this->get('jms_di_extra.controller_resolver'), $this->get('debug.stopwatch'));
  179. }
  180. /**
  181. * Gets the 'debug.deprecation_logger_listener' service.
  182. *
  183. * This service is shared.
  184. * This method always returns the same instance of the service.
  185. *
  186. * @return Symfony\Component\HttpKernel\EventListener\DeprecationLoggerListener A Symfony\Component\HttpKernel\EventListener\DeprecationLoggerListener instance.
  187. */
  188. protected function getDebug_DeprecationLoggerListenerService()
  189. {
  190. return $this->services['debug.deprecation_logger_listener'] = new \Symfony\Component\HttpKernel\EventListener\DeprecationLoggerListener($this->get('monolog.logger.deprecation'));
  191. }
  192. /**
  193. * Gets the 'debug.event_dispatcher' service.
  194. *
  195. * This service is shared.
  196. * This method always returns the same instance of the service.
  197. *
  198. * @return Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher A Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher instance.
  199. */
  200. protected function getDebug_EventDispatcherService()
  201. {
  202. $this->services['debug.event_dispatcher'] = $instance = new \Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher($this->get('event_dispatcher'), $this->get('debug.stopwatch'), $this->get('monolog.logger.event'));
  203. $instance->setProfiler($this->get('profiler'));
  204. return $instance;
  205. }
  206. /**
  207. * Gets the 'debug.stopwatch' service.
  208. *
  209. * This service is shared.
  210. * This method always returns the same instance of the service.
  211. *
  212. * @return Symfony\Component\Stopwatch\Stopwatch A Symfony\Component\Stopwatch\Stopwatch instance.
  213. */
  214. protected function getDebug_StopwatchService()
  215. {
  216. return $this->services['debug.stopwatch'] = new \Symfony\Component\Stopwatch\Stopwatch();
  217. }
  218. /**
  219. * Gets the 'doctrine' service.
  220. *
  221. * This service is shared.
  222. * This method always returns the same instance of the service.
  223. *
  224. * @return Doctrine\Bundle\DoctrineBundle\Registry A Doctrine\Bundle\DoctrineBundle\Registry instance.
  225. */
  226. protected function getDoctrineService()
  227. {
  228. return $this->services['doctrine'] = new \Doctrine\Bundle\DoctrineBundle\Registry($this, array('default' => 'doctrine.dbal.default_connection'), array('default' => 'doctrine.orm.default_entity_manager'), 'default', 'default');
  229. }
  230. /**
  231. * Gets the 'doctrine.dbal.connection_factory' service.
  232. *
  233. * This service is shared.
  234. * This method always returns the same instance of the service.
  235. *
  236. * @return Doctrine\Bundle\DoctrineBundle\ConnectionFactory A Doctrine\Bundle\DoctrineBundle\ConnectionFactory instance.
  237. */
  238. protected function getDoctrine_Dbal_ConnectionFactoryService()
  239. {
  240. return $this->services['doctrine.dbal.connection_factory'] = new \Doctrine\Bundle\DoctrineBundle\ConnectionFactory(array());
  241. }
  242. /**
  243. * Gets the 'doctrine.dbal.default_connection' service.
  244. *
  245. * This service is shared.
  246. * This method always returns the same instance of the service.
  247. *
  248. * @return stdClass A stdClass instance.
  249. */
  250. protected function getDoctrine_Dbal_DefaultConnectionService()
  251. {
  252. $a = new \Doctrine\DBAL\Logging\LoggerChain();
  253. $a->addLogger(new \Symfony\Bridge\Doctrine\Logger\DbalLogger($this->get('monolog.logger.doctrine'), $this->get('debug.stopwatch')));
  254. $a->addLogger($this->get('doctrine.dbal.logger.profiling.default'));
  255. $b = new \Doctrine\DBAL\Configuration();
  256. $b->setSQLLogger($a);
  257. return $this->services['doctrine.dbal.default_connection'] = $this->get('doctrine.dbal.connection_factory')->createConnection(array('dbname' => 'symfony_restapi', 'host' => '127.0.0.1', 'port' => NULL, 'user' => 'root', 'password' => 'root', 'charset' => 'UTF8', 'driver' => 'pdo_mysql', 'driverOptions' => array()), $b, new \Symfony\Bridge\Doctrine\ContainerAwareEventManager($this), array());
  258. }
  259. /**
  260. * Gets the 'doctrine.orm.default_entity_manager' service.
  261. *
  262. * This service is shared.
  263. * This method always returns the same instance of the service.
  264. *
  265. * @return EntityManager5162b07e2cbb0_546a8d27f194334ee012bfe64f629947b07e4919\__CG__\Doctrine\ORM\EntityManager A EntityManager5162b07e2cbb0_546a8d27f194334ee012bfe64f629947b07e4919\__CG__\Doctrine\ORM\EntityManager instance.
  266. */
  267. protected function getDoctrine_Orm_DefaultEntityManagerService()
  268. {
  269. require_once '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/jms_diextra/doctrine/EntityManager_5162b07e2cbb0.php';
  270. $a = new \Doctrine\Common\Cache\ArrayCache();
  271. $a->setNamespace('sf2orm_default_e8dcc1ca5a3e0942b5b6b125373f9a34');
  272. $b = new \Doctrine\Common\Cache\ArrayCache();
  273. $b->setNamespace('sf2orm_default_e8dcc1ca5a3e0942b5b6b125373f9a34');
  274. $c = new \Doctrine\Common\Cache\ArrayCache();
  275. $c->setNamespace('sf2orm_default_e8dcc1ca5a3e0942b5b6b125373f9a34');
  276. $d = new \Doctrine\ORM\Configuration();
  277. $d->setEntityNamespaces(array());
  278. $d->setMetadataCacheImpl($a);
  279. $d->setQueryCacheImpl($b);
  280. $d->setResultCacheImpl($c);
  281. $d->setMetadataDriverImpl(new \Doctrine\ORM\Mapping\Driver\DriverChain());
  282. $d->setProxyDir('/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/doctrine/orm/Proxies');
  283. $d->setProxyNamespace('Proxies');
  284. $d->setAutoGenerateProxyClasses(true);
  285. $d->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
  286. $d->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
  287. $d->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
  288. $e = call_user_func(array('Doctrine\\ORM\\EntityManager', 'create'), $this->get('doctrine.dbal.default_connection'), $d);
  289. $this->get('doctrine.orm.default_manager_configurator')->configure($e);
  290. return $this->services['doctrine.orm.default_entity_manager'] = new \EntityManager5162b07e2cbb0_546a8d27f194334ee012bfe64f629947b07e4919\__CG__\Doctrine\ORM\EntityManager($e, $this);
  291. }
  292. /**
  293. * Gets the 'doctrine.orm.default_manager_configurator' service.
  294. *
  295. * This service is shared.
  296. * This method always returns the same instance of the service.
  297. *
  298. * @return Doctrine\Bundle\DoctrineBundle\ManagerConfigurator A Doctrine\Bundle\DoctrineBundle\ManagerConfigurator instance.
  299. */
  300. protected function getDoctrine_Orm_DefaultManagerConfiguratorService()
  301. {
  302. return $this->services['doctrine.orm.default_manager_configurator'] = new \Doctrine\Bundle\DoctrineBundle\ManagerConfigurator(array());
  303. }
  304. /**
  305. * Gets the 'doctrine.orm.validator.unique' service.
  306. *
  307. * This service is shared.
  308. * This method always returns the same instance of the service.
  309. *
  310. * @return Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntityValidator A Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntityValidator instance.
  311. */
  312. protected function getDoctrine_Orm_Validator_UniqueService()
  313. {
  314. return $this->services['doctrine.orm.validator.unique'] = new \Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntityValidator($this->get('doctrine'));
  315. }
  316. /**
  317. * Gets the 'doctrine.orm.validator_initializer' service.
  318. *
  319. * This service is shared.
  320. * This method always returns the same instance of the service.
  321. *
  322. * @return Symfony\Bridge\Doctrine\Validator\DoctrineInitializer A Symfony\Bridge\Doctrine\Validator\DoctrineInitializer instance.
  323. */
  324. protected function getDoctrine_Orm_ValidatorInitializerService()
  325. {
  326. return $this->services['doctrine.orm.validator_initializer'] = new \Symfony\Bridge\Doctrine\Validator\DoctrineInitializer($this->get('doctrine'));
  327. }
  328. /**
  329. * Gets the 'event_dispatcher' service.
  330. *
  331. * This service is shared.
  332. * This method always returns the same instance of the service.
  333. *
  334. * @return Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher A Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher instance.
  335. */
  336. protected function getEventDispatcherService()
  337. {
  338. $this->services['event_dispatcher'] = $instance = new \Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher($this);
  339. $instance->addListenerService('kernel.controller', array(0 => 'data_collector.router', 1 => 'onKernelController'), 0);
  340. $instance->addListenerService('kernel.response', array(0 => 'monolog.handler.firephp', 1 => 'onKernelResponse'), 0);
  341. $instance->addListenerService('kernel.response', array(0 => 'monolog.handler.chromephp', 1 => 'onKernelResponse'), 0);
  342. $instance->addListenerService('kernel.request', array(0 => 'assetic.request_listener', 1 => 'onKernelRequest'), 0);
  343. $instance->addListenerService('kernel.controller', array(0 => 'sensio_framework_extra.controller.listener', 1 => 'onKernelController'), 0);
  344. $instance->addListenerService('kernel.controller', array(0 => 'sensio_framework_extra.converter.listener', 1 => 'onKernelController'), 0);
  345. $instance->addListenerService('kernel.controller', array(0 => 'sensio_framework_extra.view.listener', 1 => 'onKernelController'), 0);
  346. $instance->addListenerService('kernel.view', array(0 => 'sensio_framework_extra.view.listener', 1 => 'onKernelView'), 0);
  347. $instance->addListenerService('kernel.response', array(0 => 'sensio_framework_extra.cache.listener', 1 => 'onKernelResponse'), 0);
  348. $instance->addListenerService('kernel.controller', array(0 => 'acme.demo.listener', 1 => 'onKernelController'), 0);
  349. $instance->addSubscriberService('response_listener', 'Symfony\\Component\\HttpKernel\\EventListener\\ResponseListener');
  350. $instance->addSubscriberService('streamed_response_listener', 'Symfony\\Component\\HttpKernel\\EventListener\\StreamedResponseListener');
  351. $instance->addSubscriberService('locale_listener', 'Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener');
  352. $instance->addSubscriberService('fragment.handler', 'Symfony\\Component\\HttpKernel\\Fragment\\FragmentHandler');
  353. $instance->addSubscriberService('debug.deprecation_logger_listener', 'Symfony\\Component\\HttpKernel\\EventListener\\DeprecationLoggerListener');
  354. $instance->addSubscriberService('session_listener', 'Symfony\\Bundle\\FrameworkBundle\\EventListener\\SessionListener');
  355. $instance->addSubscriberService('fragment.listener', 'Symfony\\Component\\HttpKernel\\EventListener\\FragmentListener');
  356. $instance->addSubscriberService('profiler_listener', 'Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener');
  357. $instance->addSubscriberService('data_collector.request', 'Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector');
  358. $instance->addSubscriberService('router_listener', 'Symfony\\Component\\HttpKernel\\EventListener\\RouterListener');
  359. $instance->addSubscriberService('security.firewall', 'Symfony\\Component\\Security\\Http\\Firewall');
  360. $instance->addSubscriberService('security.rememberme.response_listener', 'Symfony\\Component\\Security\\Http\\RememberMe\\ResponseListener');
  361. $instance->addSubscriberService('twig.exception_listener', 'Symfony\\Component\\HttpKernel\\EventListener\\ExceptionListener');
  362. $instance->addSubscriberService('swiftmailer.email_sender.listener', 'Symfony\\Bundle\\SwiftmailerBundle\\EventListener\\EmailSenderListener');
  363. $instance->addSubscriberService('web_profiler.debug_toolbar', 'Symfony\\Bundle\\WebProfilerBundle\\EventListener\\WebDebugToolbarListener');
  364. return $instance;
  365. }
  366. /**
  367. * Gets the 'file_locator' service.
  368. *
  369. * This service is shared.
  370. * This method always returns the same instance of the service.
  371. *
  372. * @return Symfony\Component\HttpKernel\Config\FileLocator A Symfony\Component\HttpKernel\Config\FileLocator instance.
  373. */
  374. protected function getFileLocatorService()
  375. {
  376. return $this->services['file_locator'] = new \Symfony\Component\HttpKernel\Config\FileLocator($this->get('kernel'), '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/Resources');
  377. }
  378. /**
  379. * Gets the 'filesystem' service.
  380. *
  381. * This service is shared.
  382. * This method always returns the same instance of the service.
  383. *
  384. * @return Symfony\Component\Filesystem\Filesystem A Symfony\Component\Filesystem\Filesystem instance.
  385. */
  386. protected function getFilesystemService()
  387. {
  388. return $this->services['filesystem'] = new \Symfony\Component\Filesystem\Filesystem();
  389. }
  390. /**
  391. * Gets the 'form.csrf_provider' service.
  392. *
  393. * This service is shared.
  394. * This method always returns the same instance of the service.
  395. *
  396. * @return Symfony\Component\Form\Extension\Csrf\CsrfProvider\SessionCsrfProvider A Symfony\Component\Form\Extension\Csrf\CsrfProvider\SessionCsrfProvider instance.
  397. */
  398. protected function getForm_CsrfProviderService()
  399. {
  400. return $this->services['form.csrf_provider'] = new \Symfony\Component\Form\Extension\Csrf\CsrfProvider\SessionCsrfProvider($this->get('session'), '2081aa2b4d77a2615e927205e0f702dd5a22a013');
  401. }
  402. /**
  403. * Gets the 'form.factory' service.
  404. *
  405. * This service is shared.
  406. * This method always returns the same instance of the service.
  407. *
  408. * @return Symfony\Component\Form\FormFactory A Symfony\Component\Form\FormFactory instance.
  409. */
  410. protected function getForm_FactoryService()
  411. {
  412. return $this->services['form.factory'] = new \Symfony\Component\Form\FormFactory($this->get('form.registry'), $this->get('form.resolved_type_factory'));
  413. }
  414. /**
  415. * Gets the 'form.registry' service.
  416. *
  417. * This service is shared.
  418. * This method always returns the same instance of the service.
  419. *
  420. * @return Symfony\Component\Form\FormRegistry A Symfony\Component\Form\FormRegistry instance.
  421. */
  422. protected function getForm_RegistryService()
  423. {
  424. return $this->services['form.registry'] = new \Symfony\Component\Form\FormRegistry(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', 'entity' => 'form.type.entity'), array('form' => array(0 => 'form.type_extension.form.http_foundation', 1 => 'form.type_extension.form.validator', 2 => 'form.type_extension.csrf'), 'repeated' => array(0 => 'form.type_extension.repeated.validator')), array(0 => 'form.type_guesser.validator', 1 => 'form.type_guesser.doctrine'))), $this->get('form.resolved_type_factory'));
  425. }
  426. /**
  427. * Gets the 'form.resolved_type_factory' service.
  428. *
  429. * This service is shared.
  430. * This method always returns the same instance of the service.
  431. *
  432. * @return Symfony\Component\Form\ResolvedFormTypeFactory A Symfony\Component\Form\ResolvedFormTypeFactory instance.
  433. */
  434. protected function getForm_ResolvedTypeFactoryService()
  435. {
  436. return $this->services['form.resolved_type_factory'] = new \Symfony\Component\Form\ResolvedFormTypeFactory();
  437. }
  438. /**
  439. * Gets the 'form.type.birthday' service.
  440. *
  441. * This service is shared.
  442. * This method always returns the same instance of the service.
  443. *
  444. * @return Symfony\Component\Form\Extension\Core\Type\BirthdayType A Symfony\Component\Form\Extension\Core\Type\BirthdayType instance.
  445. */
  446. protected function getForm_Type_BirthdayService()
  447. {
  448. return $this->services['form.type.birthday'] = new \Symfony\Component\Form\Extension\Core\Type\BirthdayType();
  449. }
  450. /**
  451. * Gets the 'form.type.checkbox' service.
  452. *
  453. * This service is shared.
  454. * This method always returns the same instance of the service.
  455. *
  456. * @return Symfony\Component\Form\Extension\Core\Type\CheckboxType A Symfony\Component\Form\Extension\Core\Type\CheckboxType instance.
  457. */
  458. protected function getForm_Type_CheckboxService()
  459. {
  460. return $this->services['form.type.checkbox'] = new \Symfony\Component\Form\Extension\Core\Type\CheckboxType();
  461. }
  462. /**
  463. * Gets the 'form.type.choice' service.
  464. *
  465. * This service is shared.
  466. * This method always returns the same instance of the service.
  467. *
  468. * @return Symfony\Component\Form\Extension\Core\Type\ChoiceType A Symfony\Component\Form\Extension\Core\Type\ChoiceType instance.
  469. */
  470. protected function getForm_Type_ChoiceService()
  471. {
  472. return $this->services['form.type.choice'] = new \Symfony\Component\Form\Extension\Core\Type\ChoiceType();
  473. }
  474. /**
  475. * Gets the 'form.type.collection' service.
  476. *
  477. * This service is shared.
  478. * This method always returns the same instance of the service.
  479. *
  480. * @return Symfony\Component\Form\Extension\Core\Type\CollectionType A Symfony\Component\Form\Extension\Core\Type\CollectionType instance.
  481. */
  482. protected function getForm_Type_CollectionService()
  483. {
  484. return $this->services['form.type.collection'] = new \Symfony\Component\Form\Extension\Core\Type\CollectionType();
  485. }
  486. /**
  487. * Gets the 'form.type.country' service.
  488. *
  489. * This service is shared.
  490. * This method always returns the same instance of the service.
  491. *
  492. * @return Symfony\Component\Form\Extension\Core\Type\CountryType A Symfony\Component\Form\Extension\Core\Type\CountryType instance.
  493. */
  494. protected function getForm_Type_CountryService()
  495. {
  496. return $this->services['form.type.country'] = new \Symfony\Component\Form\Extension\Core\Type\CountryType();
  497. }
  498. /**
  499. * Gets the 'form.type.date' service.
  500. *
  501. * This service is shared.
  502. * This method always returns the same instance of the service.
  503. *
  504. * @return Symfony\Component\Form\Extension\Core\Type\DateType A Symfony\Component\Form\Extension\Core\Type\DateType instance.
  505. */
  506. protected function getForm_Type_DateService()
  507. {
  508. return $this->services['form.type.date'] = new \Symfony\Component\Form\Extension\Core\Type\DateType();
  509. }
  510. /**
  511. * Gets the 'form.type.datetime' service.
  512. *
  513. * This service is shared.
  514. * This method always returns the same instance of the service.
  515. *
  516. * @return Symfony\Component\Form\Extension\Core\Type\DateTimeType A Symfony\Component\Form\Extension\Core\Type\DateTimeType instance.
  517. */
  518. protected function getForm_Type_DatetimeService()
  519. {
  520. return $this->services['form.type.datetime'] = new \Symfony\Component\Form\Extension\Core\Type\DateTimeType();
  521. }
  522. /**
  523. * Gets the 'form.type.email' service.
  524. *
  525. * This service is shared.
  526. * This method always returns the same instance of the service.
  527. *
  528. * @return Symfony\Component\Form\Extension\Core\Type\EmailType A Symfony\Component\Form\Extension\Core\Type\EmailType instance.
  529. */
  530. protected function getForm_Type_EmailService()
  531. {
  532. return $this->services['form.type.email'] = new \Symfony\Component\Form\Extension\Core\Type\EmailType();
  533. }
  534. /**
  535. * Gets the 'form.type.entity' service.
  536. *
  537. * This service is shared.
  538. * This method always returns the same instance of the service.
  539. *
  540. * @return Symfony\Bridge\Doctrine\Form\Type\EntityType A Symfony\Bridge\Doctrine\Form\Type\EntityType instance.
  541. */
  542. protected function getForm_Type_EntityService()
  543. {
  544. return $this->services['form.type.entity'] = new \Symfony\Bridge\Doctrine\Form\Type\EntityType($this->get('doctrine'));
  545. }
  546. /**
  547. * Gets the 'form.type.field' service.
  548. *
  549. * This service is shared.
  550. * This method always returns the same instance of the service.
  551. *
  552. * @return Symfony\Component\Form\Extension\Core\Type\FieldType A Symfony\Component\Form\Extension\Core\Type\FieldType instance.
  553. */
  554. protected function getForm_Type_FieldService()
  555. {
  556. return $this->services['form.type.field'] = new \Symfony\Component\Form\Extension\Core\Type\FieldType();
  557. }
  558. /**
  559. * Gets the 'form.type.file' service.
  560. *
  561. * This service is shared.
  562. * This method always returns the same instance of the service.
  563. *
  564. * @return Symfony\Component\Form\Extension\Core\Type\FileType A Symfony\Component\Form\Extension\Core\Type\FileType instance.
  565. */
  566. protected function getForm_Type_FileService()
  567. {
  568. return $this->services['form.type.file'] = new \Symfony\Component\Form\Extension\Core\Type\FileType();
  569. }
  570. /**
  571. * Gets the 'form.type.form' service.
  572. *
  573. * This service is shared.
  574. * This method always returns the same instance of the service.
  575. *
  576. * @return Symfony\Component\Form\Extension\Core\Type\FormType A Symfony\Component\Form\Extension\Core\Type\FormType instance.
  577. */
  578. protected function getForm_Type_FormService()
  579. {
  580. return $this->services['form.type.form'] = new \Symfony\Component\Form\Extension\Core\Type\FormType($this->get('property_accessor'));
  581. }
  582. /**
  583. * Gets the 'form.type.hidden' service.
  584. *
  585. * This service is shared.
  586. * This method always returns the same instance of the service.
  587. *
  588. * @return Symfony\Component\Form\Extension\Core\Type\HiddenType A Symfony\Component\Form\Extension\Core\Type\HiddenType instance.
  589. */
  590. protected function getForm_Type_HiddenService()
  591. {
  592. return $this->services['form.type.hidden'] = new \Symfony\Component\Form\Extension\Core\Type\HiddenType();
  593. }
  594. /**
  595. * Gets the 'form.type.integer' service.
  596. *
  597. * This service is shared.
  598. * This method always returns the same instance of the service.
  599. *
  600. * @return Symfony\Component\Form\Extension\Core\Type\IntegerType A Symfony\Component\Form\Extension\Core\Type\IntegerType instance.
  601. */
  602. protected function getForm_Type_IntegerService()
  603. {
  604. return $this->services['form.type.integer'] = new \Symfony\Component\Form\Extension\Core\Type\IntegerType();
  605. }
  606. /**
  607. * Gets the 'form.type.language' service.
  608. *
  609. * This service is shared.
  610. * This method always returns the same instance of the service.
  611. *
  612. * @return Symfony\Component\Form\Extension\Core\Type\LanguageType A Symfony\Component\Form\Extension\Core\Type\LanguageType instance.
  613. */
  614. protected function getForm_Type_LanguageService()
  615. {
  616. return $this->services['form.type.language'] = new \Symfony\Component\Form\Extension\Core\Type\LanguageType();
  617. }
  618. /**
  619. * Gets the 'form.type.locale' service.
  620. *
  621. * This service is shared.
  622. * This method always returns the same instance of the service.
  623. *
  624. * @return Symfony\Component\Form\Extension\Core\Type\LocaleType A Symfony\Component\Form\Extension\Core\Type\LocaleType instance.
  625. */
  626. protected function getForm_Type_LocaleService()
  627. {
  628. return $this->services['form.type.locale'] = new \Symfony\Component\Form\Extension\Core\Type\LocaleType();
  629. }
  630. /**
  631. * Gets the 'form.type.money' service.
  632. *
  633. * This service is shared.
  634. * This method always returns the same instance of the service.
  635. *
  636. * @return Symfony\Component\Form\Extension\Core\Type\MoneyType A Symfony\Component\Form\Extension\Core\Type\MoneyType instance.
  637. */
  638. protected function getForm_Type_MoneyService()
  639. {
  640. return $this->services['form.type.money'] = new \Symfony\Component\Form\Extension\Core\Type\MoneyType();
  641. }
  642. /**
  643. * Gets the 'form.type.number' service.
  644. *
  645. * This service is shared.
  646. * This method always returns the same instance of the service.
  647. *
  648. * @return Symfony\Component\Form\Extension\Core\Type\NumberType A Symfony\Component\Form\Extension\Core\Type\NumberType instance.
  649. */
  650. protected function getForm_Type_NumberService()
  651. {
  652. return $this->services['form.type.number'] = new \Symfony\Component\Form\Extension\Core\Type\NumberType();
  653. }
  654. /**
  655. * Gets the 'form.type.password' service.
  656. *
  657. * This service is shared.
  658. * This method always returns the same instance of the service.
  659. *
  660. * @return Symfony\Component\Form\Extension\Core\Type\PasswordType A Symfony\Component\Form\Extension\Core\Type\PasswordType instance.
  661. */
  662. protected function getForm_Type_PasswordService()
  663. {
  664. return $this->services['form.type.password'] = new \Symfony\Component\Form\Extension\Core\Type\PasswordType();
  665. }
  666. /**
  667. * Gets the 'form.type.percent' service.
  668. *
  669. * This service is shared.
  670. * This method always returns the same instance of the service.
  671. *
  672. * @return Symfony\Component\Form\Extension\Core\Type\PercentType A Symfony\Component\Form\Extension\Core\Type\PercentType instance.
  673. */
  674. protected function getForm_Type_PercentService()
  675. {
  676. return $this->services['form.type.percent'] = new \Symfony\Component\Form\Extension\Core\Type\PercentType();
  677. }
  678. /**
  679. * Gets the 'form.type.radio' service.
  680. *
  681. * This service is shared.
  682. * This method always returns the same instance of the service.
  683. *
  684. * @return Symfony\Component\Form\Extension\Core\Type\RadioType A Symfony\Component\Form\Extension\Core\Type\RadioType instance.
  685. */
  686. protected function getForm_Type_RadioService()
  687. {
  688. return $this->services['form.type.radio'] = new \Symfony\Component\Form\Extension\Core\Type\RadioType();
  689. }
  690. /**
  691. * Gets the 'form.type.repeated' service.
  692. *
  693. * This service is shared.
  694. * This method always returns the same instance of the service.
  695. *
  696. * @return Symfony\Component\Form\Extension\Core\Type\RepeatedType A Symfony\Component\Form\Extension\Core\Type\RepeatedType instance.
  697. */
  698. protected function getForm_Type_RepeatedService()
  699. {
  700. return $this->services['form.type.repeated'] = new \Symfony\Component\Form\Extension\Core\Type\RepeatedType();
  701. }
  702. /**
  703. * Gets the 'form.type.search' service.
  704. *
  705. * This service is shared.
  706. * This method always returns the same instance of the service.
  707. *
  708. * @return Symfony\Component\Form\Extension\Core\Type\SearchType A Symfony\Component\Form\Extension\Core\Type\SearchType instance.
  709. */
  710. protected function getForm_Type_SearchService()
  711. {
  712. return $this->services['form.type.search'] = new \Symfony\Component\Form\Extension\Core\Type\SearchType();
  713. }
  714. /**
  715. * Gets the 'form.type.text' service.
  716. *
  717. * This service is shared.
  718. * This method always returns the same instance of the service.
  719. *
  720. * @return Symfony\Component\Form\Extension\Core\Type\TextType A Symfony\Component\Form\Extension\Core\Type\TextType instance.
  721. */
  722. protected function getForm_Type_TextService()
  723. {
  724. return $this->services['form.type.text'] = new \Symfony\Component\Form\Extension\Core\Type\TextType();
  725. }
  726. /**
  727. * Gets the 'form.type.textarea' service.
  728. *
  729. * This service is shared.
  730. * This method always returns the same instance of the service.
  731. *
  732. * @return Symfony\Component\Form\Extension\Core\Type\TextareaType A Symfony\Component\Form\Extension\Core\Type\TextareaType instance.
  733. */
  734. protected function getForm_Type_TextareaService()
  735. {
  736. return $this->services['form.type.textarea'] = new \Symfony\Component\Form\Extension\Core\Type\TextareaType();
  737. }
  738. /**
  739. * Gets the 'form.type.time' service.
  740. *
  741. * This service is shared.
  742. * This method always returns the same instance of the service.
  743. *
  744. * @return Symfony\Component\Form\Extension\Core\Type\TimeType A Symfony\Component\Form\Extension\Core\Type\TimeType instance.
  745. */
  746. protected function getForm_Type_TimeService()
  747. {
  748. return $this->services['form.type.time'] = new \Symfony\Component\Form\Extension\Core\Type\TimeType();
  749. }
  750. /**
  751. * Gets the 'form.type.timezone' service.
  752. *
  753. * This service is shared.
  754. * This method always returns the same instance of the service.
  755. *
  756. * @return Symfony\Component\Form\Extension\Core\Type\TimezoneType A Symfony\Component\Form\Extension\Core\Type\TimezoneType instance.
  757. */
  758. protected function getForm_Type_TimezoneService()
  759. {
  760. return $this->services['form.type.timezone'] = new \Symfony\Component\Form\Extension\Core\Type\TimezoneType();
  761. }
  762. /**
  763. * Gets the 'form.type.url' service.
  764. *
  765. * This service is shared.
  766. * This method always returns the same instance of the service.
  767. *
  768. * @return Symfony\Component\Form\Extension\Core\Type\UrlType A Symfony\Component\Form\Extension\Core\Type\UrlType instance.
  769. */
  770. protected function getForm_Type_UrlService()
  771. {
  772. return $this->services['form.type.url'] = new \Symfony\Component\Form\Extension\Core\Type\UrlType();
  773. }
  774. /**
  775. * Gets the 'form.type_extension.csrf' service.
  776. *
  777. * This service is shared.
  778. * This method always returns the same instance of the service.
  779. *
  780. * @return Symfony\Component\Form\Extension\Csrf\Type\FormTypeCsrfExtension A Symfony\Component\Form\Extension\Csrf\Type\FormTypeCsrfExtension instance.
  781. */
  782. protected function getForm_TypeExtension_CsrfService()
  783. {
  784. return $this->services['form.type_extension.csrf'] = new \Symfony\Component\Form\Extension\Csrf\Type\FormTypeCsrfExtension($this->get('form.csrf_provider'), true, '_token');
  785. }
  786. /**
  787. * Gets the 'form.type_extension.form.http_foundation' service.
  788. *
  789. * This service is shared.
  790. * This method always returns the same instance of the service.
  791. *
  792. * @return Symfony\Component\Form\Extension\HttpFoundation\Type\FormTypeHttpFoundationExtension A Symfony\Component\Form\Extension\HttpFoundation\Type\FormTypeHttpFoundationExtension instance.
  793. */
  794. protected function getForm_TypeExtension_Form_HttpFoundationService()
  795. {
  796. return $this->services['form.type_extension.form.http_foundation'] = new \Symfony\Component\Form\Extension\HttpFoundation\Type\FormTypeHttpFoundationExtension();
  797. }
  798. /**
  799. * Gets the 'form.type_extension.form.validator' service.
  800. *
  801. * This service is shared.
  802. * This method always returns the same instance of the service.
  803. *
  804. * @return Symfony\Component\Form\Extension\Validator\Type\FormTypeValidatorExtension A Symfony\Component\Form\Extension\Validator\Type\FormTypeValidatorExtension instance.
  805. */
  806. protected function getForm_TypeExtension_Form_ValidatorService()
  807. {
  808. return $this->services['form.type_extension.form.validator'] = new \Symfony\Component\Form\Extension\Validator\Type\FormTypeValidatorExtension($this->get('validator'));
  809. }
  810. /**
  811. * Gets the 'form.type_extension.repeated.validator' service.
  812. *
  813. * This service is shared.
  814. * This method always returns the same instance of the service.
  815. *
  816. * @return Symfony\Component\Form\Extension\Validator\Type\RepeatedTypeValidatorExtension A Symfony\Component\Form\Extension\Validator\Type\RepeatedTypeValidatorExtension instance.
  817. */
  818. protected function getForm_TypeExtension_Repeated_ValidatorService()
  819. {
  820. return $this->services['form.type_extension.repeated.validator'] = new \Symfony\Component\Form\Extension\Validator\Type\RepeatedTypeValidatorExtension();
  821. }
  822. /**
  823. * Gets the 'form.type_guesser.doctrine' service.
  824. *
  825. * This service is shared.
  826. * This method always returns the same instance of the service.
  827. *
  828. * @return Symfony\Bridge\Doctrine\Form\DoctrineOrmTypeGuesser A Symfony\Bridge\Doctrine\Form\DoctrineOrmTypeGuesser instance.
  829. */
  830. protected function getForm_TypeGuesser_DoctrineService()
  831. {
  832. return $this->services['form.type_guesser.doctrine'] = new \Symfony\Bridge\Doctrine\Form\DoctrineOrmTypeGuesser($this->get('doctrine'));
  833. }
  834. /**
  835. * Gets the 'form.type_guesser.validator' service.
  836. *
  837. * This service is shared.
  838. * This method always returns the same instance of the service.
  839. *
  840. * @return Symfony\Component\Form\Extension\Validator\ValidatorTypeGuesser A Symfony\Component\Form\Extension\Validator\ValidatorTypeGuesser instance.
  841. */
  842. protected function getForm_TypeGuesser_ValidatorService()
  843. {
  844. return $this->services['form.type_guesser.validator'] = new \Symfony\Component\Form\Extension\Validator\ValidatorTypeGuesser($this->get('validator.mapping.class_metadata_factory'));
  845. }
  846. /**
  847. * Gets the 'fragment.handler' service.
  848. *
  849. * This service is shared.
  850. * This method always returns the same instance of the service.
  851. *
  852. * @return Symfony\Component\HttpKernel\Fragment\FragmentHandler A Symfony\Component\HttpKernel\Fragment\FragmentHandler instance.
  853. */
  854. protected function getFragment_HandlerService()
  855. {
  856. $this->services['fragment.handler'] = $instance = new \Symfony\Component\HttpKernel\Fragment\FragmentHandler(array(), true);
  857. $instance->addRenderer($this->get('fragment.renderer.inline'));
  858. $instance->addRenderer($this->get('fragment.renderer.hinclude'));
  859. return $instance;
  860. }
  861. /**
  862. * Gets the 'fragment.listener' service.
  863. *
  864. * This service is shared.
  865. * This method always returns the same instance of the service.
  866. *
  867. * @return Symfony\Component\HttpKernel\EventListener\FragmentListener A Symfony\Component\HttpKernel\EventListener\FragmentListener instance.
  868. */
  869. protected function getFragment_ListenerService()
  870. {
  871. return $this->services['fragment.listener'] = new \Symfony\Component\HttpKernel\EventListener\FragmentListener($this->get('uri_signer'), '/_fragment');
  872. }
  873. /**
  874. * Gets the 'fragment.renderer.hinclude' service.
  875. *
  876. * This service is shared.
  877. * This method always returns the same instance of the service.
  878. *
  879. * @return Symfony\Bundle\FrameworkBundle\Fragment\ContainerAwareHIncludeFragmentRenderer A Symfony\Bundle\FrameworkBundle\Fragment\ContainerAwareHIncludeFragmentRenderer instance.
  880. */
  881. protected function getFragment_Renderer_HincludeService()
  882. {
  883. $this->services['fragment.renderer.hinclude'] = $instance = new \Symfony\Bundle\FrameworkBundle\Fragment\ContainerAwareHIncludeFragmentRenderer($this, $this->get('uri_signer'), NULL);
  884. $instance->setFragmentPath('/_fragment');
  885. return $instance;
  886. }
  887. /**
  888. * Gets the 'fragment.renderer.inline' service.
  889. *
  890. * This service is shared.
  891. * This method always returns the same instance of the service.
  892. *
  893. * @return Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer A Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer instance.
  894. */
  895. protected function getFragment_Renderer_InlineService()
  896. {
  897. $this->services['fragment.renderer.inline'] = $instance = new \Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer($this->get('http_kernel'));
  898. $instance->setFragmentPath('/_fragment');
  899. return $instance;
  900. }
  901. /**
  902. * Gets the 'http_kernel' service.
  903. *
  904. * This service is shared.
  905. * This method always returns the same instance of the service.
  906. *
  907. * @return Symfony\Bundle\FrameworkBundle\HttpKernel A Symfony\Bundle\FrameworkBundle\HttpKernel instance.
  908. */
  909. protected function getHttpKernelService()
  910. {
  911. return $this->services['http_kernel'] = new \Symfony\Bundle\FrameworkBundle\HttpKernel($this->get('debug.event_dispatcher'), $this, $this->get('debug.controller_resolver'));
  912. }
  913. /**
  914. * Gets the 'jms_aop.interceptor_loader' service.
  915. *
  916. * This service is shared.
  917. * This method always returns the same instance of the service.
  918. *
  919. * @return JMS\AopBundle\Aop\InterceptorLoader A JMS\AopBundle\Aop\InterceptorLoader instance.
  920. */
  921. protected function getJmsAop_InterceptorLoaderService()
  922. {
  923. return $this->services['jms_aop.interceptor_loader'] = new \JMS\AopBundle\Aop\InterceptorLoader($this, array());
  924. }
  925. /**
  926. * Gets the 'jms_aop.pointcut_container' service.
  927. *
  928. * This service is shared.
  929. * This method always returns the same instance of the service.
  930. *
  931. * @return JMS\AopBundle\Aop\PointcutContainer A JMS\AopBundle\Aop\PointcutContainer instance.
  932. */
  933. protected function getJmsAop_PointcutContainerService()
  934. {
  935. return $this->services['jms_aop.pointcut_container'] = new \JMS\AopBundle\Aop\PointcutContainer(array('security.access.method_interceptor' => $this->get('security.access.pointcut')));
  936. }
  937. /**
  938. * Gets the 'jms_di_extra.metadata.converter' service.
  939. *
  940. * This service is shared.
  941. * This method always returns the same instance of the service.
  942. *
  943. * @return JMS\DiExtraBundle\Metadata\MetadataConverter A JMS\DiExtraBundle\Metadata\MetadataConverter instance.
  944. */
  945. protected function getJmsDiExtra_Metadata_ConverterService()
  946. {
  947. return $this->services['jms_di_extra.metadata.converter'] = new \JMS\DiExtraBundle\Metadata\MetadataConverter();
  948. }
  949. /**
  950. * Gets the 'jms_di_extra.metadata.metadata_factory' service.
  951. *
  952. * This service is shared.
  953. * This method always returns the same instance of the service.
  954. *
  955. * @return Metadata\MetadataFactory A Metadata\MetadataFactory instance.
  956. */
  957. protected function getJmsDiExtra_Metadata_MetadataFactoryService()
  958. {
  959. $this->services['jms_di_extra.metadata.metadata_factory'] = $instance = new \Metadata\MetadataFactory(new \Metadata\Driver\LazyLoadingDriver($this, 'jms_di_extra.metadata_driver'), 'Metadata\\ClassHierarchyMetadata', true);
  960. $instance->setCache(new \Metadata\Cache\FileCache('/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/jms_diextra/metadata'));
  961. return $instance;
  962. }
  963. /**
  964. * Gets the 'jms_di_extra.metadata_driver' service.
  965. *
  966. * This service is shared.
  967. * This method always returns the same instance of the service.
  968. *
  969. * @return JMS\DiExtraBundle\Metadata\Driver\AnnotationDriver A JMS\DiExtraBundle\Metadata\Driver\AnnotationDriver instance.
  970. */
  971. protected function getJmsDiExtra_MetadataDriverService()
  972. {
  973. return $this->services['jms_di_extra.metadata_driver'] = new \JMS\DiExtraBundle\Metadata\Driver\AnnotationDriver($this->get('annotation_reader'));
  974. }
  975. /**
  976. * Gets the 'kernel' service.
  977. *
  978. * This service is shared.
  979. * This method always returns the same instance of the service.
  980. *
  981. * @throws RuntimeException always since this service is expected to be injected dynamically
  982. */
  983. protected function getKernelService()
  984. {
  985. throw new RuntimeException('You have requested a synthetic service ("kernel"). The DIC does not know how to construct this service.');
  986. }
  987. /**
  988. * Gets the 'locale_listener' service.
  989. *
  990. * This service is shared.
  991. * This method always returns the same instance of the service.
  992. *
  993. * @return Symfony\Component\HttpKernel\EventListener\LocaleListener A Symfony\Component\HttpKernel\EventListener\LocaleListener instance.
  994. */
  995. protected function getLocaleListenerService()
  996. {
  997. return $this->services['locale_listener'] = new \Symfony\Component\HttpKernel\EventListener\LocaleListener('en', $this->get('router'));
  998. }
  999. /**
  1000. * Gets the 'logger' service.
  1001. *
  1002. * This service is shared.
  1003. * This method always returns the same instance of the service.
  1004. *
  1005. * @return Symfony\Bridge\Monolog\Logger A Symfony\Bridge\Monolog\Logger instance.
  1006. */
  1007. protected function getLoggerService()
  1008. {
  1009. $this->services['logger'] = $instance = new \Symfony\Bridge\Monolog\Logger('app');
  1010. $instance->pushHandler($this->get('monolog.handler.chromephp'));
  1011. $instance->pushHandler($this->get('monolog.handler.firephp'));
  1012. $instance->pushHandler($this->get('monolog.handler.main'));
  1013. $instance->pushHandler($this->get('monolog.handler.debug'));
  1014. return $instance;
  1015. }
  1016. /**
  1017. * Gets the 'mailer' service.
  1018. *
  1019. * This service is shared.
  1020. * This method always returns the same instance of the service.
  1021. *
  1022. * @return Swift_Mailer A Swift_Mailer instance.
  1023. */
  1024. protected function getMailerService()
  1025. {
  1026. return $this->services['mailer'] = new \Swift_Mailer($this->get('swiftmailer.transport'));
  1027. }
  1028. /**
  1029. * Gets the 'monolog.handler.chromephp' service.
  1030. *
  1031. * This service is shared.
  1032. * This method always returns the same instance of the service.
  1033. *
  1034. * @return Symfony\Bridge\Monolog\Handler\ChromePhpHandler A Symfony\Bridge\Monolog\Handler\ChromePhpHandler instance.
  1035. */
  1036. protected function getMonolog_Handler_ChromephpService()
  1037. {
  1038. return $this->services['monolog.handler.chromephp'] = new \Symfony\Bridge\Monolog\Handler\ChromePhpHandler(200, true);
  1039. }
  1040. /**
  1041. * Gets the 'monolog.handler.debug' service.
  1042. *
  1043. * This service is shared.
  1044. * This method always returns the same instance of the service.
  1045. *
  1046. * @return Symfony\Bridge\Monolog\Handler\DebugHandler A Symfony\Bridge\Monolog\Handler\DebugHandler instance.
  1047. */
  1048. protected function getMonolog_Handler_DebugService()
  1049. {
  1050. return $this->services['monolog.handler.debug'] = new \Symfony\Bridge\Monolog\Handler\DebugHandler(100, true);
  1051. }
  1052. /**
  1053. * Gets the 'monolog.handler.firephp' service.
  1054. *
  1055. * This service is shared.
  1056. * This method always returns the same instance of the service.
  1057. *
  1058. * @return Symfony\Bridge\Monolog\Handler\FirePHPHandler A Symfony\Bridge\Monolog\Handler\FirePHPHandler instance.
  1059. */
  1060. protected function getMonolog_Handler_FirephpService()
  1061. {
  1062. return $this->services['monolog.handler.firephp'] = new \Symfony\Bridge\Monolog\Handler\FirePHPHandler(200, true);
  1063. }
  1064. /**
  1065. * Gets the 'monolog.handler.main' service.
  1066. *
  1067. * This service is shared.
  1068. * This method always returns the same instance of the service.
  1069. *
  1070. * @return Monolog\Handler\StreamHandler A Monolog\Handler\StreamHandler instance.
  1071. */
  1072. protected function getMonolog_Handler_MainService()
  1073. {
  1074. return $this->services['monolog.handler.main'] = new \Monolog\Handler\StreamHandler('/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/logs/dev.log', 100, true);
  1075. }
  1076. /**
  1077. * Gets the 'monolog.logger.deprecation' service.
  1078. *
  1079. * This service is shared.
  1080. * This method always returns the same instance of the service.
  1081. *
  1082. * @return Symfony\Bridge\Monolog\Logger A Symfony\Bridge\Monolog\Logger instance.
  1083. */
  1084. protected function getMonolog_Logger_DeprecationService()
  1085. {
  1086. $this->services['monolog.logger.deprecation'] = $instance = new \Symfony\Bridge\Monolog\Logger('deprecation');
  1087. $instance->pushHandler($this->get('monolog.handler.chromephp'));
  1088. $instance->pushHandler($this->get('monolog.handler.firephp'));
  1089. $instance->pushHandler($this->get('monolog.handler.main'));
  1090. $instance->pushHandler($this->get('monolog.handler.debug'));
  1091. return $instance;
  1092. }
  1093. /**
  1094. * Gets the 'monolog.logger.doctrine' service.
  1095. *
  1096. * This service is shared.
  1097. * This method always returns the same instance of the service.
  1098. *
  1099. * @return Symfony\Bridge\Monolog\Logger A Symfony\Bridge\Monolog\Logger instance.
  1100. */
  1101. protected function getMonolog_Logger_DoctrineService()
  1102. {
  1103. $this->services['monolog.logger.doctrine'] = $instance = new \Symfony\Bridge\Monolog\Logger('doctrine');
  1104. $instance->pushHandler($this->get('monolog.handler.chromephp'));
  1105. $instance->pushHandler($this->get('monolog.handler.firephp'));
  1106. $instance->pushHandler($this->get('monolog.handler.main'));
  1107. $instance->pushHandler($this->get('monolog.handler.debug'));
  1108. return $instance;
  1109. }
  1110. /**
  1111. * Gets the 'monolog.logger.event' service.
  1112. *
  1113. * This service is shared.
  1114. * This method always returns the same instance of the service.
  1115. *
  1116. * @return Symfony\Bridge\Monolog\Logger A Symfony\Bridge\Monolog\Logger instance.
  1117. */
  1118. protected function getMonolog_Logger_EventService()
  1119. {
  1120. $this->services['monolog.logger.event'] = $instance = new \Symfony\Bridge\Monolog\Logger('event');
  1121. $instance->pushHandler($this->get('monolog.handler.chromephp'));
  1122. $instance->pushHandler($this->get('monolog.handler.firephp'));
  1123. $instance->pushHandler($this->get('monolog.handler.main'));
  1124. $instance->pushHandler($this->get('monolog.handler.debug'));
  1125. return $instance;
  1126. }
  1127. /**
  1128. * Gets the 'monolog.logger.profiler' service.
  1129. *
  1130. * This service is shared.
  1131. * This method always returns the same instance of the service.
  1132. *
  1133. * @return Symfony\Bridge\Monolog\Logger A Symfony\Bridge\Monolog\Logger instance.
  1134. */
  1135. protected function getMonolog_Logger_ProfilerService()
  1136. {
  1137. $this->services['monolog.logger.profiler'] = $instance = new \Symfony\Bridge\Monolog\Logger('profiler');
  1138. $instance->pushHandler($this->get('monolog.handler.chromephp'));
  1139. $instance->pushHandler($this->get('monolog.handler.firephp'));
  1140. $instance->pushHandler($this->get('monolog.handler.main'));
  1141. $instance->pushHandler($this->get('monolog.handler.debug'));
  1142. return $instance;
  1143. }
  1144. /**
  1145. * Gets the 'monolog.logger.request' service.
  1146. *
  1147. * This service is shared.
  1148. * This method always returns the same instance of the service.
  1149. *
  1150. * @return Symfony\Bridge\Monolog\Logger A Symfony\Bridge\Monolog\Logger instance.
  1151. */
  1152. protected function getMonolog_Logger_RequestService()
  1153. {
  1154. $this->services['monolog.logger.request'] = $instance = new \Symfony\Bridge\Monolog\Logger('request');
  1155. $instance->pushHandler($this->get('monolog.handler.chromephp'));
  1156. $instance->pushHandler($this->get('monolog.handler.firephp'));
  1157. $instance->pushHandler($this->get('monolog.handler.main'));
  1158. $instance->pushHandler($this->get('monolog.handler.debug'));
  1159. return $instance;
  1160. }
  1161. /**
  1162. * Gets the 'monolog.logger.router' service.
  1163. *
  1164. * This service is shared.
  1165. * This method always returns the same instance of the service.
  1166. *
  1167. * @return Symfony\Bridge\Monolog\Logger A Symfony\Bridge\Monolog\Logger instance.
  1168. */
  1169. protected function getMonolog_Logger_RouterService()
  1170. {
  1171. $this->services['monolog.logger.router'] = $instance = new \Symfony\Bridge\Monolog\Logger('router');
  1172. $instance->pushHandler($this->get('monolog.handler.chromephp'));
  1173. $instance->pushHandler($this->get('monolog.handler.firephp'));
  1174. $instance->pushHandler($this->get('monolog.handler.main'));
  1175. $instance->pushHandler($this->get('monolog.handler.debug'));
  1176. return $instance;
  1177. }
  1178. /**
  1179. * Gets the 'monolog.logger.security' service.
  1180. *
  1181. * This service is shared.
  1182. * This method always returns the same instance of the service.
  1183. *
  1184. * @return Symfony\Bridge\Monolog\Logger A Symfony\Bridge\Monolog\Logger instance.
  1185. */
  1186. protected function getMonolog_Logger_SecurityService()
  1187. {
  1188. $this->services['monolog.logger.security'] = $instance = new \Symfony\Bridge\Monolog\Logger('security');
  1189. $instance->pushHandler($this->get('monolog.handler.chromephp'));
  1190. $instance->pushHandler($this->get('monolog.handler.firephp'));
  1191. $instance->pushHandler($this->get('monolog.handler.main'));
  1192. $instance->pushHandler($this->get('monolog.handler.debug'));
  1193. return $instance;
  1194. }
  1195. /**
  1196. * Gets the 'monolog.logger.templating' service.
  1197. *
  1198. * This service is shared.
  1199. * This method always returns the same instance of the service.
  1200. *
  1201. * @return Symfony\Bridge\Monolog\Logger A Symfony\Bridge\Monolog\Logger instance.
  1202. */
  1203. protected function getMonolog_Logger_TemplatingService()
  1204. {
  1205. $this->services['monolog.logger.templating'] = $instance = new \Symfony\Bridge\Monolog\Logger('templating');
  1206. $instance->pushHandler($this->get('monolog.handler.chromephp'));
  1207. $instance->pushHandler($this->get('monolog.handler.firephp'));
  1208. $instance->pushHandler($this->get('monolog.handler.main'));
  1209. $instance->pushHandler($this->get('monolog.handler.debug'));
  1210. return $instance;
  1211. }
  1212. /**
  1213. * Gets the 'profiler' service.
  1214. *
  1215. * This service is shared.
  1216. * This method always returns the same instance of the service.
  1217. *
  1218. * @return Symfony\Component\HttpKernel\Profiler\Profiler A Symfony\Component\HttpKernel\Profiler\Profiler instance.
  1219. */
  1220. protected function getProfilerService()
  1221. {
  1222. $a = $this->get('monolog.logger.profiler');
  1223. $b = $this->get('kernel');
  1224. $c = new \Symfony\Component\HttpKernel\DataCollector\ConfigDataCollector();
  1225. $c->setKernel($b);
  1226. $d = new \Doctrine\Bundle\DoctrineBundle\DataCollector\DoctrineDataCollector($this->get('doctrine'));
  1227. $d->addLogger('default', $this->get('doctrine.dbal.logger.profiling.default'));
  1228. $this->services['profiler'] = $instance = new \Symfony\Component\HttpKernel\Profiler\Profiler(new \Symfony\Component\HttpKernel\Profiler\FileProfilerStorage('file:/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/profiler', '', '', 86400), $a);
  1229. $instance->add($c);
  1230. $instance->add($this->get('data_collector.request'));
  1231. $instance->add(new \Symfony\Component\HttpKernel\DataCollector\ExceptionDataCollector());
  1232. $instance->add(new \Symfony\Component\HttpKernel\DataCollector\EventDataCollector());
  1233. $instance->add(new \Symfony\Component\HttpKernel\DataCollector\LoggerDataCollector($a));
  1234. $instance->add(new \Symfony\Component\HttpKernel\DataCollector\TimeDataCollector($b));
  1235. $instance->add(new \Symfony\Component\HttpKernel\DataCollector\MemoryDataCollector());
  1236. $instance->add($this->get('data_collector.router'));
  1237. $instance->add(new \Symfony\Bundle\SecurityBundle\DataCollector\SecurityDataCollector($this->get('security.context')));
  1238. $instance->add(new \Symfony\Bridge\Swiftmailer\DataCollector\MessageDataCollector($this, true));
  1239. $instance->add($d);
  1240. return $instance;
  1241. }
  1242. /**
  1243. * Gets the 'profiler_listener' service.
  1244. *
  1245. * This service is shared.
  1246. * This method always returns the same instance of the service.
  1247. *
  1248. * @return Symfony\Component\HttpKernel\EventListener\ProfilerListener A Symfony\Component\HttpKernel\EventListener\ProfilerListener instance.
  1249. */
  1250. protected function getProfilerListenerService()
  1251. {
  1252. return $this->services['profiler_listener'] = new \Symfony\Component\HttpKernel\EventListener\ProfilerListener($this->get('profiler'), NULL, false, false);
  1253. }
  1254. /**
  1255. * Gets the 'property_accessor' service.
  1256. *
  1257. * This service is shared.
  1258. * This method always returns the same instance of the service.
  1259. *
  1260. * @return Symfony\Component\PropertyAccess\PropertyAccessor A Symfony\Component\PropertyAccess\PropertyAccessor instance.
  1261. */
  1262. protected function getPropertyAccessorService()
  1263. {
  1264. return $this->services['property_accessor'] = new \Symfony\Component\PropertyAccess\PropertyAccessor();
  1265. }
  1266. /**
  1267. * Gets the 'request' service.
  1268. *
  1269. * This service is shared.
  1270. * This method always returns the same instance of the service.
  1271. *
  1272. * @throws RuntimeException always since this service is expected to be injected dynamically
  1273. */
  1274. protected function getRequestService()
  1275. {
  1276. if (!isset($this->scopedServices['request'])) {
  1277. throw new InactiveScopeException('request', 'request');
  1278. }
  1279. throw new RuntimeException('You have requested a synthetic service ("request"). The DIC does not know how to construct this service.');
  1280. }
  1281. /**
  1282. * Gets the 'response_listener' service.
  1283. *
  1284. * This service is shared.
  1285. * This method always returns the same instance of the service.
  1286. *
  1287. * @return Symfony\Component\HttpKernel\EventListener\ResponseListener A Symfony\Component\HttpKernel\EventListener\ResponseListener instance.
  1288. */
  1289. protected function getResponseListenerService()
  1290. {
  1291. return $this->services['response_listener'] = new \Symfony\Component\HttpKernel\EventListener\ResponseListener('UTF-8');
  1292. }
  1293. /**
  1294. * Gets the 'router' service.
  1295. *
  1296. * This service is shared.
  1297. * This method always returns the same instance of the service.
  1298. *
  1299. * @return Symfony\Bundle\FrameworkBundle\Routing\Router A Symfony\Bundle\FrameworkBundle\Routing\Router instance.
  1300. */
  1301. protected function getRouterService()
  1302. {
  1303. return $this->services['router'] = new \Symfony\Bundle\FrameworkBundle\Routing\Router($this, '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/assetic/routing.yml', array('cache_dir' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev', 'debug' => true, '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' => 'appdevUrlGenerator', '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' => 'appdevUrlMatcher', 'strict_requirements' => true), $this->get('router.request_context'), $this->get('monolog.logger.router'));
  1304. }
  1305. /**
  1306. * Gets the 'router_listener' service.
  1307. *
  1308. * This service is shared.
  1309. * This method always returns the same instance of the service.
  1310. *
  1311. * @return Symfony\Component\HttpKernel\EventListener\RouterListener A Symfony\Component\HttpKernel\EventListener\RouterListener instance.
  1312. */
  1313. protected function getRouterListenerService()
  1314. {
  1315. return $this->services['router_listener'] = new \Symfony\Component\HttpKernel\EventListener\RouterListener($this->get('router'), $this->get('router.request_context'), $this->get('monolog.logger.request'));
  1316. }
  1317. /**
  1318. * Gets the 'routing.loader' service.
  1319. *
  1320. * This service is shared.
  1321. * This method always returns the same instance of the service.
  1322. *
  1323. * @return Symfony\Bundle\FrameworkBundle\Routing\DelegatingLoader A Symfony\Bundle\FrameworkBundle\Routing\DelegatingLoader instance.
  1324. */
  1325. protected function getRouting_LoaderService()
  1326. {
  1327. $a = $this->get('file_locator');
  1328. $b = $this->get('annotation_reader');
  1329. $c = new \Sensio\Bundle\FrameworkExtraBundle\Routing\AnnotatedRouteControllerLoader($b);
  1330. $d = new \Symfony\Component\Config\Loader\LoaderResolver();
  1331. $d->addLoader(new \Symfony\Component\Routing\Loader\XmlFileLoader($a));
  1332. $d->addLoader(new \Symfony\Component\Routing\Loader\YamlFileLoader($a));
  1333. $d->addLoader(new \Symfony\Component\Routing\Loader\PhpFileLoader($a));
  1334. $d->addLoader(new \Symfony\Bundle\AsseticBundle\Routing\AsseticLoader($this->get('assetic.asset_manager')));
  1335. $d->addLoader(new \Symfony\Component\Routing\Loader\AnnotationDirectoryLoader($a, $c));
  1336. $d->addLoader(new \Symfony\Component\Routing\Loader\AnnotationFileLoader($a, $c));
  1337. $d->addLoader($c);
  1338. return $this->services['routing.loader'] = new \Symfony\Bundle\FrameworkBundle\Routing\DelegatingLoader($this->get('controller_name_converter'), $this->get('monolog.logger.router'), $d);
  1339. }
  1340. /**
  1341. * Gets the 'security.access.decision_manager' service.
  1342. *
  1343. * This service is shared.
  1344. * This method always returns the same instance of the service.
  1345. *
  1346. * @return JMS\SecurityExtraBundle\Security\Authorization\RememberingAccessDecisionManager A JMS\SecurityExtraBundle\Security\Authorization\RememberingAccessDecisionManager instance.
  1347. */
  1348. protected function getSecurity_Access_DecisionManagerService()
  1349. {
  1350. $a = new \JMS\SecurityExtraBundle\Security\Authorization\Expression\LazyLoadingExpressionVoter($this->get('security.expressions.handler'), $this->get('monolog.logger.security'));
  1351. $a->setLazyCompiler($this, 'security.expressions.compiler');
  1352. $a->setCacheDir('/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/jms_security/expressions');
  1353. return $this->services['security.access.decision_manager'] = new \JMS\SecurityExtraBundle\Security\Authorization\RememberingAccessDecisionManager(new \Symfony\Component\Security\Core\Authorization\AccessDecisionManager(array(0 => $a, 1 => new \Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter($this->get('security.role_hierarchy')), 2 => new \Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter($this->get('security.authentication.trust_resolver'))), 'affirmative', false, true));
  1354. }
  1355. /**
  1356. * Gets the 'security.access.method_interceptor' service.
  1357. *
  1358. * This service is shared.
  1359. * This method always returns the same instance of the service.
  1360. *
  1361. * @return JMS\SecurityExtraBundle\Security\Authorization\Interception\MethodSecurityInterceptor A JMS\SecurityExtraBundle\Security\Authorization\Interception\MethodSecurityInterceptor instance.
  1362. */
  1363. protected function getSecurity_Access_MethodInterceptorService()
  1364. {
  1365. 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('security.extra.metadata_factory'), $this->get('monolog.logger.security'));
  1366. }
  1367. /**
  1368. * Gets the 'security.access.pointcut' service.
  1369. *
  1370. * This service is shared.
  1371. * This method always returns the same instance of the service.
  1372. *
  1373. * @return JMS\SecurityExtraBundle\Security\Authorization\Interception\SecurityPointcut A JMS\SecurityExtraBundle\Security\Authorization\Interception\SecurityPointcut instance.
  1374. */
  1375. protected function getSecurity_Access_PointcutService()
  1376. {
  1377. $this->services['security.access.pointcut'] = $instance = new \JMS\SecurityExtraBundle\Security\Authorization\Interception\SecurityPointcut($this->get('security.extra.metadata_factory'), false, array());
  1378. $instance->setSecuredClasses(array());
  1379. return $instance;
  1380. }
  1381. /**
  1382. * Gets the 'security.authentication.trust_resolver' service.
  1383. *
  1384. * This service is shared.
  1385. * This method always returns the same instance of the service.
  1386. *
  1387. * @return Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver A Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver instance.
  1388. */
  1389. protected function getSecurity_Authentication_TrustResolverService()
  1390. {
  1391. 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');
  1392. }
  1393. /**
  1394. * Gets the 'security.context' service.
  1395. *
  1396. * This service is shared.
  1397. * This method always returns the same instance of the service.
  1398. *
  1399. * @return Symfony\Component\Security\Core\SecurityContext A Symfony\Component\Security\Core\SecurityContext instance.
  1400. */
  1401. protected function getSecurity_ContextService()
  1402. {
  1403. return $this->services['security.context'] = new \Symfony\Component\Security\Core\SecurityContext($this->get('security.authentication.manager'), $this->get('security.access.decision_manager'), false);
  1404. }
  1405. /**
  1406. * Gets the 'security.encoder_factory' service.
  1407. *
  1408. * This service is shared.
  1409. * This method always returns the same instance of the service.
  1410. *
  1411. * @return Symfony\Component\Security\Core\Encoder\EncoderFactory A Symfony\Component\Security\Core\Encoder\EncoderFactory instance.
  1412. */
  1413. protected function getSecurity_EncoderFactoryService()
  1414. {
  1415. 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))));
  1416. }
  1417. /**
  1418. * Gets the 'security.expressions.compiler' service.
  1419. *
  1420. * This service is shared.
  1421. * This method always returns the same instance of the service.
  1422. *
  1423. * @return JMS\SecurityExtraBundle\Security\Authorization\Expression\ExpressionCompiler A JMS\SecurityExtraBundle\Security\Authorization\Expression\ExpressionCompiler instance.
  1424. */
  1425. protected function getSecurity_Expressions_CompilerService()
  1426. {
  1427. $a = new \JMS\SecurityExtraBundle\Security\Authorization\Expression\Compiler\ContainerAwareVariableCompiler();
  1428. $a->setMaps(array('trust_resolver' => 'security.authentication.trust_resolver', 'role_hierarchy' => 'security.role_hierarchy', 'permission_evaluator' => 'security.acl.permission_evaluator'), array());
  1429. $this->services['security.expressions.compiler'] = $instance = new \JMS\SecurityExtraBundle\Security\Authorization\Expression\ExpressionCompiler();
  1430. $instance->addFunctionCompiler(new \JMS\SecurityExtraBundle\Security\Acl\Expression\HasPermissionFunctionCompiler());
  1431. $instance->addTypeCompiler(new \JMS\SecurityExtraBundle\Security\Authorization\Expression\Compiler\ParameterExpressionCompiler());
  1432. $instance->addTypeCompiler($a);
  1433. return $instance;
  1434. }
  1435. /**
  1436. * Gets the 'security.expressions.reverse_interpreter' service.
  1437. *
  1438. * This service is shared.
  1439. * This method always returns the same instance of the service.
  1440. *
  1441. * @return JMS\SecurityExtraBundle\Security\Authorization\Expression\ReverseInterpreter A JMS\SecurityExtraBundle\Security\Authorization\Expression\ReverseInterpreter instance.
  1442. */
  1443. protected function getSecurity_Expressions_ReverseInterpreterService()
  1444. {
  1445. return $this->services['security.expressions.reverse_interpreter'] = new \JMS\SecurityExtraBundle\Security\Authorization\Expression\ReverseInterpreter($this->get('security.expressions.compiler'), $this->get('security.expressions.handler'));
  1446. }
  1447. /**
  1448. * Gets the 'security.extra.metadata_driver' service.
  1449. *
  1450. * This service is shared.
  1451. * This method always returns the same instance of the service.
  1452. *
  1453. * @return Metadata\Driver\DriverChain A Metadata\Driver\DriverChain instance.
  1454. */
  1455. protected function getSecurity_Extra_MetadataDriverService()
  1456. {
  1457. return $this->services['security.extra.metadata_driver'] = new \Metadata\Driver\DriverChain(array(0 => new \JMS\SecurityExtraBundle\Metadata\Driver\AnnotationDriver($this->get('annotation_reader'))));
  1458. }
  1459. /**
  1460. * Gets the 'security.firewall' service.
  1461. *
  1462. * This service is shared.
  1463. * This method always returns the same instance of the service.
  1464. *
  1465. * @return Symfony\Component\Security\Http\Firewall A Symfony\Component\Security\Http\Firewall instance.
  1466. */
  1467. protected function getSecurity_FirewallService()
  1468. {
  1469. 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'));
  1470. }
  1471. /**
  1472. * Gets the 'security.firewall.map.context.dev' service.
  1473. *
  1474. * This service is shared.
  1475. * This method always returns the same instance of the service.
  1476. *
  1477. * @return Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
  1478. */
  1479. protected function getSecurity_Firewall_Map_Context_DevService()
  1480. {
  1481. return $this->services['security.firewall.map.context.dev'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(), NULL);
  1482. }
  1483. /**
  1484. * Gets the 'security.firewall.map.context.login' service.
  1485. *
  1486. * This service is shared.
  1487. * This method always returns the same instance of the service.
  1488. *
  1489. * @return Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
  1490. */
  1491. protected function getSecurity_Firewall_Map_Context_LoginService()
  1492. {
  1493. return $this->services['security.firewall.map.context.login'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(), NULL);
  1494. }
  1495. /**
  1496. * Gets the 'security.firewall.map.context.secured_area' service.
  1497. *
  1498. * This service is shared.
  1499. * This method always returns the same instance of the service.
  1500. *
  1501. * @return Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
  1502. */
  1503. protected function getSecurity_Firewall_Map_Context_SecuredAreaService()
  1504. {
  1505. $a = $this->get('monolog.logger.security');
  1506. $b = $this->get('security.context');
  1507. $c = $this->get('event_dispatcher');
  1508. $d = $this->get('router');
  1509. $e = $this->get('http_kernel');
  1510. $f = $this->get('security.authentication.manager');
  1511. $g = new \Symfony\Component\Security\Http\AccessMap();
  1512. $h = new \Symfony\Component\Security\Http\HttpUtils($d, $d);
  1513. $i = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $h, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($h, '_demo'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => '_demo_logout'));
  1514. $i->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
  1515. $j = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($h, array('login_path' => '_demo_login', 'always_use_default_target_path' => false, 'default_target_path' => '/', 'target_path_parameter' => '_target_path', 'use_referer' => false));
  1516. $j->setProviderKey('secured_area');
  1517. return $this->services['security.firewall.map.context.secured_area'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($g, 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 => $i, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $f, new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate'), $h, 'secured_area', $j, new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($e, $h, array('login_path' => '_demo_login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'), $a), array('check_path' => '_security_check', 'use_forward' => false, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $a, $c), 4 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $g, $f, $a)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $h, 'secured_area', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($e, $h, '_demo_login', false), NULL, NULL, $a));
  1518. }
  1519. /**
  1520. * Gets the 'security.rememberme.response_listener' service.
  1521. *
  1522. * This service is shared.
  1523. * This method always returns the same instance of the service.
  1524. *
  1525. * @return Symfony\Component\Security\Http\RememberMe\ResponseListener A Symfony\Component\Security\Http\RememberMe\ResponseListener instance.
  1526. */
  1527. protected function getSecurity_Rememberme_ResponseListenerService()
  1528. {
  1529. return $this->services['security.rememberme.response_listener'] = new \Symfony\Component\Security\Http\RememberMe\ResponseListener();
  1530. }
  1531. /**
  1532. * Gets the 'security.role_hierarchy' service.
  1533. *
  1534. * This service is shared.
  1535. * This method always returns the same instance of the service.
  1536. *
  1537. * @return Symfony\Component\Security\Core\Role\RoleHierarchy A Symfony\Component\Security\Core\Role\RoleHierarchy instance.
  1538. */
  1539. protected function getSecurity_RoleHierarchyService()
  1540. {
  1541. return $this->services['security.role_hierarchy'] = 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')));
  1542. }
  1543. /**
  1544. * Gets the 'security.secure_random' service.
  1545. *
  1546. * This service is shared.
  1547. * This method always returns the same instance of the service.
  1548. *
  1549. * @return Symfony\Component\Security\Core\Util\SecureRandom A Symfony\Component\Security\Core\Util\SecureRandom instance.
  1550. */
  1551. protected function getSecurity_SecureRandomService()
  1552. {
  1553. return $this->services['security.secure_random'] = new \Symfony\Component\Security\Core\Util\SecureRandom('/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/secure_random.seed', $this->get('monolog.logger.security'));
  1554. }
  1555. /**
  1556. * Gets the 'security.validator.user_password' service.
  1557. *
  1558. * This service is shared.
  1559. * This method always returns the same instance of the service.
  1560. *
  1561. * @return Symfony\Component\Security\Core\Validator\Constraints\UserPasswordValidator A Symfony\Component\Security\Core\Validator\Constraints\UserPasswordValidator instance.
  1562. */
  1563. protected function getSecurity_Validator_UserPasswordService()
  1564. {
  1565. return $this->services['security.validator.user_password'] = new \Symfony\Component\Security\Core\Validator\Constraints\UserPasswordValidator($this->get('security.context'), $this->get('security.encoder_factory'));
  1566. }
  1567. /**
  1568. * Gets the 'sensio.distribution.webconfigurator' service.
  1569. *
  1570. * This service is shared.
  1571. * This method always returns the same instance of the service.
  1572. *
  1573. * @return Sensio\Bundle\DistributionBundle\Configurator\Configurator A Sensio\Bundle\DistributionBundle\Configurator\Configurator instance.
  1574. */
  1575. protected function getSensio_Distribution_WebconfiguratorService()
  1576. {
  1577. return $this->services['sensio.distribution.webconfigurator'] = new \Sensio\Bundle\DistributionBundle\Configurator\Configurator('/opt/local/apache2/htdocs/Symfony2-RESTAPI/app');
  1578. }
  1579. /**
  1580. * Gets the 'sensio_framework_extra.cache.listener' service.
  1581. *
  1582. * This service is shared.
  1583. * This method always returns the same instance of the service.
  1584. *
  1585. * @return Sensio\Bundle\FrameworkExtraBundle\EventListener\CacheListener A Sensio\Bundle\FrameworkExtraBundle\EventListener\CacheListener instance.
  1586. */
  1587. protected function getSensioFrameworkExtra_Cache_ListenerService()
  1588. {
  1589. return $this->services['sensio_framework_extra.cache.listener'] = new \Sensio\Bundle\FrameworkExtraBundle\EventListener\CacheListener();
  1590. }
  1591. /**
  1592. * Gets the 'sensio_framework_extra.controller.listener' service.
  1593. *
  1594. * This service is shared.
  1595. * This method always returns the same instance of the service.
  1596. *
  1597. * @return Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener A Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener instance.
  1598. */
  1599. protected function getSensioFrameworkExtra_Controller_ListenerService()
  1600. {
  1601. return $this->services['sensio_framework_extra.controller.listener'] = new \Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener($this->get('annotation_reader'));
  1602. }
  1603. /**
  1604. * Gets the 'sensio_framework_extra.converter.datetime' service.
  1605. *
  1606. * This service is shared.
  1607. * This method always returns the same instance of the service.
  1608. *
  1609. * @return Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DateTimeParamConverter A Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DateTimeParamConverter instance.
  1610. */
  1611. protected function getSensioFrameworkExtra_Converter_DatetimeService()
  1612. {
  1613. return $this->services['sensio_framework_extra.converter.datetime'] = new \Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DateTimeParamConverter();
  1614. }
  1615. /**
  1616. * Gets the 'sensio_framework_extra.converter.doctrine.orm' service.
  1617. *
  1618. * This service is shared.
  1619. * This method always returns the same instance of the service.
  1620. *
  1621. * @return Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter A Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter instance.
  1622. */
  1623. protected function getSensioFrameworkExtra_Converter_Doctrine_OrmService()
  1624. {
  1625. return $this->services['sensio_framework_extra.converter.doctrine.orm'] = new \Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter($this->get('doctrine'));
  1626. }
  1627. /**
  1628. * Gets the 'sensio_framework_extra.converter.listener' service.
  1629. *
  1630. * This service is shared.
  1631. * This method always returns the same instance of the service.
  1632. *
  1633. * @return Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener A Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener instance.
  1634. */
  1635. protected function getSensioFrameworkExtra_Converter_ListenerService()
  1636. {
  1637. return $this->services['sensio_framework_extra.converter.listener'] = new \Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener($this->get('sensio_framework_extra.converter.manager'));
  1638. }
  1639. /**
  1640. * Gets the 'sensio_framework_extra.converter.manager' service.
  1641. *
  1642. * This service is shared.
  1643. * This method always returns the same instance of the service.
  1644. *
  1645. * @return Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterManager A Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterManager instance.
  1646. */
  1647. protected function getSensioFrameworkExtra_Converter_ManagerService()
  1648. {
  1649. $this->services['sensio_framework_extra.converter.manager'] = $instance = new \Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterManager();
  1650. $instance->add($this->get('sensio_framework_extra.converter.doctrine.orm'), 0, 'doctrine.orm');
  1651. $instance->add($this->get('sensio_framework_extra.converter.datetime'), 0, 'datetime');
  1652. return $instance;
  1653. }
  1654. /**
  1655. * Gets the 'sensio_framework_extra.view.guesser' service.
  1656. *
  1657. * This service is shared.
  1658. * This method always returns the same instance of the service.
  1659. *
  1660. * @return Sensio\Bundle\FrameworkExtraBundle\Templating\TemplateGuesser A Sensio\Bundle\FrameworkExtraBundle\Templating\TemplateGuesser instance.
  1661. */
  1662. protected function getSensioFrameworkExtra_View_GuesserService()
  1663. {
  1664. return $this->services['sensio_framework_extra.view.guesser'] = new \Sensio\Bundle\FrameworkExtraBundle\Templating\TemplateGuesser($this->get('kernel'));
  1665. }
  1666. /**
  1667. * Gets the 'sensio_framework_extra.view.listener' service.
  1668. *
  1669. * This service is shared.
  1670. * This method always returns the same instance of the service.
  1671. *
  1672. * @return Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener A Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener instance.
  1673. */
  1674. protected function getSensioFrameworkExtra_View_ListenerService()
  1675. {
  1676. return $this->services['sensio_framework_extra.view.listener'] = new \Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener($this);
  1677. }
  1678. /**
  1679. * Gets the 'service_container' service.
  1680. *
  1681. * This service is shared.
  1682. * This method always returns the same instance of the service.
  1683. *
  1684. * @throws RuntimeException always since this service is expected to be injected dynamically
  1685. */
  1686. protected function getServiceContainerService()
  1687. {
  1688. throw new RuntimeException('You have requested a synthetic service ("service_container"). The DIC does not know how to construct this service.');
  1689. }
  1690. /**
  1691. * Gets the 'session' service.
  1692. *
  1693. * This service is shared.
  1694. * This method always returns the same instance of the service.
  1695. *
  1696. * @return Symfony\Component\HttpFoundation\Session\Session A Symfony\Component\HttpFoundation\Session\Session instance.
  1697. */
  1698. protected function getSessionService()
  1699. {
  1700. return $this->services['session'] = new \Symfony\Component\HttpFoundation\Session\Session($this->get('session.storage.native'), new \Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag(), new \Symfony\Component\HttpFoundation\Session\Flash\FlashBag());
  1701. }
  1702. /**
  1703. * Gets the 'session.handler' service.
  1704. *
  1705. * This service is shared.
  1706. * This method always returns the same instance of the service.
  1707. *
  1708. * @return Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeFileSessionHandler A Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeFileSessionHandler instance.
  1709. */
  1710. protected function getSession_HandlerService()
  1711. {
  1712. return $this->services['session.handler'] = new \Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeFileSessionHandler('/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/sessions');
  1713. }
  1714. /**
  1715. * Gets the 'session.storage.filesystem' service.
  1716. *
  1717. * This service is shared.
  1718. * This method always returns the same instance of the service.
  1719. *
  1720. * @return Symfony\Component\HttpFoundation\Session\Storage\MockFileSessionStorage A Symfony\Component\HttpFoundation\Session\Storage\MockFileSessionStorage instance.
  1721. */
  1722. protected function getSession_Storage_FilesystemService()
  1723. {
  1724. return $this->services['session.storage.filesystem'] = new \Symfony\Component\HttpFoundation\Session\Storage\MockFileSessionStorage('/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/sessions');
  1725. }
  1726. /**
  1727. * Gets the 'session.storage.native' service.
  1728. *
  1729. * This service is shared.
  1730. * This method always returns the same instance of the service.
  1731. *
  1732. * @return Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage A Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage instance.
  1733. */
  1734. protected function getSession_Storage_NativeService()
  1735. {
  1736. return $this->services['session.storage.native'] = new \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage(array(), $this->get('session.handler'));
  1737. }
  1738. /**
  1739. * Gets the 'session_listener' service.
  1740. *
  1741. * This service is shared.
  1742. * This method always returns the same instance of the service.
  1743. *
  1744. * @return Symfony\Bundle\FrameworkBundle\EventListener\SessionListener A Symfony\Bundle\FrameworkBundle\EventListener\SessionListener instance.
  1745. */
  1746. protected function getSessionListenerService()
  1747. {
  1748. return $this->services['session_listener'] = new \Symfony\Bundle\FrameworkBundle\EventListener\SessionListener($this);
  1749. }
  1750. /**
  1751. * Gets the 'streamed_response_listener' service.
  1752. *
  1753. * This service is shared.
  1754. * This method always returns the same instance of the service.
  1755. *
  1756. * @return Symfony\Component\HttpKernel\EventListener\StreamedResponseListener A Symfony\Component\HttpKernel\EventListener\StreamedResponseListener instance.
  1757. */
  1758. protected function getStreamedResponseListenerService()
  1759. {
  1760. return $this->services['streamed_response_listener'] = new \Symfony\Component\HttpKernel\EventListener\StreamedResponseListener();
  1761. }
  1762. /**
  1763. * Gets the 'swiftmailer.email_sender.listener' service.
  1764. *
  1765. * This service is shared.
  1766. * This method always returns the same instance of the service.
  1767. *
  1768. * @return Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener A Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener instance.
  1769. */
  1770. protected function getSwiftmailer_EmailSender_ListenerService()
  1771. {
  1772. return $this->services['swiftmailer.email_sender.listener'] = new \Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener($this);
  1773. }
  1774. /**
  1775. * Gets the 'swiftmailer.plugin.messagelogger' service.
  1776. *
  1777. * This service is shared.
  1778. * This method always returns the same instance of the service.
  1779. *
  1780. * @return Swift_Plugins_MessageLogger A Swift_Plugins_MessageLogger instance.
  1781. */
  1782. protected function getSwiftmailer_Plugin_MessageloggerService()
  1783. {
  1784. return $this->services['swiftmailer.plugin.messagelogger'] = new \Swift_Plugins_MessageLogger();
  1785. }
  1786. /**
  1787. * Gets the 'swiftmailer.spool' service.
  1788. *
  1789. * This service is shared.
  1790. * This method always returns the same instance of the service.
  1791. *
  1792. * @return Swift_MemorySpool A Swift_MemorySpool instance.
  1793. */
  1794. protected function getSwiftmailer_SpoolService()
  1795. {
  1796. return $this->services['swiftmailer.spool'] = new \Swift_MemorySpool();
  1797. }
  1798. /**
  1799. * Gets the 'swiftmailer.transport' service.
  1800. *
  1801. * This service is shared.
  1802. * This method always returns the same instance of the service.
  1803. *
  1804. * @return Swift_Transport_SpoolTransport A Swift_Transport_SpoolTransport instance.
  1805. */
  1806. protected function getSwiftmailer_TransportService()
  1807. {
  1808. $this->services['swiftmailer.transport'] = $instance = new \Swift_Transport_SpoolTransport($this->get('swiftmailer.transport.eventdispatcher'), $this->get('swiftmailer.spool'));
  1809. $instance->registerPlugin($this->get('swiftmailer.plugin.messagelogger'));
  1810. return $instance;
  1811. }
  1812. /**
  1813. * Gets the 'swiftmailer.transport.real' service.
  1814. *
  1815. * This service is shared.
  1816. * This method always returns the same instance of the service.
  1817. *
  1818. * @return Swift_Transport_EsmtpTransport A Swift_Transport_EsmtpTransport instance.
  1819. */
  1820. protected function getSwiftmailer_Transport_RealService()
  1821. {
  1822. $this->services['swiftmailer.transport.real'] = $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()))), $this->get('swiftmailer.transport.eventdispatcher'));
  1823. $instance->setHost('127.0.0.1');
  1824. $instance->setPort(25);
  1825. $instance->setEncryption(NULL);
  1826. $instance->setUsername(NULL);
  1827. $instance->setPassword(NULL);
  1828. $instance->setAuthMode(NULL);
  1829. $instance->setTimeout(30);
  1830. $instance->setSourceIp(NULL);
  1831. return $instance;
  1832. }
  1833. /**
  1834. * Gets the 'templating' service.
  1835. *
  1836. * This service is shared.
  1837. * This method always returns the same instance of the service.
  1838. *
  1839. * @return Symfony\Bundle\TwigBundle\Debug\TimedTwigEngine A Symfony\Bundle\TwigBundle\Debug\TimedTwigEngine instance.
  1840. */
  1841. protected function getTemplatingService()
  1842. {
  1843. $this->services['templating'] = $instance = new \Symfony\Bundle\TwigBundle\Debug\TimedTwigEngine($this->get('twig'), $this->get('templating.name_parser'), $this->get('templating.locator'), $this->get('debug.stopwatch'), $this->get('templating.globals'));
  1844. $instance->setDefaultEscapingStrategy(array(0 => $instance, 1 => 'guessDefaultEscapingStrategy'));
  1845. return $instance;
  1846. }
  1847. /**
  1848. * Gets the 'templating.asset.package_factory' service.
  1849. *
  1850. * This service is shared.
  1851. * This method always returns the same instance of the service.
  1852. *
  1853. * @return Symfony\Bundle\FrameworkBundle\Templating\Asset\PackageFactory A Symfony\Bundle\FrameworkBundle\Templating\Asset\PackageFactory instance.
  1854. */
  1855. protected function getTemplating_Asset_PackageFactoryService()
  1856. {
  1857. return $this->services['templating.asset.package_factory'] = new \Symfony\Bundle\FrameworkBundle\Templating\Asset\PackageFactory($this);
  1858. }
  1859. /**
  1860. * Gets the 'templating.filename_parser' service.
  1861. *
  1862. * This service is shared.
  1863. * This method always returns the same instance of the service.
  1864. *
  1865. * @return Symfony\Bundle\FrameworkBundle\Templating\TemplateFilenameParser A Symfony\Bundle\FrameworkBundle\Templating\TemplateFilenameParser instance.
  1866. */
  1867. protected function getTemplating_FilenameParserService()
  1868. {
  1869. return $this->services['templating.filename_parser'] = new \Symfony\Bundle\FrameworkBundle\Templating\TemplateFilenameParser();
  1870. }
  1871. /**
  1872. * Gets the 'templating.globals' service.
  1873. *
  1874. * This service is shared.
  1875. * This method always returns the same instance of the service.
  1876. *
  1877. * @return Symfony\Bundle\FrameworkBundle\Templating\GlobalVariables A Symfony\Bundle\FrameworkBundle\Templating\GlobalVariables instance.
  1878. */
  1879. protected function getTemplating_GlobalsService()
  1880. {
  1881. return $this->services['templating.globals'] = new \Symfony\Bundle\FrameworkBundle\Templating\GlobalVariables($this);
  1882. }
  1883. /**
  1884. * Gets the 'templating.helper.actions' service.
  1885. *
  1886. * This service is shared.
  1887. * This method always returns the same instance of the service.
  1888. *
  1889. * @return Symfony\Bundle\FrameworkBundle\Templating\Helper\ActionsHelper A Symfony\Bundle\FrameworkBundle\Templating\Helper\ActionsHelper instance.
  1890. */
  1891. protected function getTemplating_Helper_ActionsService()
  1892. {
  1893. return $this->services['templating.helper.actions'] = new \Symfony\Bundle\FrameworkBundle\Templating\Helper\ActionsHelper($this->get('fragment.handler'));
  1894. }
  1895. /**
  1896. * Gets the 'templating.helper.assets' service.
  1897. *
  1898. * This service is shared.
  1899. * This method always returns the same instance of the service.
  1900. *
  1901. * @return Symfony\Component\Templating\Helper\CoreAssetsHelper A Symfony\Component\Templating\Helper\CoreAssetsHelper instance.
  1902. */
  1903. protected function getTemplating_Helper_AssetsService()
  1904. {
  1905. if (!isset($this->scopedServices['request'])) {
  1906. throw new InactiveScopeException('templating.helper.assets', 'request');
  1907. }
  1908. 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, '%s?%s'), array());
  1909. }
  1910. /**
  1911. * Gets the 'templating.helper.code' service.
  1912. *
  1913. * This service is shared.
  1914. * This method always returns the same instance of the service.
  1915. *
  1916. * @return Symfony\Bundle\FrameworkBundle\Templating\Helper\CodeHelper A Symfony\Bundle\FrameworkBundle\Templating\Helper\CodeHelper instance.
  1917. */
  1918. protected function getTemplating_Helper_CodeService()
  1919. {
  1920. return $this->services['templating.helper.code'] = new \Symfony\Bundle\FrameworkBundle\Templating\Helper\CodeHelper(NULL, '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app', 'UTF-8');
  1921. }
  1922. /**
  1923. * Gets the 'templating.helper.form' service.
  1924. *
  1925. * This service is shared.
  1926. * This method always returns the same instance of the service.
  1927. *
  1928. * @return Symfony\Bundle\FrameworkBundle\Templating\Helper\FormHelper A Symfony\Bundle\FrameworkBundle\Templating\Helper\FormHelper instance.
  1929. */
  1930. protected function getTemplating_Helper_FormService()
  1931. {
  1932. $a = new \Symfony\Bundle\FrameworkBundle\Templating\PhpEngine($this->get('templating.name_parser'), $this, $this->get('templating.loader'), $this->get('templating.globals'));
  1933. $a->setCharset('UTF-8');
  1934. $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', 'logout_url' => 'templating.helper.logout_url', 'security' => 'templating.helper.security', 'assetic' => 'assetic.helper.dynamic'));
  1935. return $this->services['templating.helper.form'] = new \Symfony\Bundle\FrameworkBundle\Templating\Helper\FormHelper(new \Symfony\Component\Form\FormRenderer(new \Symfony\Component\Form\Extension\Templating\TemplatingRendererEngine($a, array(0 => 'FrameworkBundle:Form')), $this->get('form.csrf_provider')));
  1936. }
  1937. /**
  1938. * Gets the 'templating.helper.logout_url' service.
  1939. *
  1940. * This service is shared.
  1941. * This method always returns the same instance of the service.
  1942. *
  1943. * @return Symfony\Bundle\SecurityBundle\Templating\Helper\LogoutUrlHelper A Symfony\Bundle\SecurityBundle\Templating\Helper\LogoutUrlHelper instance.
  1944. */
  1945. protected function getTemplating_Helper_LogoutUrlService()
  1946. {
  1947. $this->services['templating.helper.logout_url'] = $instance = new \Symfony\Bundle\SecurityBundle\Templating\Helper\LogoutUrlHelper($this, $this->get('router'));
  1948. $instance->registerListener('secured_area', '_demo_logout', 'logout', '_csrf_token', NULL);
  1949. return $instance;
  1950. }
  1951. /**
  1952. * Gets the 'templating.helper.request' service.
  1953. *
  1954. * This service is shared.
  1955. * This method always returns the same instance of the service.
  1956. *
  1957. * @return Symfony\Bundle\FrameworkBundle\Templating\Helper\RequestHelper A Symfony\Bundle\FrameworkBundle\Templating\Helper\RequestHelper instance.
  1958. */
  1959. protected function getTemplating_Helper_RequestService()
  1960. {
  1961. return $this->services['templating.helper.request'] = new \Symfony\Bundle\FrameworkBundle\Templating\Helper\RequestHelper($this->get('request'));
  1962. }
  1963. /**
  1964. * Gets the 'templating.helper.router' service.
  1965. *
  1966. * This service is shared.
  1967. * This method always returns the same instance of the service.
  1968. *
  1969. * @return Symfony\Bundle\FrameworkBundle\Templating\Helper\RouterHelper A Symfony\Bundle\FrameworkBundle\Templating\Helper\RouterHelper instance.
  1970. */
  1971. protected function getTemplating_Helper_RouterService()
  1972. {
  1973. return $this->services['templating.helper.router'] = new \Symfony\Bundle\FrameworkBundle\Templating\Helper\RouterHelper($this->get('router'));
  1974. }
  1975. /**
  1976. * Gets the 'templating.helper.security' service.
  1977. *
  1978. * This service is shared.
  1979. * This method always returns the same instance of the service.
  1980. *
  1981. * @return Symfony\Bundle\SecurityBundle\Templating\Helper\SecurityHelper A Symfony\Bundle\SecurityBundle\Templating\Helper\SecurityHelper instance.
  1982. */
  1983. protected function getTemplating_Helper_SecurityService()
  1984. {
  1985. return $this->services['templating.helper.security'] = new \Symfony\Bundle\SecurityBundle\Templating\Helper\SecurityHelper($this->get('security.context'));
  1986. }
  1987. /**
  1988. * Gets the 'templating.helper.session' service.
  1989. *
  1990. * This service is shared.
  1991. * This method always returns the same instance of the service.
  1992. *
  1993. * @return Symfony\Bundle\FrameworkBundle\Templating\Helper\SessionHelper A Symfony\Bundle\FrameworkBundle\Templating\Helper\SessionHelper instance.
  1994. */
  1995. protected function getTemplating_Helper_SessionService()
  1996. {
  1997. return $this->services['templating.helper.session'] = new \Symfony\Bundle\FrameworkBundle\Templating\Helper\SessionHelper($this->get('request'));
  1998. }
  1999. /**
  2000. * Gets the 'templating.helper.slots' service.
  2001. *
  2002. * This service is shared.
  2003. * This method always returns the same instance of the service.
  2004. *
  2005. * @return Symfony\Component\Templating\Helper\SlotsHelper A Symfony\Component\Templating\Helper\SlotsHelper instance.
  2006. */
  2007. protected function getTemplating_Helper_SlotsService()
  2008. {
  2009. return $this->services['templating.helper.slots'] = new \Symfony\Component\Templating\Helper\SlotsHelper();
  2010. }
  2011. /**
  2012. * Gets the 'templating.helper.translator' service.
  2013. *
  2014. * This service is shared.
  2015. * This method always returns the same instance of the service.
  2016. *
  2017. * @return Symfony\Bundle\FrameworkBundle\Templating\Helper\TranslatorHelper A Symfony\Bundle\FrameworkBundle\Templating\Helper\TranslatorHelper instance.
  2018. */
  2019. protected function getTemplating_Helper_TranslatorService()
  2020. {
  2021. return $this->services['templating.helper.translator'] = new \Symfony\Bundle\FrameworkBundle\Templating\Helper\TranslatorHelper($this->get('translator'));
  2022. }
  2023. /**
  2024. * Gets the 'templating.loader' service.
  2025. *
  2026. * This service is shared.
  2027. * This method always returns the same instance of the service.
  2028. *
  2029. * @return Symfony\Bundle\FrameworkBundle\Templating\Loader\FilesystemLoader A Symfony\Bundle\FrameworkBundle\Templating\Loader\FilesystemLoader instance.
  2030. */
  2031. protected function getTemplating_LoaderService()
  2032. {
  2033. return $this->services['templating.loader'] = new \Symfony\Bundle\FrameworkBundle\Templating\Loader\FilesystemLoader($this->get('templating.locator'));
  2034. }
  2035. /**
  2036. * Gets the 'templating.name_parser' service.
  2037. *
  2038. * This service is shared.
  2039. * This method always returns the same instance of the service.
  2040. *
  2041. * @return Symfony\Bundle\FrameworkBundle\Templating\TemplateNameParser A Symfony\Bundle\FrameworkBundle\Templating\TemplateNameParser instance.
  2042. */
  2043. protected function getTemplating_NameParserService()
  2044. {
  2045. return $this->services['templating.name_parser'] = new \Symfony\Bundle\FrameworkBundle\Templating\TemplateNameParser($this->get('kernel'));
  2046. }
  2047. /**
  2048. * Gets the 'translation.dumper.csv' service.
  2049. *
  2050. * This service is shared.
  2051. * This method always returns the same instance of the service.
  2052. *
  2053. * @return Symfony\Component\Translation\Dumper\CsvFileDumper A Symfony\Component\Translation\Dumper\CsvFileDumper instance.
  2054. */
  2055. protected function getTranslation_Dumper_CsvService()
  2056. {
  2057. return $this->services['translation.dumper.csv'] = new \Symfony\Component\Translation\Dumper\CsvFileDumper();
  2058. }
  2059. /**
  2060. * Gets the 'translation.dumper.ini' service.
  2061. *
  2062. * This service is shared.
  2063. * This method always returns the same instance of the service.
  2064. *
  2065. * @return Symfony\Component\Translation\Dumper\IniFileDumper A Symfony\Component\Translation\Dumper\IniFileDumper instance.
  2066. */
  2067. protected function getTranslation_Dumper_IniService()
  2068. {
  2069. return $this->services['translation.dumper.ini'] = new \Symfony\Component\Translation\Dumper\IniFileDumper();
  2070. }
  2071. /**
  2072. * Gets the 'translation.dumper.mo' service.
  2073. *
  2074. * This service is shared.
  2075. * This method always returns the same instance of the service.
  2076. *
  2077. * @return Symfony\Component\Translation\Dumper\MoFileDumper A Symfony\Component\Translation\Dumper\MoFileDumper instance.
  2078. */
  2079. protected function getTranslation_Dumper_MoService()
  2080. {
  2081. return $this->services['translation.dumper.mo'] = new \Symfony\Component\Translation\Dumper\MoFileDumper();
  2082. }
  2083. /**
  2084. * Gets the 'translation.dumper.php' service.
  2085. *
  2086. * This service is shared.
  2087. * This method always returns the same instance of the service.
  2088. *
  2089. * @return Symfony\Component\Translation\Dumper\PhpFileDumper A Symfony\Component\Translation\Dumper\PhpFileDumper instance.
  2090. */
  2091. protected function getTranslation_Dumper_PhpService()
  2092. {
  2093. return $this->services['translation.dumper.php'] = new \Symfony\Component\Translation\Dumper\PhpFileDumper();
  2094. }
  2095. /**
  2096. * Gets the 'translation.dumper.po' service.
  2097. *
  2098. * This service is shared.
  2099. * This method always returns the same instance of the service.
  2100. *
  2101. * @return Symfony\Component\Translation\Dumper\PoFileDumper A Symfony\Component\Translation\Dumper\PoFileDumper instance.
  2102. */
  2103. protected function getTranslation_Dumper_PoService()
  2104. {
  2105. return $this->services['translation.dumper.po'] = new \Symfony\Component\Translation\Dumper\PoFileDumper();
  2106. }
  2107. /**
  2108. * Gets the 'translation.dumper.qt' service.
  2109. *
  2110. * This service is shared.
  2111. * This method always returns the same instance of the service.
  2112. *
  2113. * @return Symfony\Component\Translation\Dumper\QtFileDumper A Symfony\Component\Translation\Dumper\QtFileDumper instance.
  2114. */
  2115. protected function getTranslation_Dumper_QtService()
  2116. {
  2117. return $this->services['translation.dumper.qt'] = new \Symfony\Component\Translation\Dumper\QtFileDumper();
  2118. }
  2119. /**
  2120. * Gets the 'translation.dumper.res' service.
  2121. *
  2122. * This service is shared.
  2123. * This method always returns the same instance of the service.
  2124. *
  2125. * @return Symfony\Component\Translation\Dumper\IcuResFileDumper A Symfony\Component\Translation\Dumper\IcuResFileDumper instance.
  2126. */
  2127. protected function getTranslation_Dumper_ResService()
  2128. {
  2129. return $this->services['translation.dumper.res'] = new \Symfony\Component\Translation\Dumper\IcuResFileDumper();
  2130. }
  2131. /**
  2132. * Gets the 'translation.dumper.xliff' service.
  2133. *
  2134. * This service is shared.
  2135. * This method always returns the same instance of the service.
  2136. *
  2137. * @return Symfony\Component\Translation\Dumper\XliffFileDumper A Symfony\Component\Translation\Dumper\XliffFileDumper instance.
  2138. */
  2139. protected function getTranslation_Dumper_XliffService()
  2140. {
  2141. return $this->services['translation.dumper.xliff'] = new \Symfony\Component\Translation\Dumper\XliffFileDumper();
  2142. }
  2143. /**
  2144. * Gets the 'translation.dumper.yml' service.
  2145. *
  2146. * This service is shared.
  2147. * This method always returns the same instance of the service.
  2148. *
  2149. * @return Symfony\Component\Translation\Dumper\YamlFileDumper A Symfony\Component\Translation\Dumper\YamlFileDumper instance.
  2150. */
  2151. protected function getTranslation_Dumper_YmlService()
  2152. {
  2153. return $this->services['translation.dumper.yml'] = new \Symfony\Component\Translation\Dumper\YamlFileDumper();
  2154. }
  2155. /**
  2156. * Gets the 'translation.extractor' service.
  2157. *
  2158. * This service is shared.
  2159. * This method always returns the same instance of the service.
  2160. *
  2161. * @return Symfony\Component\Translation\Extractor\ChainExtractor A Symfony\Component\Translation\Extractor\ChainExtractor instance.
  2162. */
  2163. protected function getTranslation_ExtractorService()
  2164. {
  2165. $this->services['translation.extractor'] = $instance = new \Symfony\Component\Translation\Extractor\ChainExtractor();
  2166. $instance->addExtractor('php', $this->get('translation.extractor.php'));
  2167. $instance->addExtractor('twig', $this->get('twig.translation.extractor'));
  2168. return $instance;
  2169. }
  2170. /**
  2171. * Gets the 'translation.extractor.php' service.
  2172. *
  2173. * This service is shared.
  2174. * This method always returns the same instance of the service.
  2175. *
  2176. * @return Symfony\Bundle\FrameworkBundle\Translation\PhpExtractor A Symfony\Bundle\FrameworkBundle\Translation\PhpExtractor instance.
  2177. */
  2178. protected function getTranslation_Extractor_PhpService()
  2179. {
  2180. return $this->services['translation.extractor.php'] = new \Symfony\Bundle\FrameworkBundle\Translation\PhpExtractor();
  2181. }
  2182. /**
  2183. * Gets the 'translation.loader' service.
  2184. *
  2185. * This service is shared.
  2186. * This method always returns the same instance of the service.
  2187. *
  2188. * @return Symfony\Bundle\FrameworkBundle\Translation\TranslationLoader A Symfony\Bundle\FrameworkBundle\Translation\TranslationLoader instance.
  2189. */
  2190. protected function getTranslation_LoaderService()
  2191. {
  2192. $a = $this->get('translation.loader.xliff');
  2193. $this->services['translation.loader'] = $instance = new \Symfony\Bundle\FrameworkBundle\Translation\TranslationLoader();
  2194. $instance->addLoader('php', $this->get('translation.loader.php'));
  2195. $instance->addLoader('yml', $this->get('translation.loader.yml'));
  2196. $instance->addLoader('xlf', $a);
  2197. $instance->addLoader('xliff', $a);
  2198. $instance->addLoader('po', $this->get('translation.loader.po'));
  2199. $instance->addLoader('mo', $this->get('translation.loader.mo'));
  2200. $instance->addLoader('ts', $this->get('translation.loader.qt'));
  2201. $instance->addLoader('csv', $this->get('translation.loader.csv'));
  2202. $instance->addLoader('res', $this->get('translation.loader.res'));
  2203. $instance->addLoader('dat', $this->get('translation.loader.dat'));
  2204. $instance->addLoader('ini', $this->get('translation.loader.ini'));
  2205. return $instance;
  2206. }
  2207. /**
  2208. * Gets the 'translation.loader.csv' service.
  2209. *
  2210. * This service is shared.
  2211. * This method always returns the same instance of the service.
  2212. *
  2213. * @return Symfony\Component\Translation\Loader\CsvFileLoader A Symfony\Component\Translation\Loader\CsvFileLoader instance.
  2214. */
  2215. protected function getTranslation_Loader_CsvService()
  2216. {
  2217. return $this->services['translation.loader.csv'] = new \Symfony\Component\Translation\Loader\CsvFileLoader();
  2218. }
  2219. /**
  2220. * Gets the 'translation.loader.dat' service.
  2221. *
  2222. * This service is shared.
  2223. * This method always returns the same instance of the service.
  2224. *
  2225. * @return Symfony\Component\Translation\Loader\IcuResFileLoader A Symfony\Component\Translation\Loader\IcuResFileLoader instance.
  2226. */
  2227. protected function getTranslation_Loader_DatService()
  2228. {
  2229. return $this->services['translation.loader.dat'] = new \Symfony\Component\Translation\Loader\IcuResFileLoader();
  2230. }
  2231. /**
  2232. * Gets the 'translation.loader.ini' service.
  2233. *
  2234. * This service is shared.
  2235. * This method always returns the same instance of the service.
  2236. *
  2237. * @return Symfony\Component\Translation\Loader\IniFileLoader A Symfony\Component\Translation\Loader\IniFileLoader instance.
  2238. */
  2239. protected function getTranslation_Loader_IniService()
  2240. {
  2241. return $this->services['translation.loader.ini'] = new \Symfony\Component\Translation\Loader\IniFileLoader();
  2242. }
  2243. /**
  2244. * Gets the 'translation.loader.mo' service.
  2245. *
  2246. * This service is shared.
  2247. * This method always returns the same instance of the service.
  2248. *
  2249. * @return Symfony\Component\Translation\Loader\MoFileLoader A Symfony\Component\Translation\Loader\MoFileLoader instance.
  2250. */
  2251. protected function getTranslation_Loader_MoService()
  2252. {
  2253. return $this->services['translation.loader.mo'] = new \Symfony\Component\Translation\Loader\MoFileLoader();
  2254. }
  2255. /**
  2256. * Gets the 'translation.loader.php' service.
  2257. *
  2258. * This service is shared.
  2259. * This method always returns the same instance of the service.
  2260. *
  2261. * @return Symfony\Component\Translation\Loader\PhpFileLoader A Symfony\Component\Translation\Loader\PhpFileLoader instance.
  2262. */
  2263. protected function getTranslation_Loader_PhpService()
  2264. {
  2265. return $this->services['translation.loader.php'] = new \Symfony\Component\Translation\Loader\PhpFileLoader();
  2266. }
  2267. /**
  2268. * Gets the 'translation.loader.po' service.
  2269. *
  2270. * This service is shared.
  2271. * This method always returns the same instance of the service.
  2272. *
  2273. * @return Symfony\Component\Translation\Loader\PoFileLoader A Symfony\Component\Translation\Loader\PoFileLoader instance.
  2274. */
  2275. protected function getTranslation_Loader_PoService()
  2276. {
  2277. return $this->services['translation.loader.po'] = new \Symfony\Component\Translation\Loader\PoFileLoader();
  2278. }
  2279. /**
  2280. * Gets the 'translation.loader.qt' service.
  2281. *
  2282. * This service is shared.
  2283. * This method always returns the same instance of the service.
  2284. *
  2285. * @return Symfony\Component\Translation\Loader\QtFileLoader A Symfony\Component\Translation\Loader\QtFileLoader instance.
  2286. */
  2287. protected function getTranslation_Loader_QtService()
  2288. {
  2289. return $this->services['translation.loader.qt'] = new \Symfony\Component\Translation\Loader\QtFileLoader();
  2290. }
  2291. /**
  2292. * Gets the 'translation.loader.res' service.
  2293. *
  2294. * This service is shared.
  2295. * This method always returns the same instance of the service.
  2296. *
  2297. * @return Symfony\Component\Translation\Loader\IcuResFileLoader A Symfony\Component\Translation\Loader\IcuResFileLoader instance.
  2298. */
  2299. protected function getTranslation_Loader_ResService()
  2300. {
  2301. return $this->services['translation.loader.res'] = new \Symfony\Component\Translation\Loader\IcuResFileLoader();
  2302. }
  2303. /**
  2304. * Gets the 'translation.loader.xliff' service.
  2305. *
  2306. * This service is shared.
  2307. * This method always returns the same instance of the service.
  2308. *
  2309. * @return Symfony\Component\Translation\Loader\XliffFileLoader A Symfony\Component\Translation\Loader\XliffFileLoader instance.
  2310. */
  2311. protected function getTranslation_Loader_XliffService()
  2312. {
  2313. return $this->services['translation.loader.xliff'] = new \Symfony\Component\Translation\Loader\XliffFileLoader();
  2314. }
  2315. /**
  2316. * Gets the 'translation.loader.yml' service.
  2317. *
  2318. * This service is shared.
  2319. * This method always returns the same instance of the service.
  2320. *
  2321. * @return Symfony\Component\Translation\Loader\YamlFileLoader A Symfony\Component\Translation\Loader\YamlFileLoader instance.
  2322. */
  2323. protected function getTranslation_Loader_YmlService()
  2324. {
  2325. return $this->services['translation.loader.yml'] = new \Symfony\Component\Translation\Loader\YamlFileLoader();
  2326. }
  2327. /**
  2328. * Gets the 'translation.writer' service.
  2329. *
  2330. * This service is shared.
  2331. * This method always returns the same instance of the service.
  2332. *
  2333. * @return Symfony\Component\Translation\Writer\TranslationWriter A Symfony\Component\Translation\Writer\TranslationWriter instance.
  2334. */
  2335. protected function getTranslation_WriterService()
  2336. {
  2337. $this->services['translation.writer'] = $instance = new \Symfony\Component\Translation\Writer\TranslationWriter();
  2338. $instance->addDumper('php', $this->get('translation.dumper.php'));
  2339. $instance->addDumper('xlf', $this->get('translation.dumper.xliff'));
  2340. $instance->addDumper('po', $this->get('translation.dumper.po'));
  2341. $instance->addDumper('mo', $this->get('translation.dumper.mo'));
  2342. $instance->addDumper('yml', $this->get('translation.dumper.yml'));
  2343. $instance->addDumper('ts', $this->get('translation.dumper.qt'));
  2344. $instance->addDumper('csv', $this->get('translation.dumper.csv'));
  2345. $instance->addDumper('ini', $this->get('translation.dumper.ini'));
  2346. $instance->addDumper('res', $this->get('translation.dumper.res'));
  2347. return $instance;
  2348. }
  2349. /**
  2350. * Gets the 'translator' service.
  2351. *
  2352. * This service is shared.
  2353. * This method always returns the same instance of the service.
  2354. *
  2355. * @return Symfony\Component\Translation\IdentityTranslator A Symfony\Component\Translation\IdentityTranslator instance.
  2356. */
  2357. protected function getTranslatorService()
  2358. {
  2359. return $this->services['translator'] = new \Symfony\Component\Translation\IdentityTranslator($this->get('translator.selector'));
  2360. }
  2361. /**
  2362. * Gets the 'translator.default' service.
  2363. *
  2364. * This service is shared.
  2365. * This method always returns the same instance of the service.
  2366. *
  2367. * @return Symfony\Bundle\FrameworkBundle\Translation\Translator A Symfony\Bundle\FrameworkBundle\Translation\Translator instance.
  2368. */
  2369. protected function getTranslator_DefaultService()
  2370. {
  2371. return $this->services['translator.default'] = new \Symfony\Bundle\FrameworkBundle\Translation\Translator($this, $this->get('translator.selector'), array('translation.loader.php' => array(0 => 'php'), 'translation.loader.yml' => array(0 => 'yml'), 'translation.loader.xliff' => array(0 => 'xlf', 1 => 'xliff'), 'translation.loader.po' => array(0 => 'po'), 'translation.loader.mo' => array(0 => 'mo'), 'translation.loader.qt' => array(0 => 'ts'), 'translation.loader.csv' => array(0 => 'csv'), 'translation.loader.res' => array(0 => 'res'), 'translation.loader.dat' => array(0 => 'dat'), 'translation.loader.ini' => array(0 => 'ini')), array('cache_dir' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/translations', 'debug' => true));
  2372. }
  2373. /**
  2374. * Gets the 'twig' service.
  2375. *
  2376. * This service is shared.
  2377. * This method always returns the same instance of the service.
  2378. *
  2379. * @return Twig_Environment A Twig_Environment instance.
  2380. */
  2381. protected function getTwigService()
  2382. {
  2383. $a = $this->get('security.context');
  2384. $this->services['twig'] = $instance = new \Twig_Environment($this->get('twig.loader'), array('debug' => true, 'strict_variables' => true, 'exception_controller' => 'twig.controller.exception:showAction', 'cache' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/twig', 'charset' => 'UTF-8', 'paths' => array()));
  2385. $instance->addExtension(new \Symfony\Bundle\SecurityBundle\Twig\Extension\LogoutUrlExtension($this->get('templating.helper.logout_url')));
  2386. $instance->addExtension(new \Symfony\Bridge\Twig\Extension\SecurityExtension($a));
  2387. $instance->addExtension(new \Symfony\Bridge\Twig\Extension\TranslationExtension($this->get('translator')));
  2388. $instance->addExtension(new \Symfony\Bundle\TwigBundle\Extension\AssetsExtension($this));
  2389. $instance->addExtension(new \Symfony\Bundle\TwigBundle\Extension\ActionsExtension($this));
  2390. $instance->addExtension(new \Symfony\Bridge\Twig\Extension\CodeExtension(NULL, '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app', 'UTF-8'));
  2391. $instance->addExtension(new \Symfony\Bridge\Twig\Extension\RoutingExtension($this->get('router')));
  2392. $instance->addExtension(new \Symfony\Bridge\Twig\Extension\YamlExtension());
  2393. $instance->addExtension(new \Symfony\Bridge\Twig\Extension\HttpKernelExtension($this->get('fragment.handler')));
  2394. $instance->addExtension(new \Symfony\Bridge\Twig\Extension\FormExtension(new \Symfony\Bridge\Twig\Form\TwigRenderer(new \Symfony\Bridge\Twig\Form\TwigRendererEngine(array(0 => 'form_div_layout.html.twig')), $this->get('form.csrf_provider'))));
  2395. $instance->addExtension(new \Twig_Extension_Debug());
  2396. $instance->addExtension(new \Symfony\Bundle\AsseticBundle\Twig\AsseticExtension($this->get('assetic.asset_factory'), $this->get('templating.name_parser'), true, array(), array(), $this->get('assetic.value_supplier.default')));
  2397. $instance->addExtension(new \Doctrine\Bundle\DoctrineBundle\Twig\DoctrineExtension());
  2398. $instance->addExtension(new \JMS\SecurityExtraBundle\Twig\SecurityExtension($a));
  2399. $instance->addExtension($this->get('twig.extension.acme.demo'));
  2400. $instance->addGlobal('app', $this->get('templating.globals'));
  2401. return $instance;
  2402. }
  2403. /**
  2404. * Gets the 'twig.controller.exception' service.
  2405. *
  2406. * This service is shared.
  2407. * This method always returns the same instance of the service.
  2408. *
  2409. * @return Symfony\Bundle\TwigBundle\Controller\ExceptionController A Symfony\Bundle\TwigBundle\Controller\ExceptionController instance.
  2410. */
  2411. protected function getTwig_Controller_ExceptionService()
  2412. {
  2413. return $this->services['twig.controller.exception'] = new \Symfony\Bundle\TwigBundle\Controller\ExceptionController($this->get('twig'), true);
  2414. }
  2415. /**
  2416. * Gets the 'twig.exception_listener' service.
  2417. *
  2418. * This service is shared.
  2419. * This method always returns the same instance of the service.
  2420. *
  2421. * @return Symfony\Component\HttpKernel\EventListener\ExceptionListener A Symfony\Component\HttpKernel\EventListener\ExceptionListener instance.
  2422. */
  2423. protected function getTwig_ExceptionListenerService()
  2424. {
  2425. return $this->services['twig.exception_listener'] = new \Symfony\Component\HttpKernel\EventListener\ExceptionListener('twig.controller.exception:showAction', $this->get('monolog.logger.request'));
  2426. }
  2427. /**
  2428. * Gets the 'twig.loader' service.
  2429. *
  2430. * This service is shared.
  2431. * This method always returns the same instance of the service.
  2432. *
  2433. * @return Symfony\Bundle\TwigBundle\Loader\FilesystemLoader A Symfony\Bundle\TwigBundle\Loader\FilesystemLoader instance.
  2434. */
  2435. protected function getTwig_LoaderService()
  2436. {
  2437. $this->services['twig.loader'] = $instance = new \Symfony\Bundle\TwigBundle\Loader\FilesystemLoader($this->get('templating.locator'), $this->get('templating.name_parser'));
  2438. $instance->addPath('/opt/local/apache2/htdocs/Symfony2-RESTAPI/vendor/symfony/symfony/src/Symfony/Bridge/Twig/Resources/views/Form');
  2439. $instance->addPath('/opt/local/apache2/htdocs/Symfony2-RESTAPI/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/views', 'Framework');
  2440. $instance->addPath('/opt/local/apache2/htdocs/Symfony2-RESTAPI/vendor/symfony/symfony/src/Symfony/Bundle/SecurityBundle/Resources/views', 'Security');
  2441. $instance->addPath('/opt/local/apache2/htdocs/Symfony2-RESTAPI/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Resources/views', 'Twig');
  2442. $instance->addPath('/opt/local/apache2/htdocs/Symfony2-RESTAPI/vendor/symfony/swiftmailer-bundle/Symfony/Bundle/SwiftmailerBundle/Resources/views', 'Swiftmailer');
  2443. $instance->addPath('/opt/local/apache2/htdocs/Symfony2-RESTAPI/vendor/doctrine/doctrine-bundle/Doctrine/Bundle/DoctrineBundle/Resources/views', 'Doctrine');
  2444. $instance->addPath('/opt/local/apache2/htdocs/Symfony2-RESTAPI/src/Acme/HelloBundle/Resources/views', 'AcmeHello');
  2445. $instance->addPath('/opt/local/apache2/htdocs/Symfony2-RESTAPI/src/Acme/DemoBundle/Resources/views', 'AcmeDemo');
  2446. $instance->addPath('/opt/local/apache2/htdocs/Symfony2-RESTAPI/vendor/symfony/symfony/src/Symfony/Bundle/WebProfilerBundle/Resources/views', 'WebProfiler');
  2447. $instance->addPath('/opt/local/apache2/htdocs/Symfony2-RESTAPI/vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Resources/views', 'SensioDistribution');
  2448. $instance->addPath('/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/Resources/views');
  2449. return $instance;
  2450. }
  2451. /**
  2452. * Gets the 'twig.translation.extractor' service.
  2453. *
  2454. * This service is shared.
  2455. * This method always returns the same instance of the service.
  2456. *
  2457. * @return Symfony\Bridge\Twig\Translation\TwigExtractor A Symfony\Bridge\Twig\Translation\TwigExtractor instance.
  2458. */
  2459. protected function getTwig_Translation_ExtractorService()
  2460. {
  2461. return $this->services['twig.translation.extractor'] = new \Symfony\Bridge\Twig\Translation\TwigExtractor($this->get('twig'));
  2462. }
  2463. /**
  2464. * Gets the 'uri_signer' service.
  2465. *
  2466. * This service is shared.
  2467. * This method always returns the same instance of the service.
  2468. *
  2469. * @return Symfony\Component\HttpKernel\UriSigner A Symfony\Component\HttpKernel\UriSigner instance.
  2470. */
  2471. protected function getUriSignerService()
  2472. {
  2473. return $this->services['uri_signer'] = new \Symfony\Component\HttpKernel\UriSigner('2081aa2b4d77a2615e927205e0f702dd5a22a013');
  2474. }
  2475. /**
  2476. * Gets the 'validator' service.
  2477. *
  2478. * This service is shared.
  2479. * This method always returns the same instance of the service.
  2480. *
  2481. * @return Symfony\Component\Validator\Validator A Symfony\Component\Validator\Validator instance.
  2482. */
  2483. protected function getValidatorService()
  2484. {
  2485. return $this->services['validator'] = new \Symfony\Component\Validator\Validator($this->get('validator.mapping.class_metadata_factory'), new \Symfony\Bundle\FrameworkBundle\Validator\ConstraintValidatorFactory($this, array('security.validator.user_password' => 'security.validator.user_password', 'doctrine.orm.validator.unique' => 'doctrine.orm.validator.unique')), $this->get('translator.default'), 'validators', array(0 => $this->get('doctrine.orm.validator_initializer')));
  2486. }
  2487. /**
  2488. * Gets the 'web_profiler.controller.exception' service.
  2489. *
  2490. * This service is shared.
  2491. * This method always returns the same instance of the service.
  2492. *
  2493. * @return Symfony\Bundle\WebProfilerBundle\Controller\ExceptionController A Symfony\Bundle\WebProfilerBundle\Controller\ExceptionController instance.
  2494. */
  2495. protected function getWebProfiler_Controller_ExceptionService()
  2496. {
  2497. return $this->services['web_profiler.controller.exception'] = new \Symfony\Bundle\WebProfilerBundle\Controller\ExceptionController($this->get('profiler'), $this->get('twig'), true);
  2498. }
  2499. /**
  2500. * Gets the 'web_profiler.controller.profiler' service.
  2501. *
  2502. * This service is shared.
  2503. * This method always returns the same instance of the service.
  2504. *
  2505. * @return Symfony\Bundle\WebProfilerBundle\Controller\ProfilerController A Symfony\Bundle\WebProfilerBundle\Controller\ProfilerController instance.
  2506. */
  2507. protected function getWebProfiler_Controller_ProfilerService()
  2508. {
  2509. return $this->services['web_profiler.controller.profiler'] = new \Symfony\Bundle\WebProfilerBundle\Controller\ProfilerController($this->get('router'), $this->get('profiler'), $this->get('twig'), array('data_collector.config' => array(0 => 'config', 1 => '@WebProfiler/Collector/config.html.twig'), 'data_collector.request' => array(0 => 'request', 1 => '@WebProfiler/Collector/request.html.twig'), 'data_collector.exception' => array(0 => 'exception', 1 => '@WebProfiler/Collector/exception.html.twig'), 'data_collector.events' => array(0 => 'events', 1 => '@WebProfiler/Collector/events.html.twig'), 'data_collector.logger' => array(0 => 'logger', 1 => '@WebProfiler/Collector/logger.html.twig'), 'data_collector.time' => array(0 => 'time', 1 => '@WebProfiler/Collector/time.html.twig'), 'data_collector.memory' => array(0 => 'memory', 1 => '@WebProfiler/Collector/memory.html.twig'), 'data_collector.router' => array(0 => 'router', 1 => '@WebProfiler/Collector/router.html.twig'), 'data_collector.security' => array(0 => 'security', 1 => 'SecurityBundle:Collector:security'), 'swiftmailer.data_collector' => array(0 => 'swiftmailer', 1 => 'SwiftmailerBundle:Collector:swiftmailer'), 'data_collector.doctrine' => array(0 => 'db', 1 => 'DoctrineBundle:Collector:db')), 'bottom');
  2510. }
  2511. /**
  2512. * Gets the 'web_profiler.controller.router' service.
  2513. *
  2514. * This service is shared.
  2515. * This method always returns the same instance of the service.
  2516. *
  2517. * @return Symfony\Bundle\WebProfilerBundle\Controller\RouterController A Symfony\Bundle\WebProfilerBundle\Controller\RouterController instance.
  2518. */
  2519. protected function getWebProfiler_Controller_RouterService()
  2520. {
  2521. return $this->services['web_profiler.controller.router'] = new \Symfony\Bundle\WebProfilerBundle\Controller\RouterController($this->get('profiler'), $this->get('twig'), $this->get('router'));
  2522. }
  2523. /**
  2524. * Gets the 'web_profiler.debug_toolbar' service.
  2525. *
  2526. * This service is shared.
  2527. * This method always returns the same instance of the service.
  2528. *
  2529. * @return Symfony\Bundle\WebProfilerBundle\EventListener\WebDebugToolbarListener A Symfony\Bundle\WebProfilerBundle\EventListener\WebDebugToolbarListener instance.
  2530. */
  2531. protected function getWebProfiler_DebugToolbarService()
  2532. {
  2533. return $this->services['web_profiler.debug_toolbar'] = new \Symfony\Bundle\WebProfilerBundle\EventListener\WebDebugToolbarListener($this->get('twig'), false, 2, 'bottom');
  2534. }
  2535. /**
  2536. * Gets the database_connection service alias.
  2537. *
  2538. * @return stdClass An instance of the doctrine.dbal.default_connection service
  2539. */
  2540. protected function getDatabaseConnectionService()
  2541. {
  2542. return $this->get('doctrine.dbal.default_connection');
  2543. }
  2544. /**
  2545. * Gets the debug.templating.engine.twig service alias.
  2546. *
  2547. * @return Symfony\Bundle\TwigBundle\Debug\TimedTwigEngine An instance of the templating service
  2548. */
  2549. protected function getDebug_Templating_Engine_TwigService()
  2550. {
  2551. return $this->get('templating');
  2552. }
  2553. /**
  2554. * Gets the doctrine.orm.entity_manager service alias.
  2555. *
  2556. * @return EntityManager5162b07e2cbb0_546a8d27f194334ee012bfe64f629947b07e4919\__CG__\Doctrine\ORM\EntityManager An instance of the doctrine.orm.default_entity_manager service
  2557. */
  2558. protected function getDoctrine_Orm_EntityManagerService()
  2559. {
  2560. return $this->get('doctrine.orm.default_entity_manager');
  2561. }
  2562. /**
  2563. * Gets the session.storage service alias.
  2564. *
  2565. * @return Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage An instance of the session.storage.native service
  2566. */
  2567. protected function getSession_StorageService()
  2568. {
  2569. return $this->get('session.storage.native');
  2570. }
  2571. /**
  2572. * Gets the 'assetic.asset_factory' service.
  2573. *
  2574. * This service is shared.
  2575. * This method always returns the same instance of the service.
  2576. *
  2577. * This service is private.
  2578. * If you want to be able to request this service from the container directly,
  2579. * make it public, otherwise you might end up with broken code.
  2580. *
  2581. * @return Symfony\Bundle\AsseticBundle\Factory\AssetFactory A Symfony\Bundle\AsseticBundle\Factory\AssetFactory instance.
  2582. */
  2583. protected function getAssetic_AssetFactoryService()
  2584. {
  2585. $this->services['assetic.asset_factory'] = $instance = new \Symfony\Bundle\AsseticBundle\Factory\AssetFactory($this->get('kernel'), $this, $this->getParameterBag(), '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/../web', true);
  2586. $instance->addWorker(new \Symfony\Bundle\AsseticBundle\Factory\Worker\UseControllerWorker());
  2587. return $instance;
  2588. }
  2589. /**
  2590. * Gets the 'assetic.cache' service.
  2591. *
  2592. * This service is shared.
  2593. * This method always returns the same instance of the service.
  2594. *
  2595. * This service is private.
  2596. * If you want to be able to request this service from the container directly,
  2597. * make it public, otherwise you might end up with broken code.
  2598. *
  2599. * @return Assetic\Cache\FilesystemCache A Assetic\Cache\FilesystemCache instance.
  2600. */
  2601. protected function getAssetic_CacheService()
  2602. {
  2603. return $this->services['assetic.cache'] = new \Assetic\Cache\FilesystemCache('/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/assetic/assets');
  2604. }
  2605. /**
  2606. * Gets the 'assetic.value_supplier.default' service.
  2607. *
  2608. * This service is shared.
  2609. * This method always returns the same instance of the service.
  2610. *
  2611. * This service is private.
  2612. * If you want to be able to request this service from the container directly,
  2613. * make it public, otherwise you might end up with broken code.
  2614. *
  2615. * @return Symfony\Bundle\AsseticBundle\DefaultValueSupplier A Symfony\Bundle\AsseticBundle\DefaultValueSupplier instance.
  2616. */
  2617. protected function getAssetic_ValueSupplier_DefaultService()
  2618. {
  2619. return $this->services['assetic.value_supplier.default'] = new \Symfony\Bundle\AsseticBundle\DefaultValueSupplier($this);
  2620. }
  2621. /**
  2622. * Gets the 'controller_name_converter' service.
  2623. *
  2624. * This service is shared.
  2625. * This method always returns the same instance of the service.
  2626. *
  2627. * This service is private.
  2628. * If you want to be able to request this service from the container directly,
  2629. * make it public, otherwise you might end up with broken code.
  2630. *
  2631. * @return Symfony\Bundle\FrameworkBundle\Controller\ControllerNameParser A Symfony\Bundle\FrameworkBundle\Controller\ControllerNameParser instance.
  2632. */
  2633. protected function getControllerNameConverterService()
  2634. {
  2635. return $this->services['controller_name_converter'] = new \Symfony\Bundle\FrameworkBundle\Controller\ControllerNameParser($this->get('kernel'));
  2636. }
  2637. /**
  2638. * Gets the 'doctrine.dbal.logger.profiling.default' service.
  2639. *
  2640. * This service is shared.
  2641. * This method always returns the same instance of the service.
  2642. *
  2643. * This service is private.
  2644. * If you want to be able to request this service from the container directly,
  2645. * make it public, otherwise you might end up with broken code.
  2646. *
  2647. * @return Doctrine\DBAL\Logging\DebugStack A Doctrine\DBAL\Logging\DebugStack instance.
  2648. */
  2649. protected function getDoctrine_Dbal_Logger_Profiling_DefaultService()
  2650. {
  2651. return $this->services['doctrine.dbal.logger.profiling.default'] = new \Doctrine\DBAL\Logging\DebugStack();
  2652. }
  2653. /**
  2654. * Gets the 'jms_di_extra.controller_resolver' service.
  2655. *
  2656. * This service is shared.
  2657. * This method always returns the same instance of the service.
  2658. *
  2659. * This service is private.
  2660. * If you want to be able to request this service from the container directly,
  2661. * make it public, otherwise you might end up with broken code.
  2662. *
  2663. * @return JMS\DiExtraBundle\HttpKernel\ControllerResolver A JMS\DiExtraBundle\HttpKernel\ControllerResolver instance.
  2664. */
  2665. protected function getJmsDiExtra_ControllerResolverService()
  2666. {
  2667. return $this->services['jms_di_extra.controller_resolver'] = new \JMS\DiExtraBundle\HttpKernel\ControllerResolver($this, $this->get('controller_name_converter'), $this->get('monolog.logger.request'));
  2668. }
  2669. /**
  2670. * Gets the 'router.request_context' service.
  2671. *
  2672. * This service is shared.
  2673. * This method always returns the same instance of the service.
  2674. *
  2675. * This service is private.
  2676. * If you want to be able to request this service from the container directly,
  2677. * make it public, otherwise you might end up with broken code.
  2678. *
  2679. * @return Symfony\Component\Routing\RequestContext A Symfony\Component\Routing\RequestContext instance.
  2680. */
  2681. protected function getRouter_RequestContextService()
  2682. {
  2683. return $this->services['router.request_context'] = new \Symfony\Component\Routing\RequestContext('', 'GET', 'localhost', 'http', 80, 443);
  2684. }
  2685. /**
  2686. * Gets the 'security.authentication.manager' service.
  2687. *
  2688. * This service is shared.
  2689. * This method always returns the same instance of the service.
  2690. *
  2691. * This service is private.
  2692. * If you want to be able to request this service from the container directly,
  2693. * make it public, otherwise you might end up with broken code.
  2694. *
  2695. * @return Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager A Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager instance.
  2696. */
  2697. protected function getSecurity_Authentication_ManagerService()
  2698. {
  2699. $this->services['security.authentication.manager'] = $instance = 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)), true);
  2700. $instance->setEventDispatcher($this->get('event_dispatcher'));
  2701. return $instance;
  2702. }
  2703. /**
  2704. * Gets the 'security.expressions.handler' service.
  2705. *
  2706. * This service is shared.
  2707. * This method always returns the same instance of the service.
  2708. *
  2709. * This service is private.
  2710. * If you want to be able to request this service from the container directly,
  2711. * make it public, otherwise you might end up with broken code.
  2712. *
  2713. * @return JMS\SecurityExtraBundle\Security\Authorization\Expression\ContainerAwareExpressionHandler A JMS\SecurityExtraBundle\Security\Authorization\Expression\ContainerAwareExpressionHandler instance.
  2714. */
  2715. protected function getSecurity_Expressions_HandlerService()
  2716. {
  2717. return $this->services['security.expressions.handler'] = new \JMS\SecurityExtraBundle\Security\Authorization\Expression\ContainerAwareExpressionHandler($this);
  2718. }
  2719. /**
  2720. * Gets the 'security.extra.metadata_factory' service.
  2721. *
  2722. * This service is shared.
  2723. * This method always returns the same instance of the service.
  2724. *
  2725. * This service is private.
  2726. * If you want to be able to request this service from the container directly,
  2727. * make it public, otherwise you might end up with broken code.
  2728. *
  2729. * @return Metadata\MetadataFactory A Metadata\MetadataFactory instance.
  2730. */
  2731. protected function getSecurity_Extra_MetadataFactoryService()
  2732. {
  2733. $this->services['security.extra.metadata_factory'] = $instance = new \Metadata\MetadataFactory(new \Metadata\Driver\LazyLoadingDriver($this, 'security.extra.metadata_driver'), new \Metadata\Cache\FileCache('/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/jms_security', true));
  2734. $instance->setIncludeInterfaces(true);
  2735. return $instance;
  2736. }
  2737. /**
  2738. * Gets the 'security.user.provider.concrete.in_memory' service.
  2739. *
  2740. * This service is shared.
  2741. * This method always returns the same instance of the service.
  2742. *
  2743. * This service is private.
  2744. * If you want to be able to request this service from the container directly,
  2745. * make it public, otherwise you might end up with broken code.
  2746. *
  2747. * @return Symfony\Component\Security\Core\User\InMemoryUserProvider A Symfony\Component\Security\Core\User\InMemoryUserProvider instance.
  2748. */
  2749. protected function getSecurity_User_Provider_Concrete_InMemoryService()
  2750. {
  2751. $this->services['security.user.provider.concrete.in_memory'] = $instance = new \Symfony\Component\Security\Core\User\InMemoryUserProvider();
  2752. $instance->createUser(new \Symfony\Component\Security\Core\User\User('user', 'userpass', array(0 => 'ROLE_USER')));
  2753. $instance->createUser(new \Symfony\Component\Security\Core\User\User('admin', 'adminpass', array(0 => 'ROLE_ADMIN')));
  2754. return $instance;
  2755. }
  2756. /**
  2757. * Gets the 'swiftmailer.transport.eventdispatcher' service.
  2758. *
  2759. * This service is shared.
  2760. * This method always returns the same instance of the service.
  2761. *
  2762. * This service is private.
  2763. * If you want to be able to request this service from the container directly,
  2764. * make it public, otherwise you might end up with broken code.
  2765. *
  2766. * @return Swift_Events_SimpleEventDispatcher A Swift_Events_SimpleEventDispatcher instance.
  2767. */
  2768. protected function getSwiftmailer_Transport_EventdispatcherService()
  2769. {
  2770. return $this->services['swiftmailer.transport.eventdispatcher'] = new \Swift_Events_SimpleEventDispatcher();
  2771. }
  2772. /**
  2773. * Gets the 'templating.locator' service.
  2774. *
  2775. * This service is shared.
  2776. * This method always returns the same instance of the service.
  2777. *
  2778. * This service is private.
  2779. * If you want to be able to request this service from the container directly,
  2780. * make it public, otherwise you might end up with broken code.
  2781. *
  2782. * @return Symfony\Bundle\FrameworkBundle\Templating\Loader\TemplateLocator A Symfony\Bundle\FrameworkBundle\Templating\Loader\TemplateLocator instance.
  2783. */
  2784. protected function getTemplating_LocatorService()
  2785. {
  2786. return $this->services['templating.locator'] = new \Symfony\Bundle\FrameworkBundle\Templating\Loader\TemplateLocator($this->get('file_locator'), '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev');
  2787. }
  2788. /**
  2789. * Gets the 'translator.selector' service.
  2790. *
  2791. * This service is shared.
  2792. * This method always returns the same instance of the service.
  2793. *
  2794. * This service is private.
  2795. * If you want to be able to request this service from the container directly,
  2796. * make it public, otherwise you might end up with broken code.
  2797. *
  2798. * @return Symfony\Component\Translation\MessageSelector A Symfony\Component\Translation\MessageSelector instance.
  2799. */
  2800. protected function getTranslator_SelectorService()
  2801. {
  2802. return $this->services['translator.selector'] = new \Symfony\Component\Translation\MessageSelector();
  2803. }
  2804. /**
  2805. * Gets the 'twig.extension.acme.demo' service.
  2806. *
  2807. * This service is shared.
  2808. * This method always returns the same instance of the service.
  2809. *
  2810. * This service is private.
  2811. * If you want to be able to request this service from the container directly,
  2812. * make it public, otherwise you might end up with broken code.
  2813. *
  2814. * @return Acme\DemoBundle\Twig\Extension\DemoExtension A Acme\DemoBundle\Twig\Extension\DemoExtension instance.
  2815. */
  2816. protected function getTwig_Extension_Acme_DemoService()
  2817. {
  2818. return $this->services['twig.extension.acme.demo'] = new \Acme\DemoBundle\Twig\Extension\DemoExtension($this->get('twig.loader'));
  2819. }
  2820. /**
  2821. * Gets the 'validator.mapping.class_metadata_factory' service.
  2822. *
  2823. * This service is shared.
  2824. * This method always returns the same instance of the service.
  2825. *
  2826. * This service is private.
  2827. * If you want to be able to request this service from the container directly,
  2828. * make it public, otherwise you might end up with broken code.
  2829. *
  2830. * @return Symfony\Component\Validator\Mapping\ClassMetadataFactory A Symfony\Component\Validator\Mapping\ClassMetadataFactory instance.
  2831. */
  2832. protected function getValidator_Mapping_ClassMetadataFactoryService()
  2833. {
  2834. 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 => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/vendor/symfony/symfony/src/Symfony/Component/Form/Resources/config/validation.xml')), 3 => new \Symfony\Component\Validator\Mapping\Loader\YamlFilesLoader(array()))), NULL);
  2835. }
  2836. /**
  2837. * {@inheritdoc}
  2838. */
  2839. public function getParameter($name)
  2840. {
  2841. $name = strtolower($name);
  2842. if (!(isset($this->parameters[$name]) || array_key_exists($name, $this->parameters))) {
  2843. throw new InvalidArgumentException(sprintf('The parameter "%s" must be defined.', $name));
  2844. }
  2845. return $this->parameters[$name];
  2846. }
  2847. /**
  2848. * {@inheritdoc}
  2849. */
  2850. public function hasParameter($name)
  2851. {
  2852. $name = strtolower($name);
  2853. return isset($this->parameters[$name]) || array_key_exists($name, $this->parameters);
  2854. }
  2855. /**
  2856. * {@inheritdoc}
  2857. */
  2858. public function setParameter($name, $value)
  2859. {
  2860. throw new LogicException('Impossible to call set() on a frozen ParameterBag.');
  2861. }
  2862. /**
  2863. * {@inheritDoc}
  2864. */
  2865. public function getParameterBag()
  2866. {
  2867. if (null === $this->parameterBag) {
  2868. $this->parameterBag = new FrozenParameterBag($this->parameters);
  2869. }
  2870. return $this->parameterBag;
  2871. }
  2872. /**
  2873. * Gets the default parameters.
  2874. *
  2875. * @return array An array of the default parameters
  2876. */
  2877. protected function getDefaultParameters()
  2878. {
  2879. return array(
  2880. 'kernel.root_dir' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app',
  2881. 'kernel.environment' => 'dev',
  2882. 'kernel.debug' => true,
  2883. 'kernel.name' => 'app',
  2884. 'kernel.cache_dir' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev',
  2885. 'kernel.logs_dir' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/logs',
  2886. 'kernel.bundles' => array(
  2887. 'FrameworkBundle' => 'Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle',
  2888. 'SecurityBundle' => 'Symfony\\Bundle\\SecurityBundle\\SecurityBundle',
  2889. 'TwigBundle' => 'Symfony\\Bundle\\TwigBundle\\TwigBundle',
  2890. 'MonologBundle' => 'Symfony\\Bundle\\MonologBundle\\MonologBundle',
  2891. 'SwiftmailerBundle' => 'Symfony\\Bundle\\SwiftmailerBundle\\SwiftmailerBundle',
  2892. 'AsseticBundle' => 'Symfony\\Bundle\\AsseticBundle\\AsseticBundle',
  2893. 'DoctrineBundle' => 'Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle',
  2894. 'SensioFrameworkExtraBundle' => 'Sensio\\Bundle\\FrameworkExtraBundle\\SensioFrameworkExtraBundle',
  2895. 'JMSAopBundle' => 'JMS\\AopBundle\\JMSAopBundle',
  2896. 'JMSDiExtraBundle' => 'JMS\\DiExtraBundle\\JMSDiExtraBundle',
  2897. 'JMSSecurityExtraBundle' => 'JMS\\SecurityExtraBundle\\JMSSecurityExtraBundle',
  2898. 'AcmeHelloBundle' => 'Acme\\HelloBundle\\AcmeHelloBundle',
  2899. 'AcmeDemoBundle' => 'Acme\\DemoBundle\\AcmeDemoBundle',
  2900. 'WebProfilerBundle' => 'Symfony\\Bundle\\WebProfilerBundle\\WebProfilerBundle',
  2901. 'SensioDistributionBundle' => 'Sensio\\Bundle\\DistributionBundle\\SensioDistributionBundle',
  2902. 'SensioGeneratorBundle' => 'Sensio\\Bundle\\GeneratorBundle\\SensioGeneratorBundle',
  2903. ),
  2904. 'kernel.charset' => 'UTF-8',
  2905. 'kernel.container_class' => 'appDevDebugProjectContainer',
  2906. 'database_driver' => 'pdo_mysql',
  2907. 'database_host' => '127.0.0.1',
  2908. 'database_port' => NULL,
  2909. 'database_name' => 'symfony_restapi',
  2910. 'database_user' => 'root',
  2911. 'database_password' => 'root',
  2912. 'mailer_transport' => 'smtp',
  2913. 'mailer_host' => '127.0.0.1',
  2914. 'mailer_user' => NULL,
  2915. 'mailer_password' => NULL,
  2916. 'locale' => 'en',
  2917. 'secret' => '2081aa2b4d77a2615e927205e0f702dd5a22a013',
  2918. 'database_path' => NULL,
  2919. 'controller_resolver.class' => 'Symfony\\Bundle\\FrameworkBundle\\Controller\\ControllerResolver',
  2920. 'controller_name_converter.class' => 'Symfony\\Bundle\\FrameworkBundle\\Controller\\ControllerNameParser',
  2921. 'response_listener.class' => 'Symfony\\Component\\HttpKernel\\EventListener\\ResponseListener',
  2922. 'streamed_response_listener.class' => 'Symfony\\Component\\HttpKernel\\EventListener\\StreamedResponseListener',
  2923. 'locale_listener.class' => 'Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener',
  2924. 'event_dispatcher.class' => 'Symfony\\Component\\EventDispatcher\\ContainerAwareEventDispatcher',
  2925. 'http_kernel.class' => 'Symfony\\Bundle\\FrameworkBundle\\HttpKernel',
  2926. 'filesystem.class' => 'Symfony\\Component\\Filesystem\\Filesystem',
  2927. 'cache_warmer.class' => 'Symfony\\Component\\HttpKernel\\CacheWarmer\\CacheWarmerAggregate',
  2928. 'cache_clearer.class' => 'Symfony\\Component\\HttpKernel\\CacheClearer\\ChainCacheClearer',
  2929. 'file_locator.class' => 'Symfony\\Component\\HttpKernel\\Config\\FileLocator',
  2930. 'uri_signer.class' => 'Symfony\\Component\\HttpKernel\\UriSigner',
  2931. 'fragment.handler.class' => 'Symfony\\Component\\HttpKernel\\Fragment\\FragmentHandler',
  2932. 'fragment.renderer.inline.class' => 'Symfony\\Component\\HttpKernel\\Fragment\\InlineFragmentRenderer',
  2933. 'fragment.renderer.hinclude.class' => 'Symfony\\Bundle\\FrameworkBundle\\Fragment\\ContainerAwareHIncludeFragmentRenderer',
  2934. 'fragment.renderer.hinclude.global_template' => NULL,
  2935. 'fragment.path' => '/_fragment',
  2936. 'translator.class' => 'Symfony\\Bundle\\FrameworkBundle\\Translation\\Translator',
  2937. 'translator.identity.class' => 'Symfony\\Component\\Translation\\IdentityTranslator',
  2938. 'translator.selector.class' => 'Symfony\\Component\\Translation\\MessageSelector',
  2939. 'translation.loader.php.class' => 'Symfony\\Component\\Translation\\Loader\\PhpFileLoader',
  2940. 'translation.loader.yml.class' => 'Symfony\\Component\\Translation\\Loader\\YamlFileLoader',
  2941. 'translation.loader.xliff.class' => 'Symfony\\Component\\Translation\\Loader\\XliffFileLoader',
  2942. 'translation.loader.po.class' => 'Symfony\\Component\\Translation\\Loader\\PoFileLoader',
  2943. 'translation.loader.mo.class' => 'Symfony\\Component\\Translation\\Loader\\MoFileLoader',
  2944. 'translation.loader.qt.class' => 'Symfony\\Component\\Translation\\Loader\\QtFileLoader',
  2945. 'translation.loader.csv.class' => 'Symfony\\Component\\Translation\\Loader\\CsvFileLoader',
  2946. 'translation.loader.res.class' => 'Symfony\\Component\\Translation\\Loader\\IcuResFileLoader',
  2947. 'translation.loader.dat.class' => 'Symfony\\Component\\Translation\\Loader\\IcuDatFileLoader',
  2948. 'translation.loader.ini.class' => 'Symfony\\Component\\Translation\\Loader\\IniFileLoader',
  2949. 'translation.dumper.php.class' => 'Symfony\\Component\\Translation\\Dumper\\PhpFileDumper',
  2950. 'translation.dumper.xliff.class' => 'Symfony\\Component\\Translation\\Dumper\\XliffFileDumper',
  2951. 'translation.dumper.po.class' => 'Symfony\\Component\\Translation\\Dumper\\PoFileDumper',
  2952. 'translation.dumper.mo.class' => 'Symfony\\Component\\Translation\\Dumper\\MoFileDumper',
  2953. 'translation.dumper.yml.class' => 'Symfony\\Component\\Translation\\Dumper\\YamlFileDumper',
  2954. 'translation.dumper.qt.class' => 'Symfony\\Component\\Translation\\Dumper\\QtFileDumper',
  2955. 'translation.dumper.csv.class' => 'Symfony\\Component\\Translation\\Dumper\\CsvFileDumper',
  2956. 'translation.dumper.ini.class' => 'Symfony\\Component\\Translation\\Dumper\\IniFileDumper',
  2957. 'translation.dumper.res.class' => 'Symfony\\Component\\Translation\\Dumper\\IcuResFileDumper',
  2958. 'translation.extractor.php.class' => 'Symfony\\Bundle\\FrameworkBundle\\Translation\\PhpExtractor',
  2959. 'translation.loader.class' => 'Symfony\\Bundle\\FrameworkBundle\\Translation\\TranslationLoader',
  2960. 'translation.extractor.class' => 'Symfony\\Component\\Translation\\Extractor\\ChainExtractor',
  2961. 'translation.writer.class' => 'Symfony\\Component\\Translation\\Writer\\TranslationWriter',
  2962. 'debug.event_dispatcher.class' => 'Symfony\\Component\\HttpKernel\\Debug\\TraceableEventDispatcher',
  2963. 'debug.stopwatch.class' => 'Symfony\\Component\\Stopwatch\\Stopwatch',
  2964. 'debug.container.dump' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/appDevDebugProjectContainer.xml',
  2965. 'debug.controller_resolver.class' => 'Symfony\\Component\\HttpKernel\\Controller\\TraceableControllerResolver',
  2966. 'debug.deprecation_logger_listener.class' => 'Symfony\\Component\\HttpKernel\\EventListener\\DeprecationLoggerListener',
  2967. 'kernel.secret' => '2081aa2b4d77a2615e927205e0f702dd5a22a013',
  2968. 'kernel.trusted_proxies' => array(
  2969. ),
  2970. 'kernel.trust_proxy_headers' => false,
  2971. 'kernel.default_locale' => 'en',
  2972. 'session.class' => 'Symfony\\Component\\HttpFoundation\\Session\\Session',
  2973. 'session.flashbag.class' => 'Symfony\\Component\\HttpFoundation\\Session\\Flash\\FlashBag',
  2974. 'session.attribute_bag.class' => 'Symfony\\Component\\HttpFoundation\\Session\\Attribute\\AttributeBag',
  2975. 'session.storage.native.class' => 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\NativeSessionStorage',
  2976. 'session.storage.mock_file.class' => 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\MockFileSessionStorage',
  2977. 'session.handler.native_file.class' => 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\NativeFileSessionHandler',
  2978. 'session_listener.class' => 'Symfony\\Bundle\\FrameworkBundle\\EventListener\\SessionListener',
  2979. 'session.storage.options' => array(
  2980. ),
  2981. 'session.save_path' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/sessions',
  2982. 'form.resolved_type_factory.class' => 'Symfony\\Component\\Form\\ResolvedFormTypeFactory',
  2983. 'form.registry.class' => 'Symfony\\Component\\Form\\FormRegistry',
  2984. 'form.factory.class' => 'Symfony\\Component\\Form\\FormFactory',
  2985. 'form.extension.class' => 'Symfony\\Component\\Form\\Extension\\DependencyInjection\\DependencyInjectionExtension',
  2986. 'form.type_guesser.validator.class' => 'Symfony\\Component\\Form\\Extension\\Validator\\ValidatorTypeGuesser',
  2987. 'property_accessor.class' => 'Symfony\\Component\\PropertyAccess\\PropertyAccessor',
  2988. 'form.csrf_provider.class' => 'Symfony\\Component\\Form\\Extension\\Csrf\\CsrfProvider\\SessionCsrfProvider',
  2989. 'form.type_extension.csrf.enabled' => true,
  2990. 'form.type_extension.csrf.field_name' => '_token',
  2991. 'templating.engine.delegating.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\DelegatingEngine',
  2992. 'templating.name_parser.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\TemplateNameParser',
  2993. 'templating.filename_parser.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\TemplateFilenameParser',
  2994. 'templating.cache_warmer.template_paths.class' => 'Symfony\\Bundle\\FrameworkBundle\\CacheWarmer\\TemplatePathsCacheWarmer',
  2995. 'templating.locator.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Loader\\TemplateLocator',
  2996. 'templating.loader.filesystem.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Loader\\FilesystemLoader',
  2997. 'templating.loader.cache.class' => 'Symfony\\Component\\Templating\\Loader\\CacheLoader',
  2998. 'templating.loader.chain.class' => 'Symfony\\Component\\Templating\\Loader\\ChainLoader',
  2999. 'templating.finder.class' => 'Symfony\\Bundle\\FrameworkBundle\\CacheWarmer\\TemplateFinder',
  3000. 'templating.engine.php.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\PhpEngine',
  3001. 'templating.helper.slots.class' => 'Symfony\\Component\\Templating\\Helper\\SlotsHelper',
  3002. 'templating.helper.assets.class' => 'Symfony\\Component\\Templating\\Helper\\CoreAssetsHelper',
  3003. 'templating.helper.actions.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Helper\\ActionsHelper',
  3004. 'templating.helper.router.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Helper\\RouterHelper',
  3005. 'templating.helper.request.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Helper\\RequestHelper',
  3006. 'templating.helper.session.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Helper\\SessionHelper',
  3007. 'templating.helper.code.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Helper\\CodeHelper',
  3008. 'templating.helper.translator.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Helper\\TranslatorHelper',
  3009. 'templating.helper.form.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Helper\\FormHelper',
  3010. 'templating.form.engine.class' => 'Symfony\\Component\\Form\\Extension\\Templating\\TemplatingRendererEngine',
  3011. 'templating.form.renderer.class' => 'Symfony\\Component\\Form\\FormRenderer',
  3012. 'templating.globals.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\GlobalVariables',
  3013. 'templating.asset.path_package.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Asset\\PathPackage',
  3014. 'templating.asset.url_package.class' => 'Symfony\\Component\\Templating\\Asset\\UrlPackage',
  3015. 'templating.asset.package_factory.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Asset\\PackageFactory',
  3016. 'templating.helper.code.file_link_format' => NULL,
  3017. 'templating.helper.form.resources' => array(
  3018. 0 => 'FrameworkBundle:Form',
  3019. ),
  3020. 'templating.debugger.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Debugger',
  3021. 'templating.loader.cache.path' => NULL,
  3022. 'templating.engines' => array(
  3023. 0 => 'twig',
  3024. ),
  3025. 'validator.class' => 'Symfony\\Component\\Validator\\Validator',
  3026. 'validator.mapping.class_metadata_factory.class' => 'Symfony\\Component\\Validator\\Mapping\\ClassMetadataFactory',
  3027. 'validator.mapping.cache.apc.class' => 'Symfony\\Component\\Validator\\Mapping\\Cache\\ApcCache',
  3028. 'validator.mapping.cache.prefix' => '',
  3029. 'validator.mapping.loader.loader_chain.class' => 'Symfony\\Component\\Validator\\Mapping\\Loader\\LoaderChain',
  3030. 'validator.mapping.loader.static_method_loader.class' => 'Symfony\\Component\\Validator\\Mapping\\Loader\\StaticMethodLoader',
  3031. 'validator.mapping.loader.annotation_loader.class' => 'Symfony\\Component\\Validator\\Mapping\\Loader\\AnnotationLoader',
  3032. 'validator.mapping.loader.xml_files_loader.class' => 'Symfony\\Component\\Validator\\Mapping\\Loader\\XmlFilesLoader',
  3033. 'validator.mapping.loader.yaml_files_loader.class' => 'Symfony\\Component\\Validator\\Mapping\\Loader\\YamlFilesLoader',
  3034. 'validator.validator_factory.class' => 'Symfony\\Bundle\\FrameworkBundle\\Validator\\ConstraintValidatorFactory',
  3035. 'validator.mapping.loader.xml_files_loader.mapping_files' => array(
  3036. 0 => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/vendor/symfony/symfony/src/Symfony/Component/Form/Resources/config/validation.xml',
  3037. ),
  3038. 'validator.mapping.loader.yaml_files_loader.mapping_files' => array(
  3039. ),
  3040. 'validator.translation_domain' => 'validators',
  3041. 'fragment.listener.class' => 'Symfony\\Component\\HttpKernel\\EventListener\\FragmentListener',
  3042. 'profiler.class' => 'Symfony\\Component\\HttpKernel\\Profiler\\Profiler',
  3043. 'profiler_listener.class' => 'Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener',
  3044. 'data_collector.config.class' => 'Symfony\\Component\\HttpKernel\\DataCollector\\ConfigDataCollector',
  3045. 'data_collector.request.class' => 'Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector',
  3046. 'data_collector.exception.class' => 'Symfony\\Component\\HttpKernel\\DataCollector\\ExceptionDataCollector',
  3047. 'data_collector.events.class' => 'Symfony\\Component\\HttpKernel\\DataCollector\\EventDataCollector',
  3048. 'data_collector.logger.class' => 'Symfony\\Component\\HttpKernel\\DataCollector\\LoggerDataCollector',
  3049. 'data_collector.time.class' => 'Symfony\\Component\\HttpKernel\\DataCollector\\TimeDataCollector',
  3050. 'data_collector.memory.class' => 'Symfony\\Component\\HttpKernel\\DataCollector\\MemoryDataCollector',
  3051. 'data_collector.router.class' => 'Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector',
  3052. 'profiler_listener.only_exceptions' => false,
  3053. 'profiler_listener.only_master_requests' => false,
  3054. 'profiler.storage.dsn' => 'file:/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/profiler',
  3055. 'profiler.storage.username' => '',
  3056. 'profiler.storage.password' => '',
  3057. 'profiler.storage.lifetime' => 86400,
  3058. 'router.class' => 'Symfony\\Bundle\\FrameworkBundle\\Routing\\Router',
  3059. 'router.request_context.class' => 'Symfony\\Component\\Routing\\RequestContext',
  3060. 'routing.loader.class' => 'Symfony\\Bundle\\FrameworkBundle\\Routing\\DelegatingLoader',
  3061. 'routing.resolver.class' => 'Symfony\\Component\\Config\\Loader\\LoaderResolver',
  3062. 'routing.loader.xml.class' => 'Symfony\\Component\\Routing\\Loader\\XmlFileLoader',
  3063. 'routing.loader.yml.class' => 'Symfony\\Component\\Routing\\Loader\\YamlFileLoader',
  3064. 'routing.loader.php.class' => 'Symfony\\Component\\Routing\\Loader\\PhpFileLoader',
  3065. 'router.options.generator_class' => 'Symfony\\Component\\Routing\\Generator\\UrlGenerator',
  3066. 'router.options.generator_base_class' => 'Symfony\\Component\\Routing\\Generator\\UrlGenerator',
  3067. 'router.options.generator_dumper_class' => 'Symfony\\Component\\Routing\\Generator\\Dumper\\PhpGeneratorDumper',
  3068. 'router.options.matcher_class' => 'Symfony\\Bundle\\FrameworkBundle\\Routing\\RedirectableUrlMatcher',
  3069. 'router.options.matcher_base_class' => 'Symfony\\Bundle\\FrameworkBundle\\Routing\\RedirectableUrlMatcher',
  3070. 'router.options.matcher_dumper_class' => 'Symfony\\Component\\Routing\\Matcher\\Dumper\\PhpMatcherDumper',
  3071. 'router.cache_warmer.class' => 'Symfony\\Bundle\\FrameworkBundle\\CacheWarmer\\RouterCacheWarmer',
  3072. 'router.options.matcher.cache_class' => 'appdevUrlMatcher',
  3073. 'router.options.generator.cache_class' => 'appdevUrlGenerator',
  3074. 'router_listener.class' => 'Symfony\\Component\\HttpKernel\\EventListener\\RouterListener',
  3075. 'router.request_context.host' => 'localhost',
  3076. 'router.request_context.scheme' => 'http',
  3077. 'router.request_context.base_url' => '',
  3078. 'router.resource' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/assetic/routing.yml',
  3079. 'request_listener.http_port' => 80,
  3080. 'request_listener.https_port' => 443,
  3081. 'annotations.reader.class' => 'Doctrine\\Common\\Annotations\\AnnotationReader',
  3082. 'annotations.cached_reader.class' => 'Doctrine\\Common\\Annotations\\CachedReader',
  3083. 'annotations.file_cache_reader.class' => 'Doctrine\\Common\\Annotations\\FileCacheReader',
  3084. 'security.context.class' => 'Symfony\\Component\\Security\\Core\\SecurityContext',
  3085. 'security.user_checker.class' => 'Symfony\\Component\\Security\\Core\\User\\UserChecker',
  3086. 'security.encoder_factory.generic.class' => 'Symfony\\Component\\Security\\Core\\Encoder\\EncoderFactory',
  3087. 'security.encoder.digest.class' => 'Symfony\\Component\\Security\\Core\\Encoder\\MessageDigestPasswordEncoder',
  3088. 'security.encoder.plain.class' => 'Symfony\\Component\\Security\\Core\\Encoder\\PlaintextPasswordEncoder',
  3089. 'security.encoder.pbkdf2.class' => 'Symfony\\Component\\Security\\Core\\Encoder\\Pbkdf2PasswordEncoder',
  3090. 'security.encoder.bcrypt.class' => 'Symfony\\Component\\Security\\Core\\Encoder\\BCryptPasswordEncoder',
  3091. 'security.user.provider.in_memory.class' => 'Symfony\\Component\\Security\\Core\\User\\InMemoryUserProvider',
  3092. 'security.user.provider.in_memory.user.class' => 'Symfony\\Component\\Security\\Core\\User\\User',
  3093. 'security.user.provider.chain.class' => 'Symfony\\Component\\Security\\Core\\User\\ChainUserProvider',
  3094. 'security.authentication.trust_resolver.class' => 'Symfony\\Component\\Security\\Core\\Authentication\\AuthenticationTrustResolver',
  3095. 'security.authentication.trust_resolver.anonymous_class' => 'Symfony\\Component\\Security\\Core\\Authentication\\Token\\AnonymousToken',
  3096. 'security.authentication.trust_resolver.rememberme_class' => 'Symfony\\Component\\Security\\Core\\Authentication\\Token\\RememberMeToken',
  3097. 'security.authentication.manager.class' => 'Symfony\\Component\\Security\\Core\\Authentication\\AuthenticationProviderManager',
  3098. 'security.authentication.session_strategy.class' => 'Symfony\\Component\\Security\\Http\\Session\\SessionAuthenticationStrategy',
  3099. 'security.access.decision_manager.class' => 'Symfony\\Component\\Security\\Core\\Authorization\\AccessDecisionManager',
  3100. 'security.access.simple_role_voter.class' => 'Symfony\\Component\\Security\\Core\\Authorization\\Voter\\RoleVoter',
  3101. 'security.access.authenticated_voter.class' => 'Symfony\\Component\\Security\\Core\\Authorization\\Voter\\AuthenticatedVoter',
  3102. 'security.access.role_hierarchy_voter.class' => 'Symfony\\Component\\Security\\Core\\Authorization\\Voter\\RoleHierarchyVoter',
  3103. 'security.firewall.class' => 'Symfony\\Component\\Security\\Http\\Firewall',
  3104. 'security.firewall.map.class' => 'Symfony\\Bundle\\SecurityBundle\\Security\\FirewallMap',
  3105. 'security.firewall.context.class' => 'Symfony\\Bundle\\SecurityBundle\\Security\\FirewallContext',
  3106. 'security.matcher.class' => 'Symfony\\Component\\HttpFoundation\\RequestMatcher',
  3107. 'security.role_hierarchy.class' => 'Symfony\\Component\\Security\\Core\\Role\\RoleHierarchy',
  3108. 'security.http_utils.class' => 'Symfony\\Component\\Security\\Http\\HttpUtils',
  3109. 'security.validator.user_password.class' => 'Symfony\\Component\\Security\\Core\\Validator\\Constraints\\UserPasswordValidator',
  3110. 'security.authentication.retry_entry_point.class' => 'Symfony\\Component\\Security\\Http\\EntryPoint\\RetryAuthenticationEntryPoint',
  3111. 'security.channel_listener.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\ChannelListener',
  3112. 'security.authentication.form_entry_point.class' => 'Symfony\\Component\\Security\\Http\\EntryPoint\\FormAuthenticationEntryPoint',
  3113. 'security.authentication.listener.form.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\UsernamePasswordFormAuthenticationListener',
  3114. 'security.authentication.listener.basic.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\BasicAuthenticationListener',
  3115. 'security.authentication.basic_entry_point.class' => 'Symfony\\Component\\Security\\Http\\EntryPoint\\BasicAuthenticationEntryPoint',
  3116. 'security.authentication.listener.digest.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\DigestAuthenticationListener',
  3117. 'security.authentication.digest_entry_point.class' => 'Symfony\\Component\\Security\\Http\\EntryPoint\\DigestAuthenticationEntryPoint',
  3118. 'security.authentication.listener.x509.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\X509AuthenticationListener',
  3119. 'security.authentication.listener.anonymous.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\AnonymousAuthenticationListener',
  3120. 'security.authentication.switchuser_listener.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\SwitchUserListener',
  3121. 'security.logout_listener.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\LogoutListener',
  3122. 'security.logout.handler.session.class' => 'Symfony\\Component\\Security\\Http\\Logout\\SessionLogoutHandler',
  3123. 'security.logout.handler.cookie_clearing.class' => 'Symfony\\Component\\Security\\Http\\Logout\\CookieClearingLogoutHandler',
  3124. 'security.logout.success_handler.class' => 'Symfony\\Component\\Security\\Http\\Logout\\DefaultLogoutSuccessHandler',
  3125. 'security.access_listener.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\AccessListener',
  3126. 'security.access_map.class' => 'Symfony\\Component\\Security\\Http\\AccessMap',
  3127. 'security.exception_listener.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\ExceptionListener',
  3128. 'security.context_listener.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\ContextListener',
  3129. 'security.authentication.provider.dao.class' => 'Symfony\\Component\\Security\\Core\\Authentication\\Provider\\DaoAuthenticationProvider',
  3130. 'security.authentication.provider.pre_authenticated.class' => 'Symfony\\Component\\Security\\Core\\Authentication\\Provider\\PreAuthenticatedAuthenticationProvider',
  3131. 'security.authentication.provider.anonymous.class' => 'Symfony\\Component\\Security\\Core\\Authentication\\Provider\\AnonymousAuthenticationProvider',
  3132. 'security.authentication.success_handler.class' => 'Symfony\\Component\\Security\\Http\\Authentication\\DefaultAuthenticationSuccessHandler',
  3133. 'security.authentication.failure_handler.class' => 'Symfony\\Component\\Security\\Http\\Authentication\\DefaultAuthenticationFailureHandler',
  3134. 'security.authentication.provider.rememberme.class' => 'Symfony\\Component\\Security\\Core\\Authentication\\Provider\\RememberMeAuthenticationProvider',
  3135. 'security.authentication.listener.rememberme.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\RememberMeListener',
  3136. 'security.rememberme.token.provider.in_memory.class' => 'Symfony\\Component\\Security\\Core\\Authentication\\RememberMe\\InMemoryTokenProvider',
  3137. 'security.authentication.rememberme.services.persistent.class' => 'Symfony\\Component\\Security\\Http\\RememberMe\\PersistentTokenBasedRememberMeServices',
  3138. 'security.authentication.rememberme.services.simplehash.class' => 'Symfony\\Component\\Security\\Http\\RememberMe\\TokenBasedRememberMeServices',
  3139. 'security.rememberme.response_listener.class' => 'Symfony\\Component\\Security\\Http\\RememberMe\\ResponseListener',
  3140. 'templating.helper.logout_url.class' => 'Symfony\\Bundle\\SecurityBundle\\Templating\\Helper\\LogoutUrlHelper',
  3141. 'templating.helper.security.class' => 'Symfony\\Bundle\\SecurityBundle\\Templating\\Helper\\SecurityHelper',
  3142. 'twig.extension.logout_url.class' => 'Symfony\\Bundle\\SecurityBundle\\Twig\\Extension\\LogoutUrlExtension',
  3143. 'twig.extension.security.class' => 'Symfony\\Bridge\\Twig\\Extension\\SecurityExtension',
  3144. 'data_collector.security.class' => 'Symfony\\Bundle\\SecurityBundle\\DataCollector\\SecurityDataCollector',
  3145. 'security.access.denied_url' => NULL,
  3146. 'security.authentication.manager.erase_credentials' => true,
  3147. 'security.authentication.session_strategy.strategy' => 'migrate',
  3148. 'security.access.always_authenticate_before_granting' => false,
  3149. 'security.authentication.hide_user_not_found' => true,
  3150. 'security.role_hierarchy.roles' => array(
  3151. 'ROLE_ADMIN' => array(
  3152. 0 => 'ROLE_USER',
  3153. ),
  3154. 'ROLE_SUPER_ADMIN' => array(
  3155. 0 => 'ROLE_USER',
  3156. 1 => 'ROLE_ADMIN',
  3157. 2 => 'ROLE_ALLOWED_TO_SWITCH',
  3158. ),
  3159. ),
  3160. 'twig.class' => 'Twig_Environment',
  3161. 'twig.loader.filesystem.class' => 'Symfony\\Bundle\\TwigBundle\\Loader\\FilesystemLoader',
  3162. 'twig.loader.chain.class' => 'Twig_Loader_Chain',
  3163. 'templating.engine.twig.class' => 'Symfony\\Bundle\\TwigBundle\\TwigEngine',
  3164. 'twig.cache_warmer.class' => 'Symfony\\Bundle\\TwigBundle\\CacheWarmer\\TemplateCacheCacheWarmer',
  3165. 'twig.extension.trans.class' => 'Symfony\\Bridge\\Twig\\Extension\\TranslationExtension',
  3166. 'twig.extension.assets.class' => 'Symfony\\Bundle\\TwigBundle\\Extension\\AssetsExtension',
  3167. 'twig.extension.actions.class' => 'Symfony\\Bundle\\TwigBundle\\Extension\\ActionsExtension',
  3168. 'twig.extension.code.class' => 'Symfony\\Bridge\\Twig\\Extension\\CodeExtension',
  3169. 'twig.extension.routing.class' => 'Symfony\\Bridge\\Twig\\Extension\\RoutingExtension',
  3170. 'twig.extension.yaml.class' => 'Symfony\\Bridge\\Twig\\Extension\\YamlExtension',
  3171. 'twig.extension.form.class' => 'Symfony\\Bridge\\Twig\\Extension\\FormExtension',
  3172. 'twig.extension.httpkernel.class' => 'Symfony\\Bridge\\Twig\\Extension\\HttpKernelExtension',
  3173. 'twig.form.engine.class' => 'Symfony\\Bridge\\Twig\\Form\\TwigRendererEngine',
  3174. 'twig.form.renderer.class' => 'Symfony\\Bridge\\Twig\\Form\\TwigRenderer',
  3175. 'twig.translation.extractor.class' => 'Symfony\\Bridge\\Twig\\Translation\\TwigExtractor',
  3176. 'twig.exception_listener.class' => 'Symfony\\Component\\HttpKernel\\EventListener\\ExceptionListener',
  3177. 'twig.controller.exception.class' => 'Symfony\\Bundle\\TwigBundle\\Controller\\ExceptionController',
  3178. 'twig.exception_listener.controller' => 'twig.controller.exception:showAction',
  3179. 'twig.form.resources' => array(
  3180. 0 => 'form_div_layout.html.twig',
  3181. ),
  3182. 'twig.options' => array(
  3183. 'debug' => true,
  3184. 'strict_variables' => true,
  3185. 'exception_controller' => 'twig.controller.exception:showAction',
  3186. 'cache' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/twig',
  3187. 'charset' => 'UTF-8',
  3188. 'paths' => array(
  3189. ),
  3190. ),
  3191. 'debug.templating.engine.twig.class' => 'Symfony\\Bundle\\TwigBundle\\Debug\\TimedTwigEngine',
  3192. 'monolog.logger.class' => 'Symfony\\Bridge\\Monolog\\Logger',
  3193. 'monolog.gelf.publisher.class' => 'Gelf\\MessagePublisher',
  3194. 'monolog.handler.stream.class' => 'Monolog\\Handler\\StreamHandler',
  3195. 'monolog.handler.group.class' => 'Monolog\\Handler\\GroupHandler',
  3196. 'monolog.handler.buffer.class' => 'Monolog\\Handler\\BufferHandler',
  3197. 'monolog.handler.rotating_file.class' => 'Monolog\\Handler\\RotatingFileHandler',
  3198. 'monolog.handler.syslog.class' => 'Monolog\\Handler\\SyslogHandler',
  3199. 'monolog.handler.null.class' => 'Monolog\\Handler\\NullHandler',
  3200. 'monolog.handler.test.class' => 'Monolog\\Handler\\TestHandler',
  3201. 'monolog.handler.gelf.class' => 'Monolog\\Handler\\GelfHandler',
  3202. 'monolog.handler.firephp.class' => 'Symfony\\Bridge\\Monolog\\Handler\\FirePHPHandler',
  3203. 'monolog.handler.chromephp.class' => 'Symfony\\Bridge\\Monolog\\Handler\\ChromePhpHandler',
  3204. 'monolog.handler.debug.class' => 'Symfony\\Bridge\\Monolog\\Handler\\DebugHandler',
  3205. 'monolog.handler.swift_mailer.class' => 'Monolog\\Handler\\SwiftMailerHandler',
  3206. 'monolog.handler.native_mailer.class' => 'Monolog\\Handler\\NativeMailerHandler',
  3207. 'monolog.handler.socket.class' => 'Monolog\\Handler\\SocketHandler',
  3208. 'monolog.handler.pushover.class' => 'Monolog\\Handler\\PushoverHandler',
  3209. 'monolog.handler.fingers_crossed.class' => 'Monolog\\Handler\\FingersCrossedHandler',
  3210. 'monolog.handler.fingers_crossed.error_level_activation_strategy.class' => 'Monolog\\Handler\\FingersCrossed\\ErrorLevelActivationStrategy',
  3211. 'monolog.handlers_to_channels' => array(
  3212. 'monolog.handler.chromephp' => NULL,
  3213. 'monolog.handler.firephp' => NULL,
  3214. 'monolog.handler.main' => NULL,
  3215. ),
  3216. 'swiftmailer.class' => 'Swift_Mailer',
  3217. 'swiftmailer.transport.sendmail.class' => 'Swift_Transport_SendmailTransport',
  3218. 'swiftmailer.transport.mail.class' => 'Swift_Transport_MailTransport',
  3219. 'swiftmailer.transport.failover.class' => 'Swift_Transport_FailoverTransport',
  3220. 'swiftmailer.plugin.redirecting.class' => 'Swift_Plugins_RedirectingPlugin',
  3221. 'swiftmailer.plugin.impersonate.class' => 'Swift_Plugins_ImpersonatePlugin',
  3222. 'swiftmailer.plugin.messagelogger.class' => 'Swift_Plugins_MessageLogger',
  3223. 'swiftmailer.plugin.antiflood.class' => 'Swift_Plugins_AntiFloodPlugin',
  3224. 'swiftmailer.plugin.antiflood.threshold' => 99,
  3225. 'swiftmailer.plugin.antiflood.sleep' => 0,
  3226. 'swiftmailer.data_collector.class' => 'Symfony\\Bridge\\Swiftmailer\\DataCollector\\MessageDataCollector',
  3227. 'swiftmailer.transport.smtp.class' => 'Swift_Transport_EsmtpTransport',
  3228. 'swiftmailer.transport.smtp.encryption' => NULL,
  3229. 'swiftmailer.transport.smtp.port' => 25,
  3230. 'swiftmailer.transport.smtp.host' => '127.0.0.1',
  3231. 'swiftmailer.transport.smtp.username' => NULL,
  3232. 'swiftmailer.transport.smtp.password' => NULL,
  3233. 'swiftmailer.transport.smtp.auth_mode' => NULL,
  3234. 'swiftmailer.transport.smtp.timeout' => 30,
  3235. 'swiftmailer.transport.smtp.source_ip' => NULL,
  3236. 'swiftmailer.plugin.blackhole.class' => 'Swift_Plugins_BlackholePlugin',
  3237. 'swiftmailer.spool.memory.class' => 'Swift_MemorySpool',
  3238. 'swiftmailer.email_sender.listener.class' => 'Symfony\\Bundle\\SwiftmailerBundle\\EventListener\\EmailSenderListener',
  3239. 'swiftmailer.spool.memory.path' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/swiftmailer/spool',
  3240. 'swiftmailer.spool.enabled' => true,
  3241. 'swiftmailer.sender_address' => NULL,
  3242. 'swiftmailer.single_address' => NULL,
  3243. 'swiftmailer.delivery_whitelist' => array(
  3244. ),
  3245. 'assetic.asset_factory.class' => 'Symfony\\Bundle\\AsseticBundle\\Factory\\AssetFactory',
  3246. 'assetic.asset_manager.class' => 'Assetic\\Factory\\LazyAssetManager',
  3247. 'assetic.asset_manager_cache_warmer.class' => 'Symfony\\Bundle\\AsseticBundle\\CacheWarmer\\AssetManagerCacheWarmer',
  3248. 'assetic.cached_formula_loader.class' => 'Assetic\\Factory\\Loader\\CachedFormulaLoader',
  3249. 'assetic.config_cache.class' => 'Assetic\\Cache\\ConfigCache',
  3250. 'assetic.config_loader.class' => 'Symfony\\Bundle\\AsseticBundle\\Factory\\Loader\\ConfigurationLoader',
  3251. 'assetic.config_resource.class' => 'Symfony\\Bundle\\AsseticBundle\\Factory\\Resource\\ConfigurationResource',
  3252. 'assetic.coalescing_directory_resource.class' => 'Symfony\\Bundle\\AsseticBundle\\Factory\\Resource\\CoalescingDirectoryResource',
  3253. 'assetic.directory_resource.class' => 'Symfony\\Bundle\\AsseticBundle\\Factory\\Resource\\DirectoryResource',
  3254. 'assetic.filter_manager.class' => 'Symfony\\Bundle\\AsseticBundle\\FilterManager',
  3255. 'assetic.worker.ensure_filter.class' => 'Assetic\\Factory\\Worker\\EnsureFilterWorker',
  3256. 'assetic.value_supplier.class' => 'Symfony\\Bundle\\AsseticBundle\\DefaultValueSupplier',
  3257. 'assetic.node.paths' => array(
  3258. ),
  3259. 'assetic.cache_dir' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/assetic',
  3260. 'assetic.bundles' => array(
  3261. ),
  3262. 'assetic.twig_extension.class' => 'Symfony\\Bundle\\AsseticBundle\\Twig\\AsseticExtension',
  3263. 'assetic.twig_formula_loader.class' => 'Assetic\\Extension\\Twig\\TwigFormulaLoader',
  3264. 'assetic.helper.dynamic.class' => 'Symfony\\Bundle\\AsseticBundle\\Templating\\DynamicAsseticHelper',
  3265. 'assetic.helper.static.class' => 'Symfony\\Bundle\\AsseticBundle\\Templating\\StaticAsseticHelper',
  3266. 'assetic.php_formula_loader.class' => 'Symfony\\Bundle\\AsseticBundle\\Factory\\Loader\\AsseticHelperFormulaLoader',
  3267. 'assetic.debug' => true,
  3268. 'assetic.use_controller' => true,
  3269. 'assetic.enable_profiler' => false,
  3270. 'assetic.read_from' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/../web',
  3271. 'assetic.write_to' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/../web',
  3272. 'assetic.variables' => array(
  3273. ),
  3274. 'assetic.java.bin' => '/usr/bin/java',
  3275. 'assetic.node.bin' => '/usr/local/bin/node',
  3276. 'assetic.ruby.bin' => '/usr/bin/ruby',
  3277. 'assetic.sass.bin' => '/usr/bin/sass',
  3278. 'assetic.filter.cssrewrite.class' => 'Assetic\\Filter\\CssRewriteFilter',
  3279. 'assetic.twig_extension.functions' => array(
  3280. ),
  3281. 'assetic.controller.class' => 'Symfony\\Bundle\\AsseticBundle\\Controller\\AsseticController',
  3282. 'assetic.routing_loader.class' => 'Symfony\\Bundle\\AsseticBundle\\Routing\\AsseticLoader',
  3283. 'assetic.cache.class' => 'Assetic\\Cache\\FilesystemCache',
  3284. 'assetic.use_controller_worker.class' => 'Symfony\\Bundle\\AsseticBundle\\Factory\\Worker\\UseControllerWorker',
  3285. 'assetic.request_listener.class' => 'Symfony\\Bundle\\AsseticBundle\\EventListener\\RequestListener',
  3286. 'doctrine.dbal.logger.chain.class' => 'Doctrine\\DBAL\\Logging\\LoggerChain',
  3287. 'doctrine.dbal.logger.profiling.class' => 'Doctrine\\DBAL\\Logging\\DebugStack',
  3288. 'doctrine.dbal.logger.class' => 'Symfony\\Bridge\\Doctrine\\Logger\\DbalLogger',
  3289. 'doctrine.dbal.configuration.class' => 'Doctrine\\DBAL\\Configuration',
  3290. 'doctrine.data_collector.class' => 'Doctrine\\Bundle\\DoctrineBundle\\DataCollector\\DoctrineDataCollector',
  3291. 'doctrine.dbal.connection.event_manager.class' => 'Symfony\\Bridge\\Doctrine\\ContainerAwareEventManager',
  3292. 'doctrine.dbal.connection_factory.class' => 'Doctrine\\Bundle\\DoctrineBundle\\ConnectionFactory',
  3293. 'doctrine.dbal.events.mysql_session_init.class' => 'Doctrine\\DBAL\\Event\\Listeners\\MysqlSessionInit',
  3294. 'doctrine.dbal.events.oracle_session_init.class' => 'Doctrine\\DBAL\\Event\\Listeners\\OracleSessionInit',
  3295. 'doctrine.class' => 'Doctrine\\Bundle\\DoctrineBundle\\Registry',
  3296. 'doctrine.entity_managers' => array(
  3297. 'default' => 'doctrine.orm.default_entity_manager',
  3298. ),
  3299. 'doctrine.default_entity_manager' => 'default',
  3300. 'doctrine.dbal.connection_factory.types' => array(
  3301. ),
  3302. 'doctrine.connections' => array(
  3303. 'default' => 'doctrine.dbal.default_connection',
  3304. ),
  3305. 'doctrine.default_connection' => 'default',
  3306. 'doctrine.orm.configuration.class' => 'Doctrine\\ORM\\Configuration',
  3307. 'doctrine.orm.entity_manager.class' => 'Doctrine\\ORM\\EntityManager',
  3308. 'doctrine.orm.manager_configurator.class' => 'Doctrine\\Bundle\\DoctrineBundle\\ManagerConfigurator',
  3309. 'doctrine.orm.cache.array.class' => 'Doctrine\\Common\\Cache\\ArrayCache',
  3310. 'doctrine.orm.cache.apc.class' => 'Doctrine\\Common\\Cache\\ApcCache',
  3311. 'doctrine.orm.cache.memcache.class' => 'Doctrine\\Common\\Cache\\MemcacheCache',
  3312. 'doctrine.orm.cache.memcache_host' => 'localhost',
  3313. 'doctrine.orm.cache.memcache_port' => 11211,
  3314. 'doctrine.orm.cache.memcache_instance.class' => 'Memcache',
  3315. 'doctrine.orm.cache.memcached.class' => 'Doctrine\\Common\\Cache\\MemcachedCache',
  3316. 'doctrine.orm.cache.memcached_host' => 'localhost',
  3317. 'doctrine.orm.cache.memcached_port' => 11211,
  3318. 'doctrine.orm.cache.memcached_instance.class' => 'Memcached',
  3319. 'doctrine.orm.cache.redis.class' => 'Doctrine\\Common\\Cache\\RedisCache',
  3320. 'doctrine.orm.cache.redis_host' => 'localhost',
  3321. 'doctrine.orm.cache.redis_port' => 6379,
  3322. 'doctrine.orm.cache.redis_instance.class' => 'Redis',
  3323. 'doctrine.orm.cache.xcache.class' => 'Doctrine\\Common\\Cache\\XcacheCache',
  3324. 'doctrine.orm.cache.wincache.class' => 'Doctrine\\Common\\Cache\\WinCacheCache',
  3325. 'doctrine.orm.cache.zenddata.class' => 'Doctrine\\Common\\Cache\\ZendDataCache',
  3326. 'doctrine.orm.metadata.driver_chain.class' => 'Doctrine\\ORM\\Mapping\\Driver\\DriverChain',
  3327. 'doctrine.orm.metadata.annotation.class' => 'Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver',
  3328. 'doctrine.orm.metadata.xml.class' => 'Doctrine\\ORM\\Mapping\\Driver\\SimplifiedXmlDriver',
  3329. 'doctrine.orm.metadata.yml.class' => 'Doctrine\\ORM\\Mapping\\Driver\\SimplifiedYamlDriver',
  3330. 'doctrine.orm.metadata.php.class' => 'Doctrine\\ORM\\Mapping\\Driver\\PHPDriver',
  3331. 'doctrine.orm.metadata.staticphp.class' => 'Doctrine\\ORM\\Mapping\\Driver\\StaticPHPDriver',
  3332. 'doctrine.orm.proxy_cache_warmer.class' => 'Symfony\\Bridge\\Doctrine\\CacheWarmer\\ProxyCacheWarmer',
  3333. 'form.type_guesser.doctrine.class' => 'Symfony\\Bridge\\Doctrine\\Form\\DoctrineOrmTypeGuesser',
  3334. 'doctrine.orm.validator.unique.class' => 'Symfony\\Bridge\\Doctrine\\Validator\\Constraints\\UniqueEntityValidator',
  3335. 'doctrine.orm.validator_initializer.class' => 'Symfony\\Bridge\\Doctrine\\Validator\\DoctrineInitializer',
  3336. 'doctrine.orm.security.user.provider.class' => 'Symfony\\Bridge\\Doctrine\\Security\\User\\EntityUserProvider',
  3337. 'doctrine.orm.listeners.resolve_target_entity.class' => 'Doctrine\\ORM\\Tools\\ResolveTargetEntityListener',
  3338. 'doctrine.orm.naming_strategy.default.class' => 'Doctrine\\ORM\\Mapping\\DefaultNamingStrategy',
  3339. 'doctrine.orm.naming_strategy.underscore.class' => 'Doctrine\\ORM\\Mapping\\UnderscoreNamingStrategy',
  3340. 'doctrine.orm.auto_generate_proxy_classes' => true,
  3341. 'doctrine.orm.proxy_dir' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/doctrine/orm/Proxies',
  3342. 'doctrine.orm.proxy_namespace' => 'Proxies',
  3343. 'sensio_framework_extra.view.guesser.class' => 'Sensio\\Bundle\\FrameworkExtraBundle\\Templating\\TemplateGuesser',
  3344. 'sensio_framework_extra.controller.listener.class' => 'Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\ControllerListener',
  3345. 'sensio_framework_extra.routing.loader.annot_dir.class' => 'Symfony\\Component\\Routing\\Loader\\AnnotationDirectoryLoader',
  3346. 'sensio_framework_extra.routing.loader.annot_file.class' => 'Symfony\\Component\\Routing\\Loader\\AnnotationFileLoader',
  3347. 'sensio_framework_extra.routing.loader.annot_class.class' => 'Sensio\\Bundle\\FrameworkExtraBundle\\Routing\\AnnotatedRouteControllerLoader',
  3348. 'sensio_framework_extra.converter.listener.class' => 'Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\ParamConverterListener',
  3349. 'sensio_framework_extra.converter.manager.class' => 'Sensio\\Bundle\\FrameworkExtraBundle\\Request\\ParamConverter\\ParamConverterManager',
  3350. 'sensio_framework_extra.converter.doctrine.class' => 'Sensio\\Bundle\\FrameworkExtraBundle\\Request\\ParamConverter\\DoctrineParamConverter',
  3351. 'sensio_framework_extra.converter.datetime.class' => 'Sensio\\Bundle\\FrameworkExtraBundle\\Request\\ParamConverter\\DateTimeParamConverter',
  3352. 'sensio_framework_extra.view.listener.class' => 'Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\TemplateListener',
  3353. 'jms_aop.cache_dir' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/jms_aop',
  3354. 'jms_aop.interceptor_loader.class' => 'JMS\\AopBundle\\Aop\\InterceptorLoader',
  3355. 'jms_di_extra.metadata.driver.annotation_driver.class' => 'JMS\\DiExtraBundle\\Metadata\\Driver\\AnnotationDriver',
  3356. 'jms_di_extra.metadata.driver.configured_controller_injections.class' => 'JMS\\DiExtraBundle\\Metadata\\Driver\\ConfiguredControllerInjectionsDriver',
  3357. 'jms_di_extra.metadata.driver.lazy_loading_driver.class' => 'Metadata\\Driver\\LazyLoadingDriver',
  3358. 'jms_di_extra.metadata.metadata_factory.class' => 'Metadata\\MetadataFactory',
  3359. 'jms_di_extra.metadata.cache.file_cache.class' => 'Metadata\\Cache\\FileCache',
  3360. 'jms_di_extra.metadata.converter.class' => 'JMS\\DiExtraBundle\\Metadata\\MetadataConverter',
  3361. 'jms_di_extra.controller_resolver.class' => 'JMS\\DiExtraBundle\\HttpKernel\\ControllerResolver',
  3362. 'jms_di_extra.controller_injectors_warmer.class' => 'JMS\\DiExtraBundle\\HttpKernel\\ControllerInjectorsWarmer',
  3363. 'jms_di_extra.all_bundles' => false,
  3364. 'jms_di_extra.bundles' => array(
  3365. ),
  3366. 'jms_di_extra.directories' => array(
  3367. ),
  3368. 'jms_di_extra.cache_dir' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/jms_diextra',
  3369. 'jms_di_extra.disable_grep' => false,
  3370. 'jms_di_extra.doctrine_integration' => true,
  3371. 'jms_di_extra.cache_warmer.controller_file_blacklist' => array(
  3372. ),
  3373. 'jms_di_extra.doctrine_integration.entity_manager.file' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/jms_diextra/doctrine/EntityManager_5162b07e2cbb0.php',
  3374. 'jms_di_extra.doctrine_integration.entity_manager.class' => 'EntityManager5162b07e2cbb0_546a8d27f194334ee012bfe64f629947b07e4919\\__CG__\\Doctrine\\ORM\\EntityManager',
  3375. 'security.secured_services' => array(
  3376. ),
  3377. 'security.access.method_interceptor.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\Interception\\MethodSecurityInterceptor',
  3378. 'security.access.method_access_control' => array(
  3379. ),
  3380. 'security.access.remembering_access_decision_manager.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\RememberingAccessDecisionManager',
  3381. 'security.access.run_as_manager.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\RunAsManager',
  3382. 'security.authentication.provider.run_as.class' => 'JMS\\SecurityExtraBundle\\Security\\Authentication\\Provider\\RunAsAuthenticationProvider',
  3383. 'security.run_as.key' => 'RunAsToken',
  3384. 'security.run_as.role_prefix' => 'ROLE_',
  3385. 'security.access.after_invocation_manager.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\AfterInvocation\\AfterInvocationManager',
  3386. 'security.access.after_invocation.acl_provider.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\AfterInvocation\\AclAfterInvocationProvider',
  3387. 'security.access.iddqd_voter.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\Voter\\IddqdVoter',
  3388. 'security.extra.metadata_factory.class' => 'Metadata\\MetadataFactory',
  3389. 'security.extra.lazy_loading_driver.class' => 'Metadata\\Driver\\LazyLoadingDriver',
  3390. 'security.extra.driver_chain.class' => 'Metadata\\Driver\\DriverChain',
  3391. 'security.extra.annotation_driver.class' => 'JMS\\SecurityExtraBundle\\Metadata\\Driver\\AnnotationDriver',
  3392. 'security.extra.file_cache.class' => 'Metadata\\Cache\\FileCache',
  3393. 'security.access.secure_all_services' => false,
  3394. 'security.extra.cache_dir' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/jms_security',
  3395. 'security.acl.permission_evaluator.class' => 'JMS\\SecurityExtraBundle\\Security\\Acl\\Expression\\PermissionEvaluator',
  3396. 'security.acl.has_permission_compiler.class' => 'JMS\\SecurityExtraBundle\\Security\\Acl\\Expression\\HasPermissionFunctionCompiler',
  3397. 'security.expressions.voter.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\Expression\\LazyLoadingExpressionVoter',
  3398. 'security.expressions.handler.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\Expression\\ContainerAwareExpressionHandler',
  3399. 'security.expressions.compiler.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\Expression\\ExpressionCompiler',
  3400. 'security.expressions.expression.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\Expression\\Expression',
  3401. 'security.expressions.variable_compiler.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\Expression\\Compiler\\ContainerAwareVariableCompiler',
  3402. 'security.expressions.parameter_compiler.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\Expression\\Compiler\\ParameterExpressionCompiler',
  3403. 'security.expressions.reverse_interpreter.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\Expression\\ReverseInterpreter',
  3404. 'security.extra.config_driver.class' => 'JMS\\SecurityExtraBundle\\Metadata\\Driver\\ConfigDriver',
  3405. 'security.extra.twig_extension.class' => 'JMS\\SecurityExtraBundle\\Twig\\SecurityExtension',
  3406. 'security.authenticated_voter.disabled' => false,
  3407. 'security.role_voter.disabled' => false,
  3408. 'security.acl_voter.disabled' => false,
  3409. 'security.extra.iddqd_ignore_roles' => array(
  3410. 0 => 'ROLE_PREVIOUS_ADMIN',
  3411. ),
  3412. 'security.iddqd_aliases' => array(
  3413. ),
  3414. 'web_profiler.controller.profiler.class' => 'Symfony\\Bundle\\WebProfilerBundle\\Controller\\ProfilerController',
  3415. 'web_profiler.controller.router.class' => 'Symfony\\Bundle\\WebProfilerBundle\\Controller\\RouterController',
  3416. 'web_profiler.controller.exception.class' => 'Symfony\\Bundle\\WebProfilerBundle\\Controller\\ExceptionController',
  3417. 'web_profiler.debug_toolbar.class' => 'Symfony\\Bundle\\WebProfilerBundle\\EventListener\\WebDebugToolbarListener',
  3418. 'web_profiler.debug_toolbar.intercept_redirects' => false,
  3419. 'web_profiler.debug_toolbar.mode' => 2,
  3420. 'web_profiler.debug_toolbar.position' => 'bottom',
  3421. 'sensio.distribution.webconfigurator.class' => 'Sensio\\Bundle\\DistributionBundle\\Configurator\\Configurator',
  3422. 'data_collector.templates' => array(
  3423. 'data_collector.config' => array(
  3424. 0 => 'config',
  3425. 1 => '@WebProfiler/Collector/config.html.twig',
  3426. ),
  3427. 'data_collector.request' => array(
  3428. 0 => 'request',
  3429. 1 => '@WebProfiler/Collector/request.html.twig',
  3430. ),
  3431. 'data_collector.exception' => array(
  3432. 0 => 'exception',
  3433. 1 => '@WebProfiler/Collector/exception.html.twig',
  3434. ),
  3435. 'data_collector.events' => array(
  3436. 0 => 'events',
  3437. 1 => '@WebProfiler/Collector/events.html.twig',
  3438. ),
  3439. 'data_collector.logger' => array(
  3440. 0 => 'logger',
  3441. 1 => '@WebProfiler/Collector/logger.html.twig',
  3442. ),
  3443. 'data_collector.time' => array(
  3444. 0 => 'time',
  3445. 1 => '@WebProfiler/Collector/time.html.twig',
  3446. ),
  3447. 'data_collector.memory' => array(
  3448. 0 => 'memory',
  3449. 1 => '@WebProfiler/Collector/memory.html.twig',
  3450. ),
  3451. 'data_collector.router' => array(
  3452. 0 => 'router',
  3453. 1 => '@WebProfiler/Collector/router.html.twig',
  3454. ),
  3455. 'data_collector.security' => array(
  3456. 0 => 'security',
  3457. 1 => 'SecurityBundle:Collector:security',
  3458. ),
  3459. 'swiftmailer.data_collector' => array(
  3460. 0 => 'swiftmailer',
  3461. 1 => 'SwiftmailerBundle:Collector:swiftmailer',
  3462. ),
  3463. 'data_collector.doctrine' => array(
  3464. 0 => 'db',
  3465. 1 => 'DoctrineBundle:Collector:db',
  3466. ),
  3467. ),
  3468. );
  3469. }
  3470. }