/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
- <?php
- use Symfony\Component\DependencyInjection\ContainerInterface;
- use Symfony\Component\DependencyInjection\Container;
- use Symfony\Component\DependencyInjection\Exception\InactiveScopeException;
- use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
- use Symfony\Component\DependencyInjection\Exception\LogicException;
- use Symfony\Component\DependencyInjection\Exception\RuntimeException;
- use Symfony\Component\DependencyInjection\Reference;
- use Symfony\Component\DependencyInjection\Parameter;
- use Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag;
- /**
- * appDevDebugProjectContainer
- *
- * This class has been auto-generated
- * by the Symfony Dependency Injection Component.
- */
- class appDevDebugProjectContainer extends Container
- {
- /**
- * Constructor.
- */
- public function __construct()
- {
- $this->parameters = $this->getDefaultParameters();
- $this->services =
- $this->scopedServices =
- $this->scopeStacks = array();
- $this->set('service_container', $this);
- $this->scopes = array('request' => 'container');
- $this->scopeChildren = array('request' => array());
- }
- /**
- * Gets the 'acme.demo.listener' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Acme\DemoBundle\EventListener\ControllerListener A Acme\DemoBundle\EventListener\ControllerListener instance.
- */
- protected function getAcme_Demo_ListenerService()
- {
- return $this->services['acme.demo.listener'] = new \Acme\DemoBundle\EventListener\ControllerListener($this->get('twig.extension.acme.demo'));
- }
- /**
- * Gets the 'annotation_reader' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Doctrine\Common\Annotations\FileCacheReader A Doctrine\Common\Annotations\FileCacheReader instance.
- */
- protected function getAnnotationReaderService()
- {
- 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);
- }
- /**
- * Gets the 'assetic.asset_manager' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Assetic\Factory\LazyAssetManager A Assetic\Factory\LazyAssetManager instance.
- */
- protected function getAssetic_AssetManagerService()
- {
- $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)));
- $instance->addResource(new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($this->get('templating.loader'), '', '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/Resources/views', '/\\.[^.]+\\.twig$/'), 'twig');
- return $instance;
- }
- /**
- * Gets the 'assetic.controller' service.
- *
- * @return Symfony\Bundle\AsseticBundle\Controller\AsseticController A Symfony\Bundle\AsseticBundle\Controller\AsseticController instance.
- */
- protected function getAssetic_ControllerService()
- {
- $instance = new \Symfony\Bundle\AsseticBundle\Controller\AsseticController($this->get('request'), $this->get('assetic.asset_manager'), $this->get('assetic.cache'), false, $this->get('profiler'));
- $instance->setValueSupplier($this->get('assetic.value_supplier.default'));
- return $instance;
- }
- /**
- * Gets the 'assetic.filter.cssrewrite' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Assetic\Filter\CssRewriteFilter A Assetic\Filter\CssRewriteFilter instance.
- */
- protected function getAssetic_Filter_CssrewriteService()
- {
- return $this->services['assetic.filter.cssrewrite'] = new \Assetic\Filter\CssRewriteFilter();
- }
- /**
- * Gets the 'assetic.filter_manager' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\AsseticBundle\FilterManager A Symfony\Bundle\AsseticBundle\FilterManager instance.
- */
- protected function getAssetic_FilterManagerService()
- {
- return $this->services['assetic.filter_manager'] = new \Symfony\Bundle\AsseticBundle\FilterManager($this, array('cssrewrite' => 'assetic.filter.cssrewrite'));
- }
- /**
- * Gets the 'assetic.request_listener' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\AsseticBundle\EventListener\RequestListener A Symfony\Bundle\AsseticBundle\EventListener\RequestListener instance.
- */
- protected function getAssetic_RequestListenerService()
- {
- return $this->services['assetic.request_listener'] = new \Symfony\Bundle\AsseticBundle\EventListener\RequestListener();
- }
- /**
- * Gets the 'cache_clearer' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\HttpKernel\CacheClearer\ChainCacheClearer A Symfony\Component\HttpKernel\CacheClearer\ChainCacheClearer instance.
- */
- protected function getCacheClearerService()
- {
- return $this->services['cache_clearer'] = new \Symfony\Component\HttpKernel\CacheClearer\ChainCacheClearer(array());
- }
- /**
- * Gets the 'cache_warmer' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate A Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate instance.
- */
- protected function getCacheWarmerService()
- {
- $a = $this->get('kernel');
- $b = $this->get('templating.filename_parser');
- $c = new \Symfony\Bundle\FrameworkBundle\CacheWarmer\TemplateFinder($a, $b, '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/Resources');
- 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())));
- }
- /**
- * Gets the 'data_collector.request' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\HttpKernel\DataCollector\RequestDataCollector A Symfony\Component\HttpKernel\DataCollector\RequestDataCollector instance.
- */
- protected function getDataCollector_RequestService()
- {
- return $this->services['data_collector.request'] = new \Symfony\Component\HttpKernel\DataCollector\RequestDataCollector();
- }
- /**
- * Gets the 'data_collector.router' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector A Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector instance.
- */
- protected function getDataCollector_RouterService()
- {
- return $this->services['data_collector.router'] = new \Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector();
- }
- /**
- * Gets the 'debug.controller_resolver' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\HttpKernel\Controller\TraceableControllerResolver A Symfony\Component\HttpKernel\Controller\TraceableControllerResolver instance.
- */
- protected function getDebug_ControllerResolverService()
- {
- return $this->services['debug.controller_resolver'] = new \Symfony\Component\HttpKernel\Controller\TraceableControllerResolver($this->get('jms_di_extra.controller_resolver'), $this->get('debug.stopwatch'));
- }
- /**
- * Gets the 'debug.deprecation_logger_listener' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\HttpKernel\EventListener\DeprecationLoggerListener A Symfony\Component\HttpKernel\EventListener\DeprecationLoggerListener instance.
- */
- protected function getDebug_DeprecationLoggerListenerService()
- {
- return $this->services['debug.deprecation_logger_listener'] = new \Symfony\Component\HttpKernel\EventListener\DeprecationLoggerListener($this->get('monolog.logger.deprecation'));
- }
- /**
- * Gets the 'debug.event_dispatcher' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher A Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher instance.
- */
- protected function getDebug_EventDispatcherService()
- {
- $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'));
- $instance->setProfiler($this->get('profiler'));
- return $instance;
- }
- /**
- * Gets the 'debug.stopwatch' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Stopwatch\Stopwatch A Symfony\Component\Stopwatch\Stopwatch instance.
- */
- protected function getDebug_StopwatchService()
- {
- return $this->services['debug.stopwatch'] = new \Symfony\Component\Stopwatch\Stopwatch();
- }
- /**
- * Gets the 'doctrine' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Doctrine\Bundle\DoctrineBundle\Registry A Doctrine\Bundle\DoctrineBundle\Registry instance.
- */
- protected function getDoctrineService()
- {
- 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');
- }
- /**
- * Gets the 'doctrine.dbal.connection_factory' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Doctrine\Bundle\DoctrineBundle\ConnectionFactory A Doctrine\Bundle\DoctrineBundle\ConnectionFactory instance.
- */
- protected function getDoctrine_Dbal_ConnectionFactoryService()
- {
- return $this->services['doctrine.dbal.connection_factory'] = new \Doctrine\Bundle\DoctrineBundle\ConnectionFactory(array());
- }
- /**
- * Gets the 'doctrine.dbal.default_connection' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return stdClass A stdClass instance.
- */
- protected function getDoctrine_Dbal_DefaultConnectionService()
- {
- $a = new \Doctrine\DBAL\Logging\LoggerChain();
- $a->addLogger(new \Symfony\Bridge\Doctrine\Logger\DbalLogger($this->get('monolog.logger.doctrine'), $this->get('debug.stopwatch')));
- $a->addLogger($this->get('doctrine.dbal.logger.profiling.default'));
- $b = new \Doctrine\DBAL\Configuration();
- $b->setSQLLogger($a);
- 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());
- }
- /**
- * Gets the 'doctrine.orm.default_entity_manager' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return EntityManager5162b07e2cbb0_546a8d27f194334ee012bfe64f629947b07e4919\__CG__\Doctrine\ORM\EntityManager A EntityManager5162b07e2cbb0_546a8d27f194334ee012bfe64f629947b07e4919\__CG__\Doctrine\ORM\EntityManager instance.
- */
- protected function getDoctrine_Orm_DefaultEntityManagerService()
- {
- require_once '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/jms_diextra/doctrine/EntityManager_5162b07e2cbb0.php';
- $a = new \Doctrine\Common\Cache\ArrayCache();
- $a->setNamespace('sf2orm_default_e8dcc1ca5a3e0942b5b6b125373f9a34');
- $b = new \Doctrine\Common\Cache\ArrayCache();
- $b->setNamespace('sf2orm_default_e8dcc1ca5a3e0942b5b6b125373f9a34');
- $c = new \Doctrine\Common\Cache\ArrayCache();
- $c->setNamespace('sf2orm_default_e8dcc1ca5a3e0942b5b6b125373f9a34');
- $d = new \Doctrine\ORM\Configuration();
- $d->setEntityNamespaces(array());
- $d->setMetadataCacheImpl($a);
- $d->setQueryCacheImpl($b);
- $d->setResultCacheImpl($c);
- $d->setMetadataDriverImpl(new \Doctrine\ORM\Mapping\Driver\DriverChain());
- $d->setProxyDir('/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/doctrine/orm/Proxies');
- $d->setProxyNamespace('Proxies');
- $d->setAutoGenerateProxyClasses(true);
- $d->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
- $d->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
- $d->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
- $e = call_user_func(array('Doctrine\\ORM\\EntityManager', 'create'), $this->get('doctrine.dbal.default_connection'), $d);
- $this->get('doctrine.orm.default_manager_configurator')->configure($e);
- return $this->services['doctrine.orm.default_entity_manager'] = new \EntityManager5162b07e2cbb0_546a8d27f194334ee012bfe64f629947b07e4919\__CG__\Doctrine\ORM\EntityManager($e, $this);
- }
- /**
- * Gets the 'doctrine.orm.default_manager_configurator' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Doctrine\Bundle\DoctrineBundle\ManagerConfigurator A Doctrine\Bundle\DoctrineBundle\ManagerConfigurator instance.
- */
- protected function getDoctrine_Orm_DefaultManagerConfiguratorService()
- {
- return $this->services['doctrine.orm.default_manager_configurator'] = new \Doctrine\Bundle\DoctrineBundle\ManagerConfigurator(array());
- }
- /**
- * Gets the 'doctrine.orm.validator.unique' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntityValidator A Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntityValidator instance.
- */
- protected function getDoctrine_Orm_Validator_UniqueService()
- {
- return $this->services['doctrine.orm.validator.unique'] = new \Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntityValidator($this->get('doctrine'));
- }
- /**
- * Gets the 'doctrine.orm.validator_initializer' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bridge\Doctrine\Validator\DoctrineInitializer A Symfony\Bridge\Doctrine\Validator\DoctrineInitializer instance.
- */
- protected function getDoctrine_Orm_ValidatorInitializerService()
- {
- return $this->services['doctrine.orm.validator_initializer'] = new \Symfony\Bridge\Doctrine\Validator\DoctrineInitializer($this->get('doctrine'));
- }
- /**
- * Gets the 'event_dispatcher' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher A Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher instance.
- */
- protected function getEventDispatcherService()
- {
- $this->services['event_dispatcher'] = $instance = new \Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher($this);
- $instance->addListenerService('kernel.controller', array(0 => 'data_collector.router', 1 => 'onKernelController'), 0);
- $instance->addListenerService('kernel.response', array(0 => 'monolog.handler.firephp', 1 => 'onKernelResponse'), 0);
- $instance->addListenerService('kernel.response', array(0 => 'monolog.handler.chromephp', 1 => 'onKernelResponse'), 0);
- $instance->addListenerService('kernel.request', array(0 => 'assetic.request_listener', 1 => 'onKernelRequest'), 0);
- $instance->addListenerService('kernel.controller', array(0 => 'sensio_framework_extra.controller.listener', 1 => 'onKernelController'), 0);
- $instance->addListenerService('kernel.controller', array(0 => 'sensio_framework_extra.converter.listener', 1 => 'onKernelController'), 0);
- $instance->addListenerService('kernel.controller', array(0 => 'sensio_framework_extra.view.listener', 1 => 'onKernelController'), 0);
- $instance->addListenerService('kernel.view', array(0 => 'sensio_framework_extra.view.listener', 1 => 'onKernelView'), 0);
- $instance->addListenerService('kernel.response', array(0 => 'sensio_framework_extra.cache.listener', 1 => 'onKernelResponse'), 0);
- $instance->addListenerService('kernel.controller', array(0 => 'acme.demo.listener', 1 => 'onKernelController'), 0);
- $instance->addSubscriberService('response_listener', 'Symfony\\Component\\HttpKernel\\EventListener\\ResponseListener');
- $instance->addSubscriberService('streamed_response_listener', 'Symfony\\Component\\HttpKernel\\EventListener\\StreamedResponseListener');
- $instance->addSubscriberService('locale_listener', 'Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener');
- $instance->addSubscriberService('fragment.handler', 'Symfony\\Component\\HttpKernel\\Fragment\\FragmentHandler');
- $instance->addSubscriberService('debug.deprecation_logger_listener', 'Symfony\\Component\\HttpKernel\\EventListener\\DeprecationLoggerListener');
- $instance->addSubscriberService('session_listener', 'Symfony\\Bundle\\FrameworkBundle\\EventListener\\SessionListener');
- $instance->addSubscriberService('fragment.listener', 'Symfony\\Component\\HttpKernel\\EventListener\\FragmentListener');
- $instance->addSubscriberService('profiler_listener', 'Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener');
- $instance->addSubscriberService('data_collector.request', 'Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector');
- $instance->addSubscriberService('router_listener', 'Symfony\\Component\\HttpKernel\\EventListener\\RouterListener');
- $instance->addSubscriberService('security.firewall', 'Symfony\\Component\\Security\\Http\\Firewall');
- $instance->addSubscriberService('security.rememberme.response_listener', 'Symfony\\Component\\Security\\Http\\RememberMe\\ResponseListener');
- $instance->addSubscriberService('twig.exception_listener', 'Symfony\\Component\\HttpKernel\\EventListener\\ExceptionListener');
- $instance->addSubscriberService('swiftmailer.email_sender.listener', 'Symfony\\Bundle\\SwiftmailerBundle\\EventListener\\EmailSenderListener');
- $instance->addSubscriberService('web_profiler.debug_toolbar', 'Symfony\\Bundle\\WebProfilerBundle\\EventListener\\WebDebugToolbarListener');
- return $instance;
- }
- /**
- * Gets the 'file_locator' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\HttpKernel\Config\FileLocator A Symfony\Component\HttpKernel\Config\FileLocator instance.
- */
- protected function getFileLocatorService()
- {
- return $this->services['file_locator'] = new \Symfony\Component\HttpKernel\Config\FileLocator($this->get('kernel'), '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/Resources');
- }
- /**
- * Gets the 'filesystem' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Filesystem\Filesystem A Symfony\Component\Filesystem\Filesystem instance.
- */
- protected function getFilesystemService()
- {
- return $this->services['filesystem'] = new \Symfony\Component\Filesystem\Filesystem();
- }
- /**
- * Gets the 'form.csrf_provider' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Csrf\CsrfProvider\SessionCsrfProvider A Symfony\Component\Form\Extension\Csrf\CsrfProvider\SessionCsrfProvider instance.
- */
- protected function getForm_CsrfProviderService()
- {
- return $this->services['form.csrf_provider'] = new \Symfony\Component\Form\Extension\Csrf\CsrfProvider\SessionCsrfProvider($this->get('session'), '2081aa2b4d77a2615e927205e0f702dd5a22a013');
- }
- /**
- * Gets the 'form.factory' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\FormFactory A Symfony\Component\Form\FormFactory instance.
- */
- protected function getForm_FactoryService()
- {
- return $this->services['form.factory'] = new \Symfony\Component\Form\FormFactory($this->get('form.registry'), $this->get('form.resolved_type_factory'));
- }
- /**
- * Gets the 'form.registry' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\FormRegistry A Symfony\Component\Form\FormRegistry instance.
- */
- protected function getForm_RegistryService()
- {
- 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'));
- }
- /**
- * Gets the 'form.resolved_type_factory' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\ResolvedFormTypeFactory A Symfony\Component\Form\ResolvedFormTypeFactory instance.
- */
- protected function getForm_ResolvedTypeFactoryService()
- {
- return $this->services['form.resolved_type_factory'] = new \Symfony\Component\Form\ResolvedFormTypeFactory();
- }
- /**
- * Gets the 'form.type.birthday' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Core\Type\BirthdayType A Symfony\Component\Form\Extension\Core\Type\BirthdayType instance.
- */
- protected function getForm_Type_BirthdayService()
- {
- return $this->services['form.type.birthday'] = new \Symfony\Component\Form\Extension\Core\Type\BirthdayType();
- }
- /**
- * Gets the 'form.type.checkbox' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Core\Type\CheckboxType A Symfony\Component\Form\Extension\Core\Type\CheckboxType instance.
- */
- protected function getForm_Type_CheckboxService()
- {
- return $this->services['form.type.checkbox'] = new \Symfony\Component\Form\Extension\Core\Type\CheckboxType();
- }
- /**
- * Gets the 'form.type.choice' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Core\Type\ChoiceType A Symfony\Component\Form\Extension\Core\Type\ChoiceType instance.
- */
- protected function getForm_Type_ChoiceService()
- {
- return $this->services['form.type.choice'] = new \Symfony\Component\Form\Extension\Core\Type\ChoiceType();
- }
- /**
- * Gets the 'form.type.collection' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Core\Type\CollectionType A Symfony\Component\Form\Extension\Core\Type\CollectionType instance.
- */
- protected function getForm_Type_CollectionService()
- {
- return $this->services['form.type.collection'] = new \Symfony\Component\Form\Extension\Core\Type\CollectionType();
- }
- /**
- * Gets the 'form.type.country' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Core\Type\CountryType A Symfony\Component\Form\Extension\Core\Type\CountryType instance.
- */
- protected function getForm_Type_CountryService()
- {
- return $this->services['form.type.country'] = new \Symfony\Component\Form\Extension\Core\Type\CountryType();
- }
- /**
- * Gets the 'form.type.date' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Core\Type\DateType A Symfony\Component\Form\Extension\Core\Type\DateType instance.
- */
- protected function getForm_Type_DateService()
- {
- return $this->services['form.type.date'] = new \Symfony\Component\Form\Extension\Core\Type\DateType();
- }
- /**
- * Gets the 'form.type.datetime' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Core\Type\DateTimeType A Symfony\Component\Form\Extension\Core\Type\DateTimeType instance.
- */
- protected function getForm_Type_DatetimeService()
- {
- return $this->services['form.type.datetime'] = new \Symfony\Component\Form\Extension\Core\Type\DateTimeType();
- }
- /**
- * Gets the 'form.type.email' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Core\Type\EmailType A Symfony\Component\Form\Extension\Core\Type\EmailType instance.
- */
- protected function getForm_Type_EmailService()
- {
- return $this->services['form.type.email'] = new \Symfony\Component\Form\Extension\Core\Type\EmailType();
- }
- /**
- * Gets the 'form.type.entity' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bridge\Doctrine\Form\Type\EntityType A Symfony\Bridge\Doctrine\Form\Type\EntityType instance.
- */
- protected function getForm_Type_EntityService()
- {
- return $this->services['form.type.entity'] = new \Symfony\Bridge\Doctrine\Form\Type\EntityType($this->get('doctrine'));
- }
- /**
- * Gets the 'form.type.field' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Core\Type\FieldType A Symfony\Component\Form\Extension\Core\Type\FieldType instance.
- */
- protected function getForm_Type_FieldService()
- {
- return $this->services['form.type.field'] = new \Symfony\Component\Form\Extension\Core\Type\FieldType();
- }
- /**
- * Gets the 'form.type.file' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Core\Type\FileType A Symfony\Component\Form\Extension\Core\Type\FileType instance.
- */
- protected function getForm_Type_FileService()
- {
- return $this->services['form.type.file'] = new \Symfony\Component\Form\Extension\Core\Type\FileType();
- }
- /**
- * Gets the 'form.type.form' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Core\Type\FormType A Symfony\Component\Form\Extension\Core\Type\FormType instance.
- */
- protected function getForm_Type_FormService()
- {
- return $this->services['form.type.form'] = new \Symfony\Component\Form\Extension\Core\Type\FormType($this->get('property_accessor'));
- }
- /**
- * Gets the 'form.type.hidden' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Core\Type\HiddenType A Symfony\Component\Form\Extension\Core\Type\HiddenType instance.
- */
- protected function getForm_Type_HiddenService()
- {
- return $this->services['form.type.hidden'] = new \Symfony\Component\Form\Extension\Core\Type\HiddenType();
- }
- /**
- * Gets the 'form.type.integer' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Core\Type\IntegerType A Symfony\Component\Form\Extension\Core\Type\IntegerType instance.
- */
- protected function getForm_Type_IntegerService()
- {
- return $this->services['form.type.integer'] = new \Symfony\Component\Form\Extension\Core\Type\IntegerType();
- }
- /**
- * Gets the 'form.type.language' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Core\Type\LanguageType A Symfony\Component\Form\Extension\Core\Type\LanguageType instance.
- */
- protected function getForm_Type_LanguageService()
- {
- return $this->services['form.type.language'] = new \Symfony\Component\Form\Extension\Core\Type\LanguageType();
- }
- /**
- * Gets the 'form.type.locale' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Core\Type\LocaleType A Symfony\Component\Form\Extension\Core\Type\LocaleType instance.
- */
- protected function getForm_Type_LocaleService()
- {
- return $this->services['form.type.locale'] = new \Symfony\Component\Form\Extension\Core\Type\LocaleType();
- }
- /**
- * Gets the 'form.type.money' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Core\Type\MoneyType A Symfony\Component\Form\Extension\Core\Type\MoneyType instance.
- */
- protected function getForm_Type_MoneyService()
- {
- return $this->services['form.type.money'] = new \Symfony\Component\Form\Extension\Core\Type\MoneyType();
- }
- /**
- * Gets the 'form.type.number' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Core\Type\NumberType A Symfony\Component\Form\Extension\Core\Type\NumberType instance.
- */
- protected function getForm_Type_NumberService()
- {
- return $this->services['form.type.number'] = new \Symfony\Component\Form\Extension\Core\Type\NumberType();
- }
- /**
- * Gets the 'form.type.password' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Core\Type\PasswordType A Symfony\Component\Form\Extension\Core\Type\PasswordType instance.
- */
- protected function getForm_Type_PasswordService()
- {
- return $this->services['form.type.password'] = new \Symfony\Component\Form\Extension\Core\Type\PasswordType();
- }
- /**
- * Gets the 'form.type.percent' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Core\Type\PercentType A Symfony\Component\Form\Extension\Core\Type\PercentType instance.
- */
- protected function getForm_Type_PercentService()
- {
- return $this->services['form.type.percent'] = new \Symfony\Component\Form\Extension\Core\Type\PercentType();
- }
- /**
- * Gets the 'form.type.radio' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Core\Type\RadioType A Symfony\Component\Form\Extension\Core\Type\RadioType instance.
- */
- protected function getForm_Type_RadioService()
- {
- return $this->services['form.type.radio'] = new \Symfony\Component\Form\Extension\Core\Type\RadioType();
- }
- /**
- * Gets the 'form.type.repeated' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Core\Type\RepeatedType A Symfony\Component\Form\Extension\Core\Type\RepeatedType instance.
- */
- protected function getForm_Type_RepeatedService()
- {
- return $this->services['form.type.repeated'] = new \Symfony\Component\Form\Extension\Core\Type\RepeatedType();
- }
- /**
- * Gets the 'form.type.search' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Core\Type\SearchType A Symfony\Component\Form\Extension\Core\Type\SearchType instance.
- */
- protected function getForm_Type_SearchService()
- {
- return $this->services['form.type.search'] = new \Symfony\Component\Form\Extension\Core\Type\SearchType();
- }
- /**
- * Gets the 'form.type.text' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Core\Type\TextType A Symfony\Component\Form\Extension\Core\Type\TextType instance.
- */
- protected function getForm_Type_TextService()
- {
- return $this->services['form.type.text'] = new \Symfony\Component\Form\Extension\Core\Type\TextType();
- }
- /**
- * Gets the 'form.type.textarea' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Core\Type\TextareaType A Symfony\Component\Form\Extension\Core\Type\TextareaType instance.
- */
- protected function getForm_Type_TextareaService()
- {
- return $this->services['form.type.textarea'] = new \Symfony\Component\Form\Extension\Core\Type\TextareaType();
- }
- /**
- * Gets the 'form.type.time' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Core\Type\TimeType A Symfony\Component\Form\Extension\Core\Type\TimeType instance.
- */
- protected function getForm_Type_TimeService()
- {
- return $this->services['form.type.time'] = new \Symfony\Component\Form\Extension\Core\Type\TimeType();
- }
- /**
- * Gets the 'form.type.timezone' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Core\Type\TimezoneType A Symfony\Component\Form\Extension\Core\Type\TimezoneType instance.
- */
- protected function getForm_Type_TimezoneService()
- {
- return $this->services['form.type.timezone'] = new \Symfony\Component\Form\Extension\Core\Type\TimezoneType();
- }
- /**
- * Gets the 'form.type.url' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Core\Type\UrlType A Symfony\Component\Form\Extension\Core\Type\UrlType instance.
- */
- protected function getForm_Type_UrlService()
- {
- return $this->services['form.type.url'] = new \Symfony\Component\Form\Extension\Core\Type\UrlType();
- }
- /**
- * Gets the 'form.type_extension.csrf' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Csrf\Type\FormTypeCsrfExtension A Symfony\Component\Form\Extension\Csrf\Type\FormTypeCsrfExtension instance.
- */
- protected function getForm_TypeExtension_CsrfService()
- {
- return $this->services['form.type_extension.csrf'] = new \Symfony\Component\Form\Extension\Csrf\Type\FormTypeCsrfExtension($this->get('form.csrf_provider'), true, '_token');
- }
- /**
- * Gets the 'form.type_extension.form.http_foundation' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\HttpFoundation\Type\FormTypeHttpFoundationExtension A Symfony\Component\Form\Extension\HttpFoundation\Type\FormTypeHttpFoundationExtension instance.
- */
- protected function getForm_TypeExtension_Form_HttpFoundationService()
- {
- return $this->services['form.type_extension.form.http_foundation'] = new \Symfony\Component\Form\Extension\HttpFoundation\Type\FormTypeHttpFoundationExtension();
- }
- /**
- * Gets the 'form.type_extension.form.validator' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Validator\Type\FormTypeValidatorExtension A Symfony\Component\Form\Extension\Validator\Type\FormTypeValidatorExtension instance.
- */
- protected function getForm_TypeExtension_Form_ValidatorService()
- {
- return $this->services['form.type_extension.form.validator'] = new \Symfony\Component\Form\Extension\Validator\Type\FormTypeValidatorExtension($this->get('validator'));
- }
- /**
- * Gets the 'form.type_extension.repeated.validator' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Validator\Type\RepeatedTypeValidatorExtension A Symfony\Component\Form\Extension\Validator\Type\RepeatedTypeValidatorExtension instance.
- */
- protected function getForm_TypeExtension_Repeated_ValidatorService()
- {
- return $this->services['form.type_extension.repeated.validator'] = new \Symfony\Component\Form\Extension\Validator\Type\RepeatedTypeValidatorExtension();
- }
- /**
- * Gets the 'form.type_guesser.doctrine' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bridge\Doctrine\Form\DoctrineOrmTypeGuesser A Symfony\Bridge\Doctrine\Form\DoctrineOrmTypeGuesser instance.
- */
- protected function getForm_TypeGuesser_DoctrineService()
- {
- return $this->services['form.type_guesser.doctrine'] = new \Symfony\Bridge\Doctrine\Form\DoctrineOrmTypeGuesser($this->get('doctrine'));
- }
- /**
- * Gets the 'form.type_guesser.validator' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Form\Extension\Validator\ValidatorTypeGuesser A Symfony\Component\Form\Extension\Validator\ValidatorTypeGuesser instance.
- */
- protected function getForm_TypeGuesser_ValidatorService()
- {
- return $this->services['form.type_guesser.validator'] = new \Symfony\Component\Form\Extension\Validator\ValidatorTypeGuesser($this->get('validator.mapping.class_metadata_factory'));
- }
- /**
- * Gets the 'fragment.handler' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\HttpKernel\Fragment\FragmentHandler A Symfony\Component\HttpKernel\Fragment\FragmentHandler instance.
- */
- protected function getFragment_HandlerService()
- {
- $this->services['fragment.handler'] = $instance = new \Symfony\Component\HttpKernel\Fragment\FragmentHandler(array(), true);
- $instance->addRenderer($this->get('fragment.renderer.inline'));
- $instance->addRenderer($this->get('fragment.renderer.hinclude'));
- return $instance;
- }
- /**
- * Gets the 'fragment.listener' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\HttpKernel\EventListener\FragmentListener A Symfony\Component\HttpKernel\EventListener\FragmentListener instance.
- */
- protected function getFragment_ListenerService()
- {
- return $this->services['fragment.listener'] = new \Symfony\Component\HttpKernel\EventListener\FragmentListener($this->get('uri_signer'), '/_fragment');
- }
- /**
- * Gets the 'fragment.renderer.hinclude' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\FrameworkBundle\Fragment\ContainerAwareHIncludeFragmentRenderer A Symfony\Bundle\FrameworkBundle\Fragment\ContainerAwareHIncludeFragmentRenderer instance.
- */
- protected function getFragment_Renderer_HincludeService()
- {
- $this->services['fragment.renderer.hinclude'] = $instance = new \Symfony\Bundle\FrameworkBundle\Fragment\ContainerAwareHIncludeFragmentRenderer($this, $this->get('uri_signer'), NULL);
- $instance->setFragmentPath('/_fragment');
- return $instance;
- }
- /**
- * Gets the 'fragment.renderer.inline' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer A Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer instance.
- */
- protected function getFragment_Renderer_InlineService()
- {
- $this->services['fragment.renderer.inline'] = $instance = new \Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer($this->get('http_kernel'));
- $instance->setFragmentPath('/_fragment');
- return $instance;
- }
- /**
- * Gets the 'http_kernel' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\FrameworkBundle\HttpKernel A Symfony\Bundle\FrameworkBundle\HttpKernel instance.
- */
- protected function getHttpKernelService()
- {
- return $this->services['http_kernel'] = new \Symfony\Bundle\FrameworkBundle\HttpKernel($this->get('debug.event_dispatcher'), $this, $this->get('debug.controller_resolver'));
- }
- /**
- * Gets the 'jms_aop.interceptor_loader' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return JMS\AopBundle\Aop\InterceptorLoader A JMS\AopBundle\Aop\InterceptorLoader instance.
- */
- protected function getJmsAop_InterceptorLoaderService()
- {
- return $this->services['jms_aop.interceptor_loader'] = new \JMS\AopBundle\Aop\InterceptorLoader($this, array());
- }
- /**
- * Gets the 'jms_aop.pointcut_container' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return JMS\AopBundle\Aop\PointcutContainer A JMS\AopBundle\Aop\PointcutContainer instance.
- */
- protected function getJmsAop_PointcutContainerService()
- {
- return $this->services['jms_aop.pointcut_container'] = new \JMS\AopBundle\Aop\PointcutContainer(array('security.access.method_interceptor' => $this->get('security.access.pointcut')));
- }
- /**
- * Gets the 'jms_di_extra.metadata.converter' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return JMS\DiExtraBundle\Metadata\MetadataConverter A JMS\DiExtraBundle\Metadata\MetadataConverter instance.
- */
- protected function getJmsDiExtra_Metadata_ConverterService()
- {
- return $this->services['jms_di_extra.metadata.converter'] = new \JMS\DiExtraBundle\Metadata\MetadataConverter();
- }
- /**
- * Gets the 'jms_di_extra.metadata.metadata_factory' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Metadata\MetadataFactory A Metadata\MetadataFactory instance.
- */
- protected function getJmsDiExtra_Metadata_MetadataFactoryService()
- {
- $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);
- $instance->setCache(new \Metadata\Cache\FileCache('/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/jms_diextra/metadata'));
- return $instance;
- }
- /**
- * Gets the 'jms_di_extra.metadata_driver' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return JMS\DiExtraBundle\Metadata\Driver\AnnotationDriver A JMS\DiExtraBundle\Metadata\Driver\AnnotationDriver instance.
- */
- protected function getJmsDiExtra_MetadataDriverService()
- {
- return $this->services['jms_di_extra.metadata_driver'] = new \JMS\DiExtraBundle\Metadata\Driver\AnnotationDriver($this->get('annotation_reader'));
- }
- /**
- * Gets the 'kernel' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @throws RuntimeException always since this service is expected to be injected dynamically
- */
- protected function getKernelService()
- {
- throw new RuntimeException('You have requested a synthetic service ("kernel"). The DIC does not know how to construct this service.');
- }
- /**
- * Gets the 'locale_listener' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\HttpKernel\EventListener\LocaleListener A Symfony\Component\HttpKernel\EventListener\LocaleListener instance.
- */
- protected function getLocaleListenerService()
- {
- return $this->services['locale_listener'] = new \Symfony\Component\HttpKernel\EventListener\LocaleListener('en', $this->get('router'));
- }
- /**
- * Gets the 'logger' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bridge\Monolog\Logger A Symfony\Bridge\Monolog\Logger instance.
- */
- protected function getLoggerService()
- {
- $this->services['logger'] = $instance = new \Symfony\Bridge\Monolog\Logger('app');
- $instance->pushHandler($this->get('monolog.handler.chromephp'));
- $instance->pushHandler($this->get('monolog.handler.firephp'));
- $instance->pushHandler($this->get('monolog.handler.main'));
- $instance->pushHandler($this->get('monolog.handler.debug'));
- return $instance;
- }
- /**
- * Gets the 'mailer' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Swift_Mailer A Swift_Mailer instance.
- */
- protected function getMailerService()
- {
- return $this->services['mailer'] = new \Swift_Mailer($this->get('swiftmailer.transport'));
- }
- /**
- * Gets the 'monolog.handler.chromephp' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bridge\Monolog\Handler\ChromePhpHandler A Symfony\Bridge\Monolog\Handler\ChromePhpHandler instance.
- */
- protected function getMonolog_Handler_ChromephpService()
- {
- return $this->services['monolog.handler.chromephp'] = new \Symfony\Bridge\Monolog\Handler\ChromePhpHandler(200, true);
- }
- /**
- * Gets the 'monolog.handler.debug' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bridge\Monolog\Handler\DebugHandler A Symfony\Bridge\Monolog\Handler\DebugHandler instance.
- */
- protected function getMonolog_Handler_DebugService()
- {
- return $this->services['monolog.handler.debug'] = new \Symfony\Bridge\Monolog\Handler\DebugHandler(100, true);
- }
- /**
- * Gets the 'monolog.handler.firephp' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bridge\Monolog\Handler\FirePHPHandler A Symfony\Bridge\Monolog\Handler\FirePHPHandler instance.
- */
- protected function getMonolog_Handler_FirephpService()
- {
- return $this->services['monolog.handler.firephp'] = new \Symfony\Bridge\Monolog\Handler\FirePHPHandler(200, true);
- }
- /**
- * Gets the 'monolog.handler.main' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Monolog\Handler\StreamHandler A Monolog\Handler\StreamHandler instance.
- */
- protected function getMonolog_Handler_MainService()
- {
- return $this->services['monolog.handler.main'] = new \Monolog\Handler\StreamHandler('/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/logs/dev.log', 100, true);
- }
- /**
- * Gets the 'monolog.logger.deprecation' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bridge\Monolog\Logger A Symfony\Bridge\Monolog\Logger instance.
- */
- protected function getMonolog_Logger_DeprecationService()
- {
- $this->services['monolog.logger.deprecation'] = $instance = new \Symfony\Bridge\Monolog\Logger('deprecation');
- $instance->pushHandler($this->get('monolog.handler.chromephp'));
- $instance->pushHandler($this->get('monolog.handler.firephp'));
- $instance->pushHandler($this->get('monolog.handler.main'));
- $instance->pushHandler($this->get('monolog.handler.debug'));
- return $instance;
- }
- /**
- * Gets the 'monolog.logger.doctrine' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bridge\Monolog\Logger A Symfony\Bridge\Monolog\Logger instance.
- */
- protected function getMonolog_Logger_DoctrineService()
- {
- $this->services['monolog.logger.doctrine'] = $instance = new \Symfony\Bridge\Monolog\Logger('doctrine');
- $instance->pushHandler($this->get('monolog.handler.chromephp'));
- $instance->pushHandler($this->get('monolog.handler.firephp'));
- $instance->pushHandler($this->get('monolog.handler.main'));
- $instance->pushHandler($this->get('monolog.handler.debug'));
- return $instance;
- }
- /**
- * Gets the 'monolog.logger.event' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bridge\Monolog\Logger A Symfony\Bridge\Monolog\Logger instance.
- */
- protected function getMonolog_Logger_EventService()
- {
- $this->services['monolog.logger.event'] = $instance = new \Symfony\Bridge\Monolog\Logger('event');
- $instance->pushHandler($this->get('monolog.handler.chromephp'));
- $instance->pushHandler($this->get('monolog.handler.firephp'));
- $instance->pushHandler($this->get('monolog.handler.main'));
- $instance->pushHandler($this->get('monolog.handler.debug'));
- return $instance;
- }
- /**
- * Gets the 'monolog.logger.profiler' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bridge\Monolog\Logger A Symfony\Bridge\Monolog\Logger instance.
- */
- protected function getMonolog_Logger_ProfilerService()
- {
- $this->services['monolog.logger.profiler'] = $instance = new \Symfony\Bridge\Monolog\Logger('profiler');
- $instance->pushHandler($this->get('monolog.handler.chromephp'));
- $instance->pushHandler($this->get('monolog.handler.firephp'));
- $instance->pushHandler($this->get('monolog.handler.main'));
- $instance->pushHandler($this->get('monolog.handler.debug'));
- return $instance;
- }
- /**
- * Gets the 'monolog.logger.request' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bridge\Monolog\Logger A Symfony\Bridge\Monolog\Logger instance.
- */
- protected function getMonolog_Logger_RequestService()
- {
- $this->services['monolog.logger.request'] = $instance = new \Symfony\Bridge\Monolog\Logger('request');
- $instance->pushHandler($this->get('monolog.handler.chromephp'));
- $instance->pushHandler($this->get('monolog.handler.firephp'));
- $instance->pushHandler($this->get('monolog.handler.main'));
- $instance->pushHandler($this->get('monolog.handler.debug'));
- return $instance;
- }
- /**
- * Gets the 'monolog.logger.router' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bridge\Monolog\Logger A Symfony\Bridge\Monolog\Logger instance.
- */
- protected function getMonolog_Logger_RouterService()
- {
- $this->services['monolog.logger.router'] = $instance = new \Symfony\Bridge\Monolog\Logger('router');
- $instance->pushHandler($this->get('monolog.handler.chromephp'));
- $instance->pushHandler($this->get('monolog.handler.firephp'));
- $instance->pushHandler($this->get('monolog.handler.main'));
- $instance->pushHandler($this->get('monolog.handler.debug'));
- return $instance;
- }
- /**
- * Gets the 'monolog.logger.security' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bridge\Monolog\Logger A Symfony\Bridge\Monolog\Logger instance.
- */
- protected function getMonolog_Logger_SecurityService()
- {
- $this->services['monolog.logger.security'] = $instance = new \Symfony\Bridge\Monolog\Logger('security');
- $instance->pushHandler($this->get('monolog.handler.chromephp'));
- $instance->pushHandler($this->get('monolog.handler.firephp'));
- $instance->pushHandler($this->get('monolog.handler.main'));
- $instance->pushHandler($this->get('monolog.handler.debug'));
- return $instance;
- }
- /**
- * Gets the 'monolog.logger.templating' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bridge\Monolog\Logger A Symfony\Bridge\Monolog\Logger instance.
- */
- protected function getMonolog_Logger_TemplatingService()
- {
- $this->services['monolog.logger.templating'] = $instance = new \Symfony\Bridge\Monolog\Logger('templating');
- $instance->pushHandler($this->get('monolog.handler.chromephp'));
- $instance->pushHandler($this->get('monolog.handler.firephp'));
- $instance->pushHandler($this->get('monolog.handler.main'));
- $instance->pushHandler($this->get('monolog.handler.debug'));
- return $instance;
- }
- /**
- * Gets the 'profiler' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\HttpKernel\Profiler\Profiler A Symfony\Component\HttpKernel\Profiler\Profiler instance.
- */
- protected function getProfilerService()
- {
- $a = $this->get('monolog.logger.profiler');
- $b = $this->get('kernel');
- $c = new \Symfony\Component\HttpKernel\DataCollector\ConfigDataCollector();
- $c->setKernel($b);
- $d = new \Doctrine\Bundle\DoctrineBundle\DataCollector\DoctrineDataCollector($this->get('doctrine'));
- $d->addLogger('default', $this->get('doctrine.dbal.logger.profiling.default'));
- $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);
- $instance->add($c);
- $instance->add($this->get('data_collector.request'));
- $instance->add(new \Symfony\Component\HttpKernel\DataCollector\ExceptionDataCollector());
- $instance->add(new \Symfony\Component\HttpKernel\DataCollector\EventDataCollector());
- $instance->add(new \Symfony\Component\HttpKernel\DataCollector\LoggerDataCollector($a));
- $instance->add(new \Symfony\Component\HttpKernel\DataCollector\TimeDataCollector($b));
- $instance->add(new \Symfony\Component\HttpKernel\DataCollector\MemoryDataCollector());
- $instance->add($this->get('data_collector.router'));
- $instance->add(new \Symfony\Bundle\SecurityBundle\DataCollector\SecurityDataCollector($this->get('security.context')));
- $instance->add(new \Symfony\Bridge\Swiftmailer\DataCollector\MessageDataCollector($this, true));
- $instance->add($d);
- return $instance;
- }
- /**
- * Gets the 'profiler_listener' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\HttpKernel\EventListener\ProfilerListener A Symfony\Component\HttpKernel\EventListener\ProfilerListener instance.
- */
- protected function getProfilerListenerService()
- {
- return $this->services['profiler_listener'] = new \Symfony\Component\HttpKernel\EventListener\ProfilerListener($this->get('profiler'), NULL, false, false);
- }
- /**
- * Gets the 'property_accessor' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\PropertyAccess\PropertyAccessor A Symfony\Component\PropertyAccess\PropertyAccessor instance.
- */
- protected function getPropertyAccessorService()
- {
- return $this->services['property_accessor'] = new \Symfony\Component\PropertyAccess\PropertyAccessor();
- }
- /**
- * Gets the 'request' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @throws RuntimeException always since this service is expected to be injected dynamically
- */
- protected function getRequestService()
- {
- if (!isset($this->scopedServices['request'])) {
- throw new InactiveScopeException('request', 'request');
- }
- throw new RuntimeException('You have requested a synthetic service ("request"). The DIC does not know how to construct this service.');
- }
- /**
- * Gets the 'response_listener' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\HttpKernel\EventListener\ResponseListener A Symfony\Component\HttpKernel\EventListener\ResponseListener instance.
- */
- protected function getResponseListenerService()
- {
- return $this->services['response_listener'] = new \Symfony\Component\HttpKernel\EventListener\ResponseListener('UTF-8');
- }
- /**
- * Gets the 'router' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\FrameworkBundle\Routing\Router A Symfony\Bundle\FrameworkBundle\Routing\Router instance.
- */
- protected function getRouterService()
- {
- 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'));
- }
- /**
- * Gets the 'router_listener' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\HttpKernel\EventListener\RouterListener A Symfony\Component\HttpKernel\EventListener\RouterListener instance.
- */
- protected function getRouterListenerService()
- {
- return $this->services['router_listener'] = new \Symfony\Component\HttpKernel\EventListener\RouterListener($this->get('router'), $this->get('router.request_context'), $this->get('monolog.logger.request'));
- }
- /**
- * Gets the 'routing.loader' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\FrameworkBundle\Routing\DelegatingLoader A Symfony\Bundle\FrameworkBundle\Routing\DelegatingLoader instance.
- */
- protected function getRouting_LoaderService()
- {
- $a = $this->get('file_locator');
- $b = $this->get('annotation_reader');
- $c = new \Sensio\Bundle\FrameworkExtraBundle\Routing\AnnotatedRouteControllerLoader($b);
- $d = new \Symfony\Component\Config\Loader\LoaderResolver();
- $d->addLoader(new \Symfony\Component\Routing\Loader\XmlFileLoader($a));
- $d->addLoader(new \Symfony\Component\Routing\Loader\YamlFileLoader($a));
- $d->addLoader(new \Symfony\Component\Routing\Loader\PhpFileLoader($a));
- $d->addLoader(new \Symfony\Bundle\AsseticBundle\Routing\AsseticLoader($this->get('assetic.asset_manager')));
- $d->addLoader(new \Symfony\Component\Routing\Loader\AnnotationDirectoryLoader($a, $c));
- $d->addLoader(new \Symfony\Component\Routing\Loader\AnnotationFileLoader($a, $c));
- $d->addLoader($c);
- return $this->services['routing.loader'] = new \Symfony\Bundle\FrameworkBundle\Routing\DelegatingLoader($this->get('controller_name_converter'), $this->get('monolog.logger.router'), $d);
- }
- /**
- * Gets the 'security.access.decision_manager' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return JMS\SecurityExtraBundle\Security\Authorization\RememberingAccessDecisionManager A JMS\SecurityExtraBundle\Security\Authorization\RememberingAccessDecisionManager instance.
- */
- protected function getSecurity_Access_DecisionManagerService()
- {
- $a = new \JMS\SecurityExtraBundle\Security\Authorization\Expression\LazyLoadingExpressionVoter($this->get('security.expressions.handler'), $this->get('monolog.logger.security'));
- $a->setLazyCompiler($this, 'security.expressions.compiler');
- $a->setCacheDir('/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/jms_security/expressions');
- 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));
- }
- /**
- * Gets the 'security.access.method_interceptor' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return JMS\SecurityExtraBundle\Security\Authorization\Interception\MethodSecurityInterceptor A JMS\SecurityExtraBundle\Security\Authorization\Interception\MethodSecurityInterceptor instance.
- */
- protected function getSecurity_Access_MethodInterceptorService()
- {
- 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'));
- }
- /**
- * Gets the 'security.access.pointcut' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return JMS\SecurityExtraBundle\Security\Authorization\Interception\SecurityPointcut A JMS\SecurityExtraBundle\Security\Authorization\Interception\SecurityPointcut instance.
- */
- protected function getSecurity_Access_PointcutService()
- {
- $this->services['security.access.pointcut'] = $instance = new \JMS\SecurityExtraBundle\Security\Authorization\Interception\SecurityPointcut($this->get('security.extra.metadata_factory'), false, array());
- $instance->setSecuredClasses(array());
- return $instance;
- }
- /**
- * Gets the 'security.authentication.trust_resolver' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver A Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver instance.
- */
- protected function getSecurity_Authentication_TrustResolverService()
- {
- 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');
- }
- /**
- * Gets the 'security.context' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Security\Core\SecurityContext A Symfony\Component\Security\Core\SecurityContext instance.
- */
- protected function getSecurity_ContextService()
- {
- return $this->services['security.context'] = new \Symfony\Component\Security\Core\SecurityContext($this->get('security.authentication.manager'), $this->get('security.access.decision_manager'), false);
- }
- /**
- * Gets the 'security.encoder_factory' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Security\Core\Encoder\EncoderFactory A Symfony\Component\Security\Core\Encoder\EncoderFactory instance.
- */
- protected function getSecurity_EncoderFactoryService()
- {
- 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))));
- }
- /**
- * Gets the 'security.expressions.compiler' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return JMS\SecurityExtraBundle\Security\Authorization\Expression\ExpressionCompiler A JMS\SecurityExtraBundle\Security\Authorization\Expression\ExpressionCompiler instance.
- */
- protected function getSecurity_Expressions_CompilerService()
- {
- $a = new \JMS\SecurityExtraBundle\Security\Authorization\Expression\Compiler\ContainerAwareVariableCompiler();
- $a->setMaps(array('trust_resolver' => 'security.authentication.trust_resolver', 'role_hierarchy' => 'security.role_hierarchy', 'permission_evaluator' => 'security.acl.permission_evaluator'), array());
- $this->services['security.expressions.compiler'] = $instance = new \JMS\SecurityExtraBundle\Security\Authorization\Expression\ExpressionCompiler();
- $instance->addFunctionCompiler(new \JMS\SecurityExtraBundle\Security\Acl\Expression\HasPermissionFunctionCompiler());
- $instance->addTypeCompiler(new \JMS\SecurityExtraBundle\Security\Authorization\Expression\Compiler\ParameterExpressionCompiler());
- $instance->addTypeCompiler($a);
- return $instance;
- }
- /**
- * Gets the 'security.expressions.reverse_interpreter' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return JMS\SecurityExtraBundle\Security\Authorization\Expression\ReverseInterpreter A JMS\SecurityExtraBundle\Security\Authorization\Expression\ReverseInterpreter instance.
- */
- protected function getSecurity_Expressions_ReverseInterpreterService()
- {
- return $this->services['security.expressions.reverse_interpreter'] = new \JMS\SecurityExtraBundle\Security\Authorization\Expression\ReverseInterpreter($this->get('security.expressions.compiler'), $this->get('security.expressions.handler'));
- }
- /**
- * Gets the 'security.extra.metadata_driver' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Metadata\Driver\DriverChain A Metadata\Driver\DriverChain instance.
- */
- protected function getSecurity_Extra_MetadataDriverService()
- {
- return $this->services['security.extra.metadata_driver'] = new \Metadata\Driver\DriverChain(array(0 => new \JMS\SecurityExtraBundle\Metadata\Driver\AnnotationDriver($this->get('annotation_reader'))));
- }
- /**
- * Gets the 'security.firewall' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Security\Http\Firewall A Symfony\Component\Security\Http\Firewall instance.
- */
- protected function getSecurity_FirewallService()
- {
- 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'));
- }
- /**
- * Gets the 'security.firewall.map.context.dev' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
- */
- protected function getSecurity_Firewall_Map_Context_DevService()
- {
- return $this->services['security.firewall.map.context.dev'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(), NULL);
- }
- /**
- * Gets the 'security.firewall.map.context.login' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
- */
- protected function getSecurity_Firewall_Map_Context_LoginService()
- {
- return $this->services['security.firewall.map.context.login'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(), NULL);
- }
- /**
- * Gets the 'security.firewall.map.context.secured_area' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
- */
- protected function getSecurity_Firewall_Map_Context_SecuredAreaService()
- {
- $a = $this->get('monolog.logger.security');
- $b = $this->get('security.context');
- $c = $this->get('event_dispatcher');
- $d = $this->get('router');
- $e = $this->get('http_kernel');
- $f = $this->get('security.authentication.manager');
- $g = new \Symfony\Component\Security\Http\AccessMap();
- $h = new \Symfony\Component\Security\Http\HttpUtils($d, $d);
- $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'));
- $i->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
- $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));
- $j->setProviderKey('secured_area');
- 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));
- }
- /**
- * Gets the 'security.rememberme.response_listener' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Security\Http\RememberMe\ResponseListener A Symfony\Component\Security\Http\RememberMe\ResponseListener instance.
- */
- protected function getSecurity_Rememberme_ResponseListenerService()
- {
- return $this->services['security.rememberme.response_listener'] = new \Symfony\Component\Security\Http\RememberMe\ResponseListener();
- }
- /**
- * Gets the 'security.role_hierarchy' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Security\Core\Role\RoleHierarchy A Symfony\Component\Security\Core\Role\RoleHierarchy instance.
- */
- protected function getSecurity_RoleHierarchyService()
- {
- 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')));
- }
- /**
- * Gets the 'security.secure_random' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Security\Core\Util\SecureRandom A Symfony\Component\Security\Core\Util\SecureRandom instance.
- */
- protected function getSecurity_SecureRandomService()
- {
- 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'));
- }
- /**
- * Gets the 'security.validator.user_password' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Security\Core\Validator\Constraints\UserPasswordValidator A Symfony\Component\Security\Core\Validator\Constraints\UserPasswordValidator instance.
- */
- protected function getSecurity_Validator_UserPasswordService()
- {
- return $this->services['security.validator.user_password'] = new \Symfony\Component\Security\Core\Validator\Constraints\UserPasswordValidator($this->get('security.context'), $this->get('security.encoder_factory'));
- }
- /**
- * Gets the 'sensio.distribution.webconfigurator' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Sensio\Bundle\DistributionBundle\Configurator\Configurator A Sensio\Bundle\DistributionBundle\Configurator\Configurator instance.
- */
- protected function getSensio_Distribution_WebconfiguratorService()
- {
- return $this->services['sensio.distribution.webconfigurator'] = new \Sensio\Bundle\DistributionBundle\Configurator\Configurator('/opt/local/apache2/htdocs/Symfony2-RESTAPI/app');
- }
- /**
- * Gets the 'sensio_framework_extra.cache.listener' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Sensio\Bundle\FrameworkExtraBundle\EventListener\CacheListener A Sensio\Bundle\FrameworkExtraBundle\EventListener\CacheListener instance.
- */
- protected function getSensioFrameworkExtra_Cache_ListenerService()
- {
- return $this->services['sensio_framework_extra.cache.listener'] = new \Sensio\Bundle\FrameworkExtraBundle\EventListener\CacheListener();
- }
- /**
- * Gets the 'sensio_framework_extra.controller.listener' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener A Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener instance.
- */
- protected function getSensioFrameworkExtra_Controller_ListenerService()
- {
- return $this->services['sensio_framework_extra.controller.listener'] = new \Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener($this->get('annotation_reader'));
- }
- /**
- * Gets the 'sensio_framework_extra.converter.datetime' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DateTimeParamConverter A Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DateTimeParamConverter instance.
- */
- protected function getSensioFrameworkExtra_Converter_DatetimeService()
- {
- return $this->services['sensio_framework_extra.converter.datetime'] = new \Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DateTimeParamConverter();
- }
- /**
- * Gets the 'sensio_framework_extra.converter.doctrine.orm' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter A Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter instance.
- */
- protected function getSensioFrameworkExtra_Converter_Doctrine_OrmService()
- {
- return $this->services['sensio_framework_extra.converter.doctrine.orm'] = new \Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter($this->get('doctrine'));
- }
- /**
- * Gets the 'sensio_framework_extra.converter.listener' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener A Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener instance.
- */
- protected function getSensioFrameworkExtra_Converter_ListenerService()
- {
- return $this->services['sensio_framework_extra.converter.listener'] = new \Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener($this->get('sensio_framework_extra.converter.manager'));
- }
- /**
- * Gets the 'sensio_framework_extra.converter.manager' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterManager A Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterManager instance.
- */
- protected function getSensioFrameworkExtra_Converter_ManagerService()
- {
- $this->services['sensio_framework_extra.converter.manager'] = $instance = new \Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterManager();
- $instance->add($this->get('sensio_framework_extra.converter.doctrine.orm'), 0, 'doctrine.orm');
- $instance->add($this->get('sensio_framework_extra.converter.datetime'), 0, 'datetime');
- return $instance;
- }
- /**
- * Gets the 'sensio_framework_extra.view.guesser' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Sensio\Bundle\FrameworkExtraBundle\Templating\TemplateGuesser A Sensio\Bundle\FrameworkExtraBundle\Templating\TemplateGuesser instance.
- */
- protected function getSensioFrameworkExtra_View_GuesserService()
- {
- return $this->services['sensio_framework_extra.view.guesser'] = new \Sensio\Bundle\FrameworkExtraBundle\Templating\TemplateGuesser($this->get('kernel'));
- }
- /**
- * Gets the 'sensio_framework_extra.view.listener' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener A Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener instance.
- */
- protected function getSensioFrameworkExtra_View_ListenerService()
- {
- return $this->services['sensio_framework_extra.view.listener'] = new \Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener($this);
- }
- /**
- * Gets the 'service_container' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @throws RuntimeException always since this service is expected to be injected dynamically
- */
- protected function getServiceContainerService()
- {
- throw new RuntimeException('You have requested a synthetic service ("service_container"). The DIC does not know how to construct this service.');
- }
- /**
- * Gets the 'session' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\HttpFoundation\Session\Session A Symfony\Component\HttpFoundation\Session\Session instance.
- */
- protected function getSessionService()
- {
- 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());
- }
- /**
- * Gets the 'session.handler' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeFileSessionHandler A Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeFileSessionHandler instance.
- */
- protected function getSession_HandlerService()
- {
- return $this->services['session.handler'] = new \Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeFileSessionHandler('/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/sessions');
- }
- /**
- * Gets the 'session.storage.filesystem' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\HttpFoundation\Session\Storage\MockFileSessionStorage A Symfony\Component\HttpFoundation\Session\Storage\MockFileSessionStorage instance.
- */
- protected function getSession_Storage_FilesystemService()
- {
- return $this->services['session.storage.filesystem'] = new \Symfony\Component\HttpFoundation\Session\Storage\MockFileSessionStorage('/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/sessions');
- }
- /**
- * Gets the 'session.storage.native' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage A Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage instance.
- */
- protected function getSession_Storage_NativeService()
- {
- return $this->services['session.storage.native'] = new \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage(array(), $this->get('session.handler'));
- }
- /**
- * Gets the 'session_listener' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\FrameworkBundle\EventListener\SessionListener A Symfony\Bundle\FrameworkBundle\EventListener\SessionListener instance.
- */
- protected function getSessionListenerService()
- {
- return $this->services['session_listener'] = new \Symfony\Bundle\FrameworkBundle\EventListener\SessionListener($this);
- }
- /**
- * Gets the 'streamed_response_listener' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\HttpKernel\EventListener\StreamedResponseListener A Symfony\Component\HttpKernel\EventListener\StreamedResponseListener instance.
- */
- protected function getStreamedResponseListenerService()
- {
- return $this->services['streamed_response_listener'] = new \Symfony\Component\HttpKernel\EventListener\StreamedResponseListener();
- }
- /**
- * Gets the 'swiftmailer.email_sender.listener' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener A Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener instance.
- */
- protected function getSwiftmailer_EmailSender_ListenerService()
- {
- return $this->services['swiftmailer.email_sender.listener'] = new \Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener($this);
- }
- /**
- * Gets the 'swiftmailer.plugin.messagelogger' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Swift_Plugins_MessageLogger A Swift_Plugins_MessageLogger instance.
- */
- protected function getSwiftmailer_Plugin_MessageloggerService()
- {
- return $this->services['swiftmailer.plugin.messagelogger'] = new \Swift_Plugins_MessageLogger();
- }
- /**
- * Gets the 'swiftmailer.spool' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Swift_MemorySpool A Swift_MemorySpool instance.
- */
- protected function getSwiftmailer_SpoolService()
- {
- return $this->services['swiftmailer.spool'] = new \Swift_MemorySpool();
- }
- /**
- * Gets the 'swiftmailer.transport' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Swift_Transport_SpoolTransport A Swift_Transport_SpoolTransport instance.
- */
- protected function getSwiftmailer_TransportService()
- {
- $this->services['swiftmailer.transport'] = $instance = new \Swift_Transport_SpoolTransport($this->get('swiftmailer.transport.eventdispatcher'), $this->get('swiftmailer.spool'));
- $instance->registerPlugin($this->get('swiftmailer.plugin.messagelogger'));
- return $instance;
- }
- /**
- * Gets the 'swiftmailer.transport.real' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Swift_Transport_EsmtpTransport A Swift_Transport_EsmtpTransport instance.
- */
- protected function getSwiftmailer_Transport_RealService()
- {
- $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'));
- $instance->setHost('127.0.0.1');
- $instance->setPort(25);
- $instance->setEncryption(NULL);
- $instance->setUsername(NULL);
- $instance->setPassword(NULL);
- $instance->setAuthMode(NULL);
- $instance->setTimeout(30);
- $instance->setSourceIp(NULL);
- return $instance;
- }
- /**
- * Gets the 'templating' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\TwigBundle\Debug\TimedTwigEngine A Symfony\Bundle\TwigBundle\Debug\TimedTwigEngine instance.
- */
- protected function getTemplatingService()
- {
- $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'));
- $instance->setDefaultEscapingStrategy(array(0 => $instance, 1 => 'guessDefaultEscapingStrategy'));
- return $instance;
- }
- /**
- * Gets the 'templating.asset.package_factory' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\FrameworkBundle\Templating\Asset\PackageFactory A Symfony\Bundle\FrameworkBundle\Templating\Asset\PackageFactory instance.
- */
- protected function getTemplating_Asset_PackageFactoryService()
- {
- return $this->services['templating.asset.package_factory'] = new \Symfony\Bundle\FrameworkBundle\Templating\Asset\PackageFactory($this);
- }
- /**
- * Gets the 'templating.filename_parser' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\FrameworkBundle\Templating\TemplateFilenameParser A Symfony\Bundle\FrameworkBundle\Templating\TemplateFilenameParser instance.
- */
- protected function getTemplating_FilenameParserService()
- {
- return $this->services['templating.filename_parser'] = new \Symfony\Bundle\FrameworkBundle\Templating\TemplateFilenameParser();
- }
- /**
- * Gets the 'templating.globals' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\FrameworkBundle\Templating\GlobalVariables A Symfony\Bundle\FrameworkBundle\Templating\GlobalVariables instance.
- */
- protected function getTemplating_GlobalsService()
- {
- return $this->services['templating.globals'] = new \Symfony\Bundle\FrameworkBundle\Templating\GlobalVariables($this);
- }
- /**
- * Gets the 'templating.helper.actions' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\FrameworkBundle\Templating\Helper\ActionsHelper A Symfony\Bundle\FrameworkBundle\Templating\Helper\ActionsHelper instance.
- */
- protected function getTemplating_Helper_ActionsService()
- {
- return $this->services['templating.helper.actions'] = new \Symfony\Bundle\FrameworkBundle\Templating\Helper\ActionsHelper($this->get('fragment.handler'));
- }
- /**
- * Gets the 'templating.helper.assets' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Templating\Helper\CoreAssetsHelper A Symfony\Component\Templating\Helper\CoreAssetsHelper instance.
- */
- protected function getTemplating_Helper_AssetsService()
- {
- if (!isset($this->scopedServices['request'])) {
- throw new InactiveScopeException('templating.helper.assets', 'request');
- }
- 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());
- }
- /**
- * Gets the 'templating.helper.code' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\FrameworkBundle\Templating\Helper\CodeHelper A Symfony\Bundle\FrameworkBundle\Templating\Helper\CodeHelper instance.
- */
- protected function getTemplating_Helper_CodeService()
- {
- return $this->services['templating.helper.code'] = new \Symfony\Bundle\FrameworkBundle\Templating\Helper\CodeHelper(NULL, '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app', 'UTF-8');
- }
- /**
- * Gets the 'templating.helper.form' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\FrameworkBundle\Templating\Helper\FormHelper A Symfony\Bundle\FrameworkBundle\Templating\Helper\FormHelper instance.
- */
- protected function getTemplating_Helper_FormService()
- {
- $a = new \Symfony\Bundle\FrameworkBundle\Templating\PhpEngine($this->get('templating.name_parser'), $this, $this->get('templating.loader'), $this->get('templating.globals'));
- $a->setCharset('UTF-8');
- $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'));
- 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')));
- }
- /**
- * Gets the 'templating.helper.logout_url' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\SecurityBundle\Templating\Helper\LogoutUrlHelper A Symfony\Bundle\SecurityBundle\Templating\Helper\LogoutUrlHelper instance.
- */
- protected function getTemplating_Helper_LogoutUrlService()
- {
- $this->services['templating.helper.logout_url'] = $instance = new \Symfony\Bundle\SecurityBundle\Templating\Helper\LogoutUrlHelper($this, $this->get('router'));
- $instance->registerListener('secured_area', '_demo_logout', 'logout', '_csrf_token', NULL);
- return $instance;
- }
- /**
- * Gets the 'templating.helper.request' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\FrameworkBundle\Templating\Helper\RequestHelper A Symfony\Bundle\FrameworkBundle\Templating\Helper\RequestHelper instance.
- */
- protected function getTemplating_Helper_RequestService()
- {
- return $this->services['templating.helper.request'] = new \Symfony\Bundle\FrameworkBundle\Templating\Helper\RequestHelper($this->get('request'));
- }
- /**
- * Gets the 'templating.helper.router' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\FrameworkBundle\Templating\Helper\RouterHelper A Symfony\Bundle\FrameworkBundle\Templating\Helper\RouterHelper instance.
- */
- protected function getTemplating_Helper_RouterService()
- {
- return $this->services['templating.helper.router'] = new \Symfony\Bundle\FrameworkBundle\Templating\Helper\RouterHelper($this->get('router'));
- }
- /**
- * Gets the 'templating.helper.security' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\SecurityBundle\Templating\Helper\SecurityHelper A Symfony\Bundle\SecurityBundle\Templating\Helper\SecurityHelper instance.
- */
- protected function getTemplating_Helper_SecurityService()
- {
- return $this->services['templating.helper.security'] = new \Symfony\Bundle\SecurityBundle\Templating\Helper\SecurityHelper($this->get('security.context'));
- }
- /**
- * Gets the 'templating.helper.session' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\FrameworkBundle\Templating\Helper\SessionHelper A Symfony\Bundle\FrameworkBundle\Templating\Helper\SessionHelper instance.
- */
- protected function getTemplating_Helper_SessionService()
- {
- return $this->services['templating.helper.session'] = new \Symfony\Bundle\FrameworkBundle\Templating\Helper\SessionHelper($this->get('request'));
- }
- /**
- * Gets the 'templating.helper.slots' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Templating\Helper\SlotsHelper A Symfony\Component\Templating\Helper\SlotsHelper instance.
- */
- protected function getTemplating_Helper_SlotsService()
- {
- return $this->services['templating.helper.slots'] = new \Symfony\Component\Templating\Helper\SlotsHelper();
- }
- /**
- * Gets the 'templating.helper.translator' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\FrameworkBundle\Templating\Helper\TranslatorHelper A Symfony\Bundle\FrameworkBundle\Templating\Helper\TranslatorHelper instance.
- */
- protected function getTemplating_Helper_TranslatorService()
- {
- return $this->services['templating.helper.translator'] = new \Symfony\Bundle\FrameworkBundle\Templating\Helper\TranslatorHelper($this->get('translator'));
- }
- /**
- * Gets the 'templating.loader' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\FrameworkBundle\Templating\Loader\FilesystemLoader A Symfony\Bundle\FrameworkBundle\Templating\Loader\FilesystemLoader instance.
- */
- protected function getTemplating_LoaderService()
- {
- return $this->services['templating.loader'] = new \Symfony\Bundle\FrameworkBundle\Templating\Loader\FilesystemLoader($this->get('templating.locator'));
- }
- /**
- * Gets the 'templating.name_parser' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\FrameworkBundle\Templating\TemplateNameParser A Symfony\Bundle\FrameworkBundle\Templating\TemplateNameParser instance.
- */
- protected function getTemplating_NameParserService()
- {
- return $this->services['templating.name_parser'] = new \Symfony\Bundle\FrameworkBundle\Templating\TemplateNameParser($this->get('kernel'));
- }
- /**
- * Gets the 'translation.dumper.csv' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Translation\Dumper\CsvFileDumper A Symfony\Component\Translation\Dumper\CsvFileDumper instance.
- */
- protected function getTranslation_Dumper_CsvService()
- {
- return $this->services['translation.dumper.csv'] = new \Symfony\Component\Translation\Dumper\CsvFileDumper();
- }
- /**
- * Gets the 'translation.dumper.ini' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Translation\Dumper\IniFileDumper A Symfony\Component\Translation\Dumper\IniFileDumper instance.
- */
- protected function getTranslation_Dumper_IniService()
- {
- return $this->services['translation.dumper.ini'] = new \Symfony\Component\Translation\Dumper\IniFileDumper();
- }
- /**
- * Gets the 'translation.dumper.mo' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Translation\Dumper\MoFileDumper A Symfony\Component\Translation\Dumper\MoFileDumper instance.
- */
- protected function getTranslation_Dumper_MoService()
- {
- return $this->services['translation.dumper.mo'] = new \Symfony\Component\Translation\Dumper\MoFileDumper();
- }
- /**
- * Gets the 'translation.dumper.php' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Translation\Dumper\PhpFileDumper A Symfony\Component\Translation\Dumper\PhpFileDumper instance.
- */
- protected function getTranslation_Dumper_PhpService()
- {
- return $this->services['translation.dumper.php'] = new \Symfony\Component\Translation\Dumper\PhpFileDumper();
- }
- /**
- * Gets the 'translation.dumper.po' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Translation\Dumper\PoFileDumper A Symfony\Component\Translation\Dumper\PoFileDumper instance.
- */
- protected function getTranslation_Dumper_PoService()
- {
- return $this->services['translation.dumper.po'] = new \Symfony\Component\Translation\Dumper\PoFileDumper();
- }
- /**
- * Gets the 'translation.dumper.qt' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Translation\Dumper\QtFileDumper A Symfony\Component\Translation\Dumper\QtFileDumper instance.
- */
- protected function getTranslation_Dumper_QtService()
- {
- return $this->services['translation.dumper.qt'] = new \Symfony\Component\Translation\Dumper\QtFileDumper();
- }
- /**
- * Gets the 'translation.dumper.res' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Translation\Dumper\IcuResFileDumper A Symfony\Component\Translation\Dumper\IcuResFileDumper instance.
- */
- protected function getTranslation_Dumper_ResService()
- {
- return $this->services['translation.dumper.res'] = new \Symfony\Component\Translation\Dumper\IcuResFileDumper();
- }
- /**
- * Gets the 'translation.dumper.xliff' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Translation\Dumper\XliffFileDumper A Symfony\Component\Translation\Dumper\XliffFileDumper instance.
- */
- protected function getTranslation_Dumper_XliffService()
- {
- return $this->services['translation.dumper.xliff'] = new \Symfony\Component\Translation\Dumper\XliffFileDumper();
- }
- /**
- * Gets the 'translation.dumper.yml' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Translation\Dumper\YamlFileDumper A Symfony\Component\Translation\Dumper\YamlFileDumper instance.
- */
- protected function getTranslation_Dumper_YmlService()
- {
- return $this->services['translation.dumper.yml'] = new \Symfony\Component\Translation\Dumper\YamlFileDumper();
- }
- /**
- * Gets the 'translation.extractor' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Translation\Extractor\ChainExtractor A Symfony\Component\Translation\Extractor\ChainExtractor instance.
- */
- protected function getTranslation_ExtractorService()
- {
- $this->services['translation.extractor'] = $instance = new \Symfony\Component\Translation\Extractor\ChainExtractor();
- $instance->addExtractor('php', $this->get('translation.extractor.php'));
- $instance->addExtractor('twig', $this->get('twig.translation.extractor'));
- return $instance;
- }
- /**
- * Gets the 'translation.extractor.php' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\FrameworkBundle\Translation\PhpExtractor A Symfony\Bundle\FrameworkBundle\Translation\PhpExtractor instance.
- */
- protected function getTranslation_Extractor_PhpService()
- {
- return $this->services['translation.extractor.php'] = new \Symfony\Bundle\FrameworkBundle\Translation\PhpExtractor();
- }
- /**
- * Gets the 'translation.loader' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\FrameworkBundle\Translation\TranslationLoader A Symfony\Bundle\FrameworkBundle\Translation\TranslationLoader instance.
- */
- protected function getTranslation_LoaderService()
- {
- $a = $this->get('translation.loader.xliff');
- $this->services['translation.loader'] = $instance = new \Symfony\Bundle\FrameworkBundle\Translation\TranslationLoader();
- $instance->addLoader('php', $this->get('translation.loader.php'));
- $instance->addLoader('yml', $this->get('translation.loader.yml'));
- $instance->addLoader('xlf', $a);
- $instance->addLoader('xliff', $a);
- $instance->addLoader('po', $this->get('translation.loader.po'));
- $instance->addLoader('mo', $this->get('translation.loader.mo'));
- $instance->addLoader('ts', $this->get('translation.loader.qt'));
- $instance->addLoader('csv', $this->get('translation.loader.csv'));
- $instance->addLoader('res', $this->get('translation.loader.res'));
- $instance->addLoader('dat', $this->get('translation.loader.dat'));
- $instance->addLoader('ini', $this->get('translation.loader.ini'));
- return $instance;
- }
- /**
- * Gets the 'translation.loader.csv' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Translation\Loader\CsvFileLoader A Symfony\Component\Translation\Loader\CsvFileLoader instance.
- */
- protected function getTranslation_Loader_CsvService()
- {
- return $this->services['translation.loader.csv'] = new \Symfony\Component\Translation\Loader\CsvFileLoader();
- }
- /**
- * Gets the 'translation.loader.dat' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Translation\Loader\IcuResFileLoader A Symfony\Component\Translation\Loader\IcuResFileLoader instance.
- */
- protected function getTranslation_Loader_DatService()
- {
- return $this->services['translation.loader.dat'] = new \Symfony\Component\Translation\Loader\IcuResFileLoader();
- }
- /**
- * Gets the 'translation.loader.ini' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Translation\Loader\IniFileLoader A Symfony\Component\Translation\Loader\IniFileLoader instance.
- */
- protected function getTranslation_Loader_IniService()
- {
- return $this->services['translation.loader.ini'] = new \Symfony\Component\Translation\Loader\IniFileLoader();
- }
- /**
- * Gets the 'translation.loader.mo' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Translation\Loader\MoFileLoader A Symfony\Component\Translation\Loader\MoFileLoader instance.
- */
- protected function getTranslation_Loader_MoService()
- {
- return $this->services['translation.loader.mo'] = new \Symfony\Component\Translation\Loader\MoFileLoader();
- }
- /**
- * Gets the 'translation.loader.php' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Translation\Loader\PhpFileLoader A Symfony\Component\Translation\Loader\PhpFileLoader instance.
- */
- protected function getTranslation_Loader_PhpService()
- {
- return $this->services['translation.loader.php'] = new \Symfony\Component\Translation\Loader\PhpFileLoader();
- }
- /**
- * Gets the 'translation.loader.po' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Translation\Loader\PoFileLoader A Symfony\Component\Translation\Loader\PoFileLoader instance.
- */
- protected function getTranslation_Loader_PoService()
- {
- return $this->services['translation.loader.po'] = new \Symfony\Component\Translation\Loader\PoFileLoader();
- }
- /**
- * Gets the 'translation.loader.qt' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Translation\Loader\QtFileLoader A Symfony\Component\Translation\Loader\QtFileLoader instance.
- */
- protected function getTranslation_Loader_QtService()
- {
- return $this->services['translation.loader.qt'] = new \Symfony\Component\Translation\Loader\QtFileLoader();
- }
- /**
- * Gets the 'translation.loader.res' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Translation\Loader\IcuResFileLoader A Symfony\Component\Translation\Loader\IcuResFileLoader instance.
- */
- protected function getTranslation_Loader_ResService()
- {
- return $this->services['translation.loader.res'] = new \Symfony\Component\Translation\Loader\IcuResFileLoader();
- }
- /**
- * Gets the 'translation.loader.xliff' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Translation\Loader\XliffFileLoader A Symfony\Component\Translation\Loader\XliffFileLoader instance.
- */
- protected function getTranslation_Loader_XliffService()
- {
- return $this->services['translation.loader.xliff'] = new \Symfony\Component\Translation\Loader\XliffFileLoader();
- }
- /**
- * Gets the 'translation.loader.yml' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Translation\Loader\YamlFileLoader A Symfony\Component\Translation\Loader\YamlFileLoader instance.
- */
- protected function getTranslation_Loader_YmlService()
- {
- return $this->services['translation.loader.yml'] = new \Symfony\Component\Translation\Loader\YamlFileLoader();
- }
- /**
- * Gets the 'translation.writer' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Translation\Writer\TranslationWriter A Symfony\Component\Translation\Writer\TranslationWriter instance.
- */
- protected function getTranslation_WriterService()
- {
- $this->services['translation.writer'] = $instance = new \Symfony\Component\Translation\Writer\TranslationWriter();
- $instance->addDumper('php', $this->get('translation.dumper.php'));
- $instance->addDumper('xlf', $this->get('translation.dumper.xliff'));
- $instance->addDumper('po', $this->get('translation.dumper.po'));
- $instance->addDumper('mo', $this->get('translation.dumper.mo'));
- $instance->addDumper('yml', $this->get('translation.dumper.yml'));
- $instance->addDumper('ts', $this->get('translation.dumper.qt'));
- $instance->addDumper('csv', $this->get('translation.dumper.csv'));
- $instance->addDumper('ini', $this->get('translation.dumper.ini'));
- $instance->addDumper('res', $this->get('translation.dumper.res'));
- return $instance;
- }
- /**
- * Gets the 'translator' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Translation\IdentityTranslator A Symfony\Component\Translation\IdentityTranslator instance.
- */
- protected function getTranslatorService()
- {
- return $this->services['translator'] = new \Symfony\Component\Translation\IdentityTranslator($this->get('translator.selector'));
- }
- /**
- * Gets the 'translator.default' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\FrameworkBundle\Translation\Translator A Symfony\Bundle\FrameworkBundle\Translation\Translator instance.
- */
- protected function getTranslator_DefaultService()
- {
- 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));
- }
- /**
- * Gets the 'twig' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Twig_Environment A Twig_Environment instance.
- */
- protected function getTwigService()
- {
- $a = $this->get('security.context');
- $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()));
- $instance->addExtension(new \Symfony\Bundle\SecurityBundle\Twig\Extension\LogoutUrlExtension($this->get('templating.helper.logout_url')));
- $instance->addExtension(new \Symfony\Bridge\Twig\Extension\SecurityExtension($a));
- $instance->addExtension(new \Symfony\Bridge\Twig\Extension\TranslationExtension($this->get('translator')));
- $instance->addExtension(new \Symfony\Bundle\TwigBundle\Extension\AssetsExtension($this));
- $instance->addExtension(new \Symfony\Bundle\TwigBundle\Extension\ActionsExtension($this));
- $instance->addExtension(new \Symfony\Bridge\Twig\Extension\CodeExtension(NULL, '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app', 'UTF-8'));
- $instance->addExtension(new \Symfony\Bridge\Twig\Extension\RoutingExtension($this->get('router')));
- $instance->addExtension(new \Symfony\Bridge\Twig\Extension\YamlExtension());
- $instance->addExtension(new \Symfony\Bridge\Twig\Extension\HttpKernelExtension($this->get('fragment.handler')));
- $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'))));
- $instance->addExtension(new \Twig_Extension_Debug());
- $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')));
- $instance->addExtension(new \Doctrine\Bundle\DoctrineBundle\Twig\DoctrineExtension());
- $instance->addExtension(new \JMS\SecurityExtraBundle\Twig\SecurityExtension($a));
- $instance->addExtension($this->get('twig.extension.acme.demo'));
- $instance->addGlobal('app', $this->get('templating.globals'));
- return $instance;
- }
- /**
- * Gets the 'twig.controller.exception' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\TwigBundle\Controller\ExceptionController A Symfony\Bundle\TwigBundle\Controller\ExceptionController instance.
- */
- protected function getTwig_Controller_ExceptionService()
- {
- return $this->services['twig.controller.exception'] = new \Symfony\Bundle\TwigBundle\Controller\ExceptionController($this->get('twig'), true);
- }
- /**
- * Gets the 'twig.exception_listener' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\HttpKernel\EventListener\ExceptionListener A Symfony\Component\HttpKernel\EventListener\ExceptionListener instance.
- */
- protected function getTwig_ExceptionListenerService()
- {
- return $this->services['twig.exception_listener'] = new \Symfony\Component\HttpKernel\EventListener\ExceptionListener('twig.controller.exception:showAction', $this->get('monolog.logger.request'));
- }
- /**
- * Gets the 'twig.loader' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\TwigBundle\Loader\FilesystemLoader A Symfony\Bundle\TwigBundle\Loader\FilesystemLoader instance.
- */
- protected function getTwig_LoaderService()
- {
- $this->services['twig.loader'] = $instance = new \Symfony\Bundle\TwigBundle\Loader\FilesystemLoader($this->get('templating.locator'), $this->get('templating.name_parser'));
- $instance->addPath('/opt/local/apache2/htdocs/Symfony2-RESTAPI/vendor/symfony/symfony/src/Symfony/Bridge/Twig/Resources/views/Form');
- $instance->addPath('/opt/local/apache2/htdocs/Symfony2-RESTAPI/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/views', 'Framework');
- $instance->addPath('/opt/local/apache2/htdocs/Symfony2-RESTAPI/vendor/symfony/symfony/src/Symfony/Bundle/SecurityBundle/Resources/views', 'Security');
- $instance->addPath('/opt/local/apache2/htdocs/Symfony2-RESTAPI/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Resources/views', 'Twig');
- $instance->addPath('/opt/local/apache2/htdocs/Symfony2-RESTAPI/vendor/symfony/swiftmailer-bundle/Symfony/Bundle/SwiftmailerBundle/Resources/views', 'Swiftmailer');
- $instance->addPath('/opt/local/apache2/htdocs/Symfony2-RESTAPI/vendor/doctrine/doctrine-bundle/Doctrine/Bundle/DoctrineBundle/Resources/views', 'Doctrine');
- $instance->addPath('/opt/local/apache2/htdocs/Symfony2-RESTAPI/src/Acme/HelloBundle/Resources/views', 'AcmeHello');
- $instance->addPath('/opt/local/apache2/htdocs/Symfony2-RESTAPI/src/Acme/DemoBundle/Resources/views', 'AcmeDemo');
- $instance->addPath('/opt/local/apache2/htdocs/Symfony2-RESTAPI/vendor/symfony/symfony/src/Symfony/Bundle/WebProfilerBundle/Resources/views', 'WebProfiler');
- $instance->addPath('/opt/local/apache2/htdocs/Symfony2-RESTAPI/vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Resources/views', 'SensioDistribution');
- $instance->addPath('/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/Resources/views');
- return $instance;
- }
- /**
- * Gets the 'twig.translation.extractor' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bridge\Twig\Translation\TwigExtractor A Symfony\Bridge\Twig\Translation\TwigExtractor instance.
- */
- protected function getTwig_Translation_ExtractorService()
- {
- return $this->services['twig.translation.extractor'] = new \Symfony\Bridge\Twig\Translation\TwigExtractor($this->get('twig'));
- }
- /**
- * Gets the 'uri_signer' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\HttpKernel\UriSigner A Symfony\Component\HttpKernel\UriSigner instance.
- */
- protected function getUriSignerService()
- {
- return $this->services['uri_signer'] = new \Symfony\Component\HttpKernel\UriSigner('2081aa2b4d77a2615e927205e0f702dd5a22a013');
- }
- /**
- * Gets the 'validator' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Component\Validator\Validator A Symfony\Component\Validator\Validator instance.
- */
- protected function getValidatorService()
- {
- 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')));
- }
- /**
- * Gets the 'web_profiler.controller.exception' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\WebProfilerBundle\Controller\ExceptionController A Symfony\Bundle\WebProfilerBundle\Controller\ExceptionController instance.
- */
- protected function getWebProfiler_Controller_ExceptionService()
- {
- return $this->services['web_profiler.controller.exception'] = new \Symfony\Bundle\WebProfilerBundle\Controller\ExceptionController($this->get('profiler'), $this->get('twig'), true);
- }
- /**
- * Gets the 'web_profiler.controller.profiler' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\WebProfilerBundle\Controller\ProfilerController A Symfony\Bundle\WebProfilerBundle\Controller\ProfilerController instance.
- */
- protected function getWebProfiler_Controller_ProfilerService()
- {
- 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');
- }
- /**
- * Gets the 'web_profiler.controller.router' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\WebProfilerBundle\Controller\RouterController A Symfony\Bundle\WebProfilerBundle\Controller\RouterController instance.
- */
- protected function getWebProfiler_Controller_RouterService()
- {
- return $this->services['web_profiler.controller.router'] = new \Symfony\Bundle\WebProfilerBundle\Controller\RouterController($this->get('profiler'), $this->get('twig'), $this->get('router'));
- }
- /**
- * Gets the 'web_profiler.debug_toolbar' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * @return Symfony\Bundle\WebProfilerBundle\EventListener\WebDebugToolbarListener A Symfony\Bundle\WebProfilerBundle\EventListener\WebDebugToolbarListener instance.
- */
- protected function getWebProfiler_DebugToolbarService()
- {
- return $this->services['web_profiler.debug_toolbar'] = new \Symfony\Bundle\WebProfilerBundle\EventListener\WebDebugToolbarListener($this->get('twig'), false, 2, 'bottom');
- }
- /**
- * Gets the database_connection service alias.
- *
- * @return stdClass An instance of the doctrine.dbal.default_connection service
- */
- protected function getDatabaseConnectionService()
- {
- return $this->get('doctrine.dbal.default_connection');
- }
- /**
- * Gets the debug.templating.engine.twig service alias.
- *
- * @return Symfony\Bundle\TwigBundle\Debug\TimedTwigEngine An instance of the templating service
- */
- protected function getDebug_Templating_Engine_TwigService()
- {
- return $this->get('templating');
- }
- /**
- * Gets the doctrine.orm.entity_manager service alias.
- *
- * @return EntityManager5162b07e2cbb0_546a8d27f194334ee012bfe64f629947b07e4919\__CG__\Doctrine\ORM\EntityManager An instance of the doctrine.orm.default_entity_manager service
- */
- protected function getDoctrine_Orm_EntityManagerService()
- {
- return $this->get('doctrine.orm.default_entity_manager');
- }
- /**
- * Gets the session.storage service alias.
- *
- * @return Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage An instance of the session.storage.native service
- */
- protected function getSession_StorageService()
- {
- return $this->get('session.storage.native');
- }
- /**
- * Gets the 'assetic.asset_factory' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * This service is private.
- * If you want to be able to request this service from the container directly,
- * make it public, otherwise you might end up with broken code.
- *
- * @return Symfony\Bundle\AsseticBundle\Factory\AssetFactory A Symfony\Bundle\AsseticBundle\Factory\AssetFactory instance.
- */
- protected function getAssetic_AssetFactoryService()
- {
- $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);
- $instance->addWorker(new \Symfony\Bundle\AsseticBundle\Factory\Worker\UseControllerWorker());
- return $instance;
- }
- /**
- * Gets the 'assetic.cache' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * This service is private.
- * If you want to be able to request this service from the container directly,
- * make it public, otherwise you might end up with broken code.
- *
- * @return Assetic\Cache\FilesystemCache A Assetic\Cache\FilesystemCache instance.
- */
- protected function getAssetic_CacheService()
- {
- return $this->services['assetic.cache'] = new \Assetic\Cache\FilesystemCache('/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/assetic/assets');
- }
- /**
- * Gets the 'assetic.value_supplier.default' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * This service is private.
- * If you want to be able to request this service from the container directly,
- * make it public, otherwise you might end up with broken code.
- *
- * @return Symfony\Bundle\AsseticBundle\DefaultValueSupplier A Symfony\Bundle\AsseticBundle\DefaultValueSupplier instance.
- */
- protected function getAssetic_ValueSupplier_DefaultService()
- {
- return $this->services['assetic.value_supplier.default'] = new \Symfony\Bundle\AsseticBundle\DefaultValueSupplier($this);
- }
- /**
- * Gets the 'controller_name_converter' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * This service is private.
- * If you want to be able to request this service from the container directly,
- * make it public, otherwise you might end up with broken code.
- *
- * @return Symfony\Bundle\FrameworkBundle\Controller\ControllerNameParser A Symfony\Bundle\FrameworkBundle\Controller\ControllerNameParser instance.
- */
- protected function getControllerNameConverterService()
- {
- return $this->services['controller_name_converter'] = new \Symfony\Bundle\FrameworkBundle\Controller\ControllerNameParser($this->get('kernel'));
- }
- /**
- * Gets the 'doctrine.dbal.logger.profiling.default' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * This service is private.
- * If you want to be able to request this service from the container directly,
- * make it public, otherwise you might end up with broken code.
- *
- * @return Doctrine\DBAL\Logging\DebugStack A Doctrine\DBAL\Logging\DebugStack instance.
- */
- protected function getDoctrine_Dbal_Logger_Profiling_DefaultService()
- {
- return $this->services['doctrine.dbal.logger.profiling.default'] = new \Doctrine\DBAL\Logging\DebugStack();
- }
- /**
- * Gets the 'jms_di_extra.controller_resolver' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * This service is private.
- * If you want to be able to request this service from the container directly,
- * make it public, otherwise you might end up with broken code.
- *
- * @return JMS\DiExtraBundle\HttpKernel\ControllerResolver A JMS\DiExtraBundle\HttpKernel\ControllerResolver instance.
- */
- protected function getJmsDiExtra_ControllerResolverService()
- {
- return $this->services['jms_di_extra.controller_resolver'] = new \JMS\DiExtraBundle\HttpKernel\ControllerResolver($this, $this->get('controller_name_converter'), $this->get('monolog.logger.request'));
- }
- /**
- * Gets the 'router.request_context' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * This service is private.
- * If you want to be able to request this service from the container directly,
- * make it public, otherwise you might end up with broken code.
- *
- * @return Symfony\Component\Routing\RequestContext A Symfony\Component\Routing\RequestContext instance.
- */
- protected function getRouter_RequestContextService()
- {
- return $this->services['router.request_context'] = new \Symfony\Component\Routing\RequestContext('', 'GET', 'localhost', 'http', 80, 443);
- }
- /**
- * Gets the 'security.authentication.manager' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * This service is private.
- * If you want to be able to request this service from the container directly,
- * make it public, otherwise you might end up with broken code.
- *
- * @return Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager A Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager instance.
- */
- protected function getSecurity_Authentication_ManagerService()
- {
- $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);
- $instance->setEventDispatcher($this->get('event_dispatcher'));
- return $instance;
- }
- /**
- * Gets the 'security.expressions.handler' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * This service is private.
- * If you want to be able to request this service from the container directly,
- * make it public, otherwise you might end up with broken code.
- *
- * @return JMS\SecurityExtraBundle\Security\Authorization\Expression\ContainerAwareExpressionHandler A JMS\SecurityExtraBundle\Security\Authorization\Expression\ContainerAwareExpressionHandler instance.
- */
- protected function getSecurity_Expressions_HandlerService()
- {
- return $this->services['security.expressions.handler'] = new \JMS\SecurityExtraBundle\Security\Authorization\Expression\ContainerAwareExpressionHandler($this);
- }
- /**
- * Gets the 'security.extra.metadata_factory' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * This service is private.
- * If you want to be able to request this service from the container directly,
- * make it public, otherwise you might end up with broken code.
- *
- * @return Metadata\MetadataFactory A Metadata\MetadataFactory instance.
- */
- protected function getSecurity_Extra_MetadataFactoryService()
- {
- $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));
- $instance->setIncludeInterfaces(true);
- return $instance;
- }
- /**
- * Gets the 'security.user.provider.concrete.in_memory' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * This service is private.
- * If you want to be able to request this service from the container directly,
- * make it public, otherwise you might end up with broken code.
- *
- * @return Symfony\Component\Security\Core\User\InMemoryUserProvider A Symfony\Component\Security\Core\User\InMemoryUserProvider instance.
- */
- protected function getSecurity_User_Provider_Concrete_InMemoryService()
- {
- $this->services['security.user.provider.concrete.in_memory'] = $instance = new \Symfony\Component\Security\Core\User\InMemoryUserProvider();
- $instance->createUser(new \Symfony\Component\Security\Core\User\User('user', 'userpass', array(0 => 'ROLE_USER')));
- $instance->createUser(new \Symfony\Component\Security\Core\User\User('admin', 'adminpass', array(0 => 'ROLE_ADMIN')));
- return $instance;
- }
- /**
- * Gets the 'swiftmailer.transport.eventdispatcher' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * This service is private.
- * If you want to be able to request this service from the container directly,
- * make it public, otherwise you might end up with broken code.
- *
- * @return Swift_Events_SimpleEventDispatcher A Swift_Events_SimpleEventDispatcher instance.
- */
- protected function getSwiftmailer_Transport_EventdispatcherService()
- {
- return $this->services['swiftmailer.transport.eventdispatcher'] = new \Swift_Events_SimpleEventDispatcher();
- }
- /**
- * Gets the 'templating.locator' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * This service is private.
- * If you want to be able to request this service from the container directly,
- * make it public, otherwise you might end up with broken code.
- *
- * @return Symfony\Bundle\FrameworkBundle\Templating\Loader\TemplateLocator A Symfony\Bundle\FrameworkBundle\Templating\Loader\TemplateLocator instance.
- */
- protected function getTemplating_LocatorService()
- {
- 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');
- }
- /**
- * Gets the 'translator.selector' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * This service is private.
- * If you want to be able to request this service from the container directly,
- * make it public, otherwise you might end up with broken code.
- *
- * @return Symfony\Component\Translation\MessageSelector A Symfony\Component\Translation\MessageSelector instance.
- */
- protected function getTranslator_SelectorService()
- {
- return $this->services['translator.selector'] = new \Symfony\Component\Translation\MessageSelector();
- }
- /**
- * Gets the 'twig.extension.acme.demo' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * This service is private.
- * If you want to be able to request this service from the container directly,
- * make it public, otherwise you might end up with broken code.
- *
- * @return Acme\DemoBundle\Twig\Extension\DemoExtension A Acme\DemoBundle\Twig\Extension\DemoExtension instance.
- */
- protected function getTwig_Extension_Acme_DemoService()
- {
- return $this->services['twig.extension.acme.demo'] = new \Acme\DemoBundle\Twig\Extension\DemoExtension($this->get('twig.loader'));
- }
- /**
- * Gets the 'validator.mapping.class_metadata_factory' service.
- *
- * This service is shared.
- * This method always returns the same instance of the service.
- *
- * This service is private.
- * If you want to be able to request this service from the container directly,
- * make it public, otherwise you might end up with broken code.
- *
- * @return Symfony\Component\Validator\Mapping\ClassMetadataFactory A Symfony\Component\Validator\Mapping\ClassMetadataFactory instance.
- */
- protected function getValidator_Mapping_ClassMetadataFactoryService()
- {
- 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);
- }
- /**
- * {@inheritdoc}
- */
- public function getParameter($name)
- {
- $name = strtolower($name);
- if (!(isset($this->parameters[$name]) || array_key_exists($name, $this->parameters))) {
- throw new InvalidArgumentException(sprintf('The parameter "%s" must be defined.', $name));
- }
- return $this->parameters[$name];
- }
- /**
- * {@inheritdoc}
- */
- public function hasParameter($name)
- {
- $name = strtolower($name);
- return isset($this->parameters[$name]) || array_key_exists($name, $this->parameters);
- }
- /**
- * {@inheritdoc}
- */
- public function setParameter($name, $value)
- {
- throw new LogicException('Impossible to call set() on a frozen ParameterBag.');
- }
- /**
- * {@inheritDoc}
- */
- public function getParameterBag()
- {
- if (null === $this->parameterBag) {
- $this->parameterBag = new FrozenParameterBag($this->parameters);
- }
- return $this->parameterBag;
- }
- /**
- * Gets the default parameters.
- *
- * @return array An array of the default parameters
- */
- protected function getDefaultParameters()
- {
- return array(
- 'kernel.root_dir' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app',
- 'kernel.environment' => 'dev',
- 'kernel.debug' => true,
- 'kernel.name' => 'app',
- 'kernel.cache_dir' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev',
- 'kernel.logs_dir' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/logs',
- 'kernel.bundles' => array(
- 'FrameworkBundle' => 'Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle',
- 'SecurityBundle' => 'Symfony\\Bundle\\SecurityBundle\\SecurityBundle',
- 'TwigBundle' => 'Symfony\\Bundle\\TwigBundle\\TwigBundle',
- 'MonologBundle' => 'Symfony\\Bundle\\MonologBundle\\MonologBundle',
- 'SwiftmailerBundle' => 'Symfony\\Bundle\\SwiftmailerBundle\\SwiftmailerBundle',
- 'AsseticBundle' => 'Symfony\\Bundle\\AsseticBundle\\AsseticBundle',
- 'DoctrineBundle' => 'Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle',
- 'SensioFrameworkExtraBundle' => 'Sensio\\Bundle\\FrameworkExtraBundle\\SensioFrameworkExtraBundle',
- 'JMSAopBundle' => 'JMS\\AopBundle\\JMSAopBundle',
- 'JMSDiExtraBundle' => 'JMS\\DiExtraBundle\\JMSDiExtraBundle',
- 'JMSSecurityExtraBundle' => 'JMS\\SecurityExtraBundle\\JMSSecurityExtraBundle',
- 'AcmeHelloBundle' => 'Acme\\HelloBundle\\AcmeHelloBundle',
- 'AcmeDemoBundle' => 'Acme\\DemoBundle\\AcmeDemoBundle',
- 'WebProfilerBundle' => 'Symfony\\Bundle\\WebProfilerBundle\\WebProfilerBundle',
- 'SensioDistributionBundle' => 'Sensio\\Bundle\\DistributionBundle\\SensioDistributionBundle',
- 'SensioGeneratorBundle' => 'Sensio\\Bundle\\GeneratorBundle\\SensioGeneratorBundle',
- ),
- 'kernel.charset' => 'UTF-8',
- 'kernel.container_class' => 'appDevDebugProjectContainer',
- 'database_driver' => 'pdo_mysql',
- 'database_host' => '127.0.0.1',
- 'database_port' => NULL,
- 'database_name' => 'symfony_restapi',
- 'database_user' => 'root',
- 'database_password' => 'root',
- 'mailer_transport' => 'smtp',
- 'mailer_host' => '127.0.0.1',
- 'mailer_user' => NULL,
- 'mailer_password' => NULL,
- 'locale' => 'en',
- 'secret' => '2081aa2b4d77a2615e927205e0f702dd5a22a013',
- 'database_path' => NULL,
- 'controller_resolver.class' => 'Symfony\\Bundle\\FrameworkBundle\\Controller\\ControllerResolver',
- 'controller_name_converter.class' => 'Symfony\\Bundle\\FrameworkBundle\\Controller\\ControllerNameParser',
- 'response_listener.class' => 'Symfony\\Component\\HttpKernel\\EventListener\\ResponseListener',
- 'streamed_response_listener.class' => 'Symfony\\Component\\HttpKernel\\EventListener\\StreamedResponseListener',
- 'locale_listener.class' => 'Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener',
- 'event_dispatcher.class' => 'Symfony\\Component\\EventDispatcher\\ContainerAwareEventDispatcher',
- 'http_kernel.class' => 'Symfony\\Bundle\\FrameworkBundle\\HttpKernel',
- 'filesystem.class' => 'Symfony\\Component\\Filesystem\\Filesystem',
- 'cache_warmer.class' => 'Symfony\\Component\\HttpKernel\\CacheWarmer\\CacheWarmerAggregate',
- 'cache_clearer.class' => 'Symfony\\Component\\HttpKernel\\CacheClearer\\ChainCacheClearer',
- 'file_locator.class' => 'Symfony\\Component\\HttpKernel\\Config\\FileLocator',
- 'uri_signer.class' => 'Symfony\\Component\\HttpKernel\\UriSigner',
- 'fragment.handler.class' => 'Symfony\\Component\\HttpKernel\\Fragment\\FragmentHandler',
- 'fragment.renderer.inline.class' => 'Symfony\\Component\\HttpKernel\\Fragment\\InlineFragmentRenderer',
- 'fragment.renderer.hinclude.class' => 'Symfony\\Bundle\\FrameworkBundle\\Fragment\\ContainerAwareHIncludeFragmentRenderer',
- 'fragment.renderer.hinclude.global_template' => NULL,
- 'fragment.path' => '/_fragment',
- 'translator.class' => 'Symfony\\Bundle\\FrameworkBundle\\Translation\\Translator',
- 'translator.identity.class' => 'Symfony\\Component\\Translation\\IdentityTranslator',
- 'translator.selector.class' => 'Symfony\\Component\\Translation\\MessageSelector',
- 'translation.loader.php.class' => 'Symfony\\Component\\Translation\\Loader\\PhpFileLoader',
- 'translation.loader.yml.class' => 'Symfony\\Component\\Translation\\Loader\\YamlFileLoader',
- 'translation.loader.xliff.class' => 'Symfony\\Component\\Translation\\Loader\\XliffFileLoader',
- 'translation.loader.po.class' => 'Symfony\\Component\\Translation\\Loader\\PoFileLoader',
- 'translation.loader.mo.class' => 'Symfony\\Component\\Translation\\Loader\\MoFileLoader',
- 'translation.loader.qt.class' => 'Symfony\\Component\\Translation\\Loader\\QtFileLoader',
- 'translation.loader.csv.class' => 'Symfony\\Component\\Translation\\Loader\\CsvFileLoader',
- 'translation.loader.res.class' => 'Symfony\\Component\\Translation\\Loader\\IcuResFileLoader',
- 'translation.loader.dat.class' => 'Symfony\\Component\\Translation\\Loader\\IcuDatFileLoader',
- 'translation.loader.ini.class' => 'Symfony\\Component\\Translation\\Loader\\IniFileLoader',
- 'translation.dumper.php.class' => 'Symfony\\Component\\Translation\\Dumper\\PhpFileDumper',
- 'translation.dumper.xliff.class' => 'Symfony\\Component\\Translation\\Dumper\\XliffFileDumper',
- 'translation.dumper.po.class' => 'Symfony\\Component\\Translation\\Dumper\\PoFileDumper',
- 'translation.dumper.mo.class' => 'Symfony\\Component\\Translation\\Dumper\\MoFileDumper',
- 'translation.dumper.yml.class' => 'Symfony\\Component\\Translation\\Dumper\\YamlFileDumper',
- 'translation.dumper.qt.class' => 'Symfony\\Component\\Translation\\Dumper\\QtFileDumper',
- 'translation.dumper.csv.class' => 'Symfony\\Component\\Translation\\Dumper\\CsvFileDumper',
- 'translation.dumper.ini.class' => 'Symfony\\Component\\Translation\\Dumper\\IniFileDumper',
- 'translation.dumper.res.class' => 'Symfony\\Component\\Translation\\Dumper\\IcuResFileDumper',
- 'translation.extractor.php.class' => 'Symfony\\Bundle\\FrameworkBundle\\Translation\\PhpExtractor',
- 'translation.loader.class' => 'Symfony\\Bundle\\FrameworkBundle\\Translation\\TranslationLoader',
- 'translation.extractor.class' => 'Symfony\\Component\\Translation\\Extractor\\ChainExtractor',
- 'translation.writer.class' => 'Symfony\\Component\\Translation\\Writer\\TranslationWriter',
- 'debug.event_dispatcher.class' => 'Symfony\\Component\\HttpKernel\\Debug\\TraceableEventDispatcher',
- 'debug.stopwatch.class' => 'Symfony\\Component\\Stopwatch\\Stopwatch',
- 'debug.container.dump' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/appDevDebugProjectContainer.xml',
- 'debug.controller_resolver.class' => 'Symfony\\Component\\HttpKernel\\Controller\\TraceableControllerResolver',
- 'debug.deprecation_logger_listener.class' => 'Symfony\\Component\\HttpKernel\\EventListener\\DeprecationLoggerListener',
- 'kernel.secret' => '2081aa2b4d77a2615e927205e0f702dd5a22a013',
- 'kernel.trusted_proxies' => array(
- ),
- 'kernel.trust_proxy_headers' => false,
- 'kernel.default_locale' => 'en',
- 'session.class' => 'Symfony\\Component\\HttpFoundation\\Session\\Session',
- 'session.flashbag.class' => 'Symfony\\Component\\HttpFoundation\\Session\\Flash\\FlashBag',
- 'session.attribute_bag.class' => 'Symfony\\Component\\HttpFoundation\\Session\\Attribute\\AttributeBag',
- 'session.storage.native.class' => 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\NativeSessionStorage',
- 'session.storage.mock_file.class' => 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\MockFileSessionStorage',
- 'session.handler.native_file.class' => 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\NativeFileSessionHandler',
- 'session_listener.class' => 'Symfony\\Bundle\\FrameworkBundle\\EventListener\\SessionListener',
- 'session.storage.options' => array(
- ),
- 'session.save_path' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/sessions',
- 'form.resolved_type_factory.class' => 'Symfony\\Component\\Form\\ResolvedFormTypeFactory',
- 'form.registry.class' => 'Symfony\\Component\\Form\\FormRegistry',
- 'form.factory.class' => 'Symfony\\Component\\Form\\FormFactory',
- 'form.extension.class' => 'Symfony\\Component\\Form\\Extension\\DependencyInjection\\DependencyInjectionExtension',
- 'form.type_guesser.validator.class' => 'Symfony\\Component\\Form\\Extension\\Validator\\ValidatorTypeGuesser',
- 'property_accessor.class' => 'Symfony\\Component\\PropertyAccess\\PropertyAccessor',
- 'form.csrf_provider.class' => 'Symfony\\Component\\Form\\Extension\\Csrf\\CsrfProvider\\SessionCsrfProvider',
- 'form.type_extension.csrf.enabled' => true,
- 'form.type_extension.csrf.field_name' => '_token',
- 'templating.engine.delegating.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\DelegatingEngine',
- 'templating.name_parser.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\TemplateNameParser',
- 'templating.filename_parser.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\TemplateFilenameParser',
- 'templating.cache_warmer.template_paths.class' => 'Symfony\\Bundle\\FrameworkBundle\\CacheWarmer\\TemplatePathsCacheWarmer',
- 'templating.locator.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Loader\\TemplateLocator',
- 'templating.loader.filesystem.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Loader\\FilesystemLoader',
- 'templating.loader.cache.class' => 'Symfony\\Component\\Templating\\Loader\\CacheLoader',
- 'templating.loader.chain.class' => 'Symfony\\Component\\Templating\\Loader\\ChainLoader',
- 'templating.finder.class' => 'Symfony\\Bundle\\FrameworkBundle\\CacheWarmer\\TemplateFinder',
- 'templating.engine.php.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\PhpEngine',
- 'templating.helper.slots.class' => 'Symfony\\Component\\Templating\\Helper\\SlotsHelper',
- 'templating.helper.assets.class' => 'Symfony\\Component\\Templating\\Helper\\CoreAssetsHelper',
- 'templating.helper.actions.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Helper\\ActionsHelper',
- 'templating.helper.router.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Helper\\RouterHelper',
- 'templating.helper.request.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Helper\\RequestHelper',
- 'templating.helper.session.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Helper\\SessionHelper',
- 'templating.helper.code.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Helper\\CodeHelper',
- 'templating.helper.translator.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Helper\\TranslatorHelper',
- 'templating.helper.form.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Helper\\FormHelper',
- 'templating.form.engine.class' => 'Symfony\\Component\\Form\\Extension\\Templating\\TemplatingRendererEngine',
- 'templating.form.renderer.class' => 'Symfony\\Component\\Form\\FormRenderer',
- 'templating.globals.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\GlobalVariables',
- 'templating.asset.path_package.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Asset\\PathPackage',
- 'templating.asset.url_package.class' => 'Symfony\\Component\\Templating\\Asset\\UrlPackage',
- 'templating.asset.package_factory.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Asset\\PackageFactory',
- 'templating.helper.code.file_link_format' => NULL,
- 'templating.helper.form.resources' => array(
- 0 => 'FrameworkBundle:Form',
- ),
- 'templating.debugger.class' => 'Symfony\\Bundle\\FrameworkBundle\\Templating\\Debugger',
- 'templating.loader.cache.path' => NULL,
- 'templating.engines' => array(
- 0 => 'twig',
- ),
- 'validator.class' => 'Symfony\\Component\\Validator\\Validator',
- 'validator.mapping.class_metadata_factory.class' => 'Symfony\\Component\\Validator\\Mapping\\ClassMetadataFactory',
- 'validator.mapping.cache.apc.class' => 'Symfony\\Component\\Validator\\Mapping\\Cache\\ApcCache',
- 'validator.mapping.cache.prefix' => '',
- 'validator.mapping.loader.loader_chain.class' => 'Symfony\\Component\\Validator\\Mapping\\Loader\\LoaderChain',
- 'validator.mapping.loader.static_method_loader.class' => 'Symfony\\Component\\Validator\\Mapping\\Loader\\StaticMethodLoader',
- 'validator.mapping.loader.annotation_loader.class' => 'Symfony\\Component\\Validator\\Mapping\\Loader\\AnnotationLoader',
- 'validator.mapping.loader.xml_files_loader.class' => 'Symfony\\Component\\Validator\\Mapping\\Loader\\XmlFilesLoader',
- 'validator.mapping.loader.yaml_files_loader.class' => 'Symfony\\Component\\Validator\\Mapping\\Loader\\YamlFilesLoader',
- 'validator.validator_factory.class' => 'Symfony\\Bundle\\FrameworkBundle\\Validator\\ConstraintValidatorFactory',
- 'validator.mapping.loader.xml_files_loader.mapping_files' => array(
- 0 => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/vendor/symfony/symfony/src/Symfony/Component/Form/Resources/config/validation.xml',
- ),
- 'validator.mapping.loader.yaml_files_loader.mapping_files' => array(
- ),
- 'validator.translation_domain' => 'validators',
- 'fragment.listener.class' => 'Symfony\\Component\\HttpKernel\\EventListener\\FragmentListener',
- 'profiler.class' => 'Symfony\\Component\\HttpKernel\\Profiler\\Profiler',
- 'profiler_listener.class' => 'Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener',
- 'data_collector.config.class' => 'Symfony\\Component\\HttpKernel\\DataCollector\\ConfigDataCollector',
- 'data_collector.request.class' => 'Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector',
- 'data_collector.exception.class' => 'Symfony\\Component\\HttpKernel\\DataCollector\\ExceptionDataCollector',
- 'data_collector.events.class' => 'Symfony\\Component\\HttpKernel\\DataCollector\\EventDataCollector',
- 'data_collector.logger.class' => 'Symfony\\Component\\HttpKernel\\DataCollector\\LoggerDataCollector',
- 'data_collector.time.class' => 'Symfony\\Component\\HttpKernel\\DataCollector\\TimeDataCollector',
- 'data_collector.memory.class' => 'Symfony\\Component\\HttpKernel\\DataCollector\\MemoryDataCollector',
- 'data_collector.router.class' => 'Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector',
- 'profiler_listener.only_exceptions' => false,
- 'profiler_listener.only_master_requests' => false,
- 'profiler.storage.dsn' => 'file:/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/profiler',
- 'profiler.storage.username' => '',
- 'profiler.storage.password' => '',
- 'profiler.storage.lifetime' => 86400,
- 'router.class' => 'Symfony\\Bundle\\FrameworkBundle\\Routing\\Router',
- 'router.request_context.class' => 'Symfony\\Component\\Routing\\RequestContext',
- 'routing.loader.class' => 'Symfony\\Bundle\\FrameworkBundle\\Routing\\DelegatingLoader',
- 'routing.resolver.class' => 'Symfony\\Component\\Config\\Loader\\LoaderResolver',
- 'routing.loader.xml.class' => 'Symfony\\Component\\Routing\\Loader\\XmlFileLoader',
- 'routing.loader.yml.class' => 'Symfony\\Component\\Routing\\Loader\\YamlFileLoader',
- 'routing.loader.php.class' => 'Symfony\\Component\\Routing\\Loader\\PhpFileLoader',
- 'router.options.generator_class' => 'Symfony\\Component\\Routing\\Generator\\UrlGenerator',
- 'router.options.generator_base_class' => 'Symfony\\Component\\Routing\\Generator\\UrlGenerator',
- 'router.options.generator_dumper_class' => 'Symfony\\Component\\Routing\\Generator\\Dumper\\PhpGeneratorDumper',
- 'router.options.matcher_class' => 'Symfony\\Bundle\\FrameworkBundle\\Routing\\RedirectableUrlMatcher',
- 'router.options.matcher_base_class' => 'Symfony\\Bundle\\FrameworkBundle\\Routing\\RedirectableUrlMatcher',
- 'router.options.matcher_dumper_class' => 'Symfony\\Component\\Routing\\Matcher\\Dumper\\PhpMatcherDumper',
- 'router.cache_warmer.class' => 'Symfony\\Bundle\\FrameworkBundle\\CacheWarmer\\RouterCacheWarmer',
- 'router.options.matcher.cache_class' => 'appdevUrlMatcher',
- 'router.options.generator.cache_class' => 'appdevUrlGenerator',
- 'router_listener.class' => 'Symfony\\Component\\HttpKernel\\EventListener\\RouterListener',
- 'router.request_context.host' => 'localhost',
- 'router.request_context.scheme' => 'http',
- 'router.request_context.base_url' => '',
- 'router.resource' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/assetic/routing.yml',
- 'request_listener.http_port' => 80,
- 'request_listener.https_port' => 443,
- 'annotations.reader.class' => 'Doctrine\\Common\\Annotations\\AnnotationReader',
- 'annotations.cached_reader.class' => 'Doctrine\\Common\\Annotations\\CachedReader',
- 'annotations.file_cache_reader.class' => 'Doctrine\\Common\\Annotations\\FileCacheReader',
- 'security.context.class' => 'Symfony\\Component\\Security\\Core\\SecurityContext',
- 'security.user_checker.class' => 'Symfony\\Component\\Security\\Core\\User\\UserChecker',
- 'security.encoder_factory.generic.class' => 'Symfony\\Component\\Security\\Core\\Encoder\\EncoderFactory',
- 'security.encoder.digest.class' => 'Symfony\\Component\\Security\\Core\\Encoder\\MessageDigestPasswordEncoder',
- 'security.encoder.plain.class' => 'Symfony\\Component\\Security\\Core\\Encoder\\PlaintextPasswordEncoder',
- 'security.encoder.pbkdf2.class' => 'Symfony\\Component\\Security\\Core\\Encoder\\Pbkdf2PasswordEncoder',
- 'security.encoder.bcrypt.class' => 'Symfony\\Component\\Security\\Core\\Encoder\\BCryptPasswordEncoder',
- 'security.user.provider.in_memory.class' => 'Symfony\\Component\\Security\\Core\\User\\InMemoryUserProvider',
- 'security.user.provider.in_memory.user.class' => 'Symfony\\Component\\Security\\Core\\User\\User',
- 'security.user.provider.chain.class' => 'Symfony\\Component\\Security\\Core\\User\\ChainUserProvider',
- 'security.authentication.trust_resolver.class' => 'Symfony\\Component\\Security\\Core\\Authentication\\AuthenticationTrustResolver',
- 'security.authentication.trust_resolver.anonymous_class' => 'Symfony\\Component\\Security\\Core\\Authentication\\Token\\AnonymousToken',
- 'security.authentication.trust_resolver.rememberme_class' => 'Symfony\\Component\\Security\\Core\\Authentication\\Token\\RememberMeToken',
- 'security.authentication.manager.class' => 'Symfony\\Component\\Security\\Core\\Authentication\\AuthenticationProviderManager',
- 'security.authentication.session_strategy.class' => 'Symfony\\Component\\Security\\Http\\Session\\SessionAuthenticationStrategy',
- 'security.access.decision_manager.class' => 'Symfony\\Component\\Security\\Core\\Authorization\\AccessDecisionManager',
- 'security.access.simple_role_voter.class' => 'Symfony\\Component\\Security\\Core\\Authorization\\Voter\\RoleVoter',
- 'security.access.authenticated_voter.class' => 'Symfony\\Component\\Security\\Core\\Authorization\\Voter\\AuthenticatedVoter',
- 'security.access.role_hierarchy_voter.class' => 'Symfony\\Component\\Security\\Core\\Authorization\\Voter\\RoleHierarchyVoter',
- 'security.firewall.class' => 'Symfony\\Component\\Security\\Http\\Firewall',
- 'security.firewall.map.class' => 'Symfony\\Bundle\\SecurityBundle\\Security\\FirewallMap',
- 'security.firewall.context.class' => 'Symfony\\Bundle\\SecurityBundle\\Security\\FirewallContext',
- 'security.matcher.class' => 'Symfony\\Component\\HttpFoundation\\RequestMatcher',
- 'security.role_hierarchy.class' => 'Symfony\\Component\\Security\\Core\\Role\\RoleHierarchy',
- 'security.http_utils.class' => 'Symfony\\Component\\Security\\Http\\HttpUtils',
- 'security.validator.user_password.class' => 'Symfony\\Component\\Security\\Core\\Validator\\Constraints\\UserPasswordValidator',
- 'security.authentication.retry_entry_point.class' => 'Symfony\\Component\\Security\\Http\\EntryPoint\\RetryAuthenticationEntryPoint',
- 'security.channel_listener.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\ChannelListener',
- 'security.authentication.form_entry_point.class' => 'Symfony\\Component\\Security\\Http\\EntryPoint\\FormAuthenticationEntryPoint',
- 'security.authentication.listener.form.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\UsernamePasswordFormAuthenticationListener',
- 'security.authentication.listener.basic.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\BasicAuthenticationListener',
- 'security.authentication.basic_entry_point.class' => 'Symfony\\Component\\Security\\Http\\EntryPoint\\BasicAuthenticationEntryPoint',
- 'security.authentication.listener.digest.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\DigestAuthenticationListener',
- 'security.authentication.digest_entry_point.class' => 'Symfony\\Component\\Security\\Http\\EntryPoint\\DigestAuthenticationEntryPoint',
- 'security.authentication.listener.x509.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\X509AuthenticationListener',
- 'security.authentication.listener.anonymous.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\AnonymousAuthenticationListener',
- 'security.authentication.switchuser_listener.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\SwitchUserListener',
- 'security.logout_listener.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\LogoutListener',
- 'security.logout.handler.session.class' => 'Symfony\\Component\\Security\\Http\\Logout\\SessionLogoutHandler',
- 'security.logout.handler.cookie_clearing.class' => 'Symfony\\Component\\Security\\Http\\Logout\\CookieClearingLogoutHandler',
- 'security.logout.success_handler.class' => 'Symfony\\Component\\Security\\Http\\Logout\\DefaultLogoutSuccessHandler',
- 'security.access_listener.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\AccessListener',
- 'security.access_map.class' => 'Symfony\\Component\\Security\\Http\\AccessMap',
- 'security.exception_listener.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\ExceptionListener',
- 'security.context_listener.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\ContextListener',
- 'security.authentication.provider.dao.class' => 'Symfony\\Component\\Security\\Core\\Authentication\\Provider\\DaoAuthenticationProvider',
- 'security.authentication.provider.pre_authenticated.class' => 'Symfony\\Component\\Security\\Core\\Authentication\\Provider\\PreAuthenticatedAuthenticationProvider',
- 'security.authentication.provider.anonymous.class' => 'Symfony\\Component\\Security\\Core\\Authentication\\Provider\\AnonymousAuthenticationProvider',
- 'security.authentication.success_handler.class' => 'Symfony\\Component\\Security\\Http\\Authentication\\DefaultAuthenticationSuccessHandler',
- 'security.authentication.failure_handler.class' => 'Symfony\\Component\\Security\\Http\\Authentication\\DefaultAuthenticationFailureHandler',
- 'security.authentication.provider.rememberme.class' => 'Symfony\\Component\\Security\\Core\\Authentication\\Provider\\RememberMeAuthenticationProvider',
- 'security.authentication.listener.rememberme.class' => 'Symfony\\Component\\Security\\Http\\Firewall\\RememberMeListener',
- 'security.rememberme.token.provider.in_memory.class' => 'Symfony\\Component\\Security\\Core\\Authentication\\RememberMe\\InMemoryTokenProvider',
- 'security.authentication.rememberme.services.persistent.class' => 'Symfony\\Component\\Security\\Http\\RememberMe\\PersistentTokenBasedRememberMeServices',
- 'security.authentication.rememberme.services.simplehash.class' => 'Symfony\\Component\\Security\\Http\\RememberMe\\TokenBasedRememberMeServices',
- 'security.rememberme.response_listener.class' => 'Symfony\\Component\\Security\\Http\\RememberMe\\ResponseListener',
- 'templating.helper.logout_url.class' => 'Symfony\\Bundle\\SecurityBundle\\Templating\\Helper\\LogoutUrlHelper',
- 'templating.helper.security.class' => 'Symfony\\Bundle\\SecurityBundle\\Templating\\Helper\\SecurityHelper',
- 'twig.extension.logout_url.class' => 'Symfony\\Bundle\\SecurityBundle\\Twig\\Extension\\LogoutUrlExtension',
- 'twig.extension.security.class' => 'Symfony\\Bridge\\Twig\\Extension\\SecurityExtension',
- 'data_collector.security.class' => 'Symfony\\Bundle\\SecurityBundle\\DataCollector\\SecurityDataCollector',
- 'security.access.denied_url' => NULL,
- 'security.authentication.manager.erase_credentials' => true,
- 'security.authentication.session_strategy.strategy' => 'migrate',
- 'security.access.always_authenticate_before_granting' => false,
- 'security.authentication.hide_user_not_found' => true,
- 'security.role_hierarchy.roles' => array(
- 'ROLE_ADMIN' => array(
- 0 => 'ROLE_USER',
- ),
- 'ROLE_SUPER_ADMIN' => array(
- 0 => 'ROLE_USER',
- 1 => 'ROLE_ADMIN',
- 2 => 'ROLE_ALLOWED_TO_SWITCH',
- ),
- ),
- 'twig.class' => 'Twig_Environment',
- 'twig.loader.filesystem.class' => 'Symfony\\Bundle\\TwigBundle\\Loader\\FilesystemLoader',
- 'twig.loader.chain.class' => 'Twig_Loader_Chain',
- 'templating.engine.twig.class' => 'Symfony\\Bundle\\TwigBundle\\TwigEngine',
- 'twig.cache_warmer.class' => 'Symfony\\Bundle\\TwigBundle\\CacheWarmer\\TemplateCacheCacheWarmer',
- 'twig.extension.trans.class' => 'Symfony\\Bridge\\Twig\\Extension\\TranslationExtension',
- 'twig.extension.assets.class' => 'Symfony\\Bundle\\TwigBundle\\Extension\\AssetsExtension',
- 'twig.extension.actions.class' => 'Symfony\\Bundle\\TwigBundle\\Extension\\ActionsExtension',
- 'twig.extension.code.class' => 'Symfony\\Bridge\\Twig\\Extension\\CodeExtension',
- 'twig.extension.routing.class' => 'Symfony\\Bridge\\Twig\\Extension\\RoutingExtension',
- 'twig.extension.yaml.class' => 'Symfony\\Bridge\\Twig\\Extension\\YamlExtension',
- 'twig.extension.form.class' => 'Symfony\\Bridge\\Twig\\Extension\\FormExtension',
- 'twig.extension.httpkernel.class' => 'Symfony\\Bridge\\Twig\\Extension\\HttpKernelExtension',
- 'twig.form.engine.class' => 'Symfony\\Bridge\\Twig\\Form\\TwigRendererEngine',
- 'twig.form.renderer.class' => 'Symfony\\Bridge\\Twig\\Form\\TwigRenderer',
- 'twig.translation.extractor.class' => 'Symfony\\Bridge\\Twig\\Translation\\TwigExtractor',
- 'twig.exception_listener.class' => 'Symfony\\Component\\HttpKernel\\EventListener\\ExceptionListener',
- 'twig.controller.exception.class' => 'Symfony\\Bundle\\TwigBundle\\Controller\\ExceptionController',
- 'twig.exception_listener.controller' => 'twig.controller.exception:showAction',
- 'twig.form.resources' => array(
- 0 => 'form_div_layout.html.twig',
- ),
- 'twig.options' => 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(
- ),
- ),
- 'debug.templating.engine.twig.class' => 'Symfony\\Bundle\\TwigBundle\\Debug\\TimedTwigEngine',
- 'monolog.logger.class' => 'Symfony\\Bridge\\Monolog\\Logger',
- 'monolog.gelf.publisher.class' => 'Gelf\\MessagePublisher',
- 'monolog.handler.stream.class' => 'Monolog\\Handler\\StreamHandler',
- 'monolog.handler.group.class' => 'Monolog\\Handler\\GroupHandler',
- 'monolog.handler.buffer.class' => 'Monolog\\Handler\\BufferHandler',
- 'monolog.handler.rotating_file.class' => 'Monolog\\Handler\\RotatingFileHandler',
- 'monolog.handler.syslog.class' => 'Monolog\\Handler\\SyslogHandler',
- 'monolog.handler.null.class' => 'Monolog\\Handler\\NullHandler',
- 'monolog.handler.test.class' => 'Monolog\\Handler\\TestHandler',
- 'monolog.handler.gelf.class' => 'Monolog\\Handler\\GelfHandler',
- 'monolog.handler.firephp.class' => 'Symfony\\Bridge\\Monolog\\Handler\\FirePHPHandler',
- 'monolog.handler.chromephp.class' => 'Symfony\\Bridge\\Monolog\\Handler\\ChromePhpHandler',
- 'monolog.handler.debug.class' => 'Symfony\\Bridge\\Monolog\\Handler\\DebugHandler',
- 'monolog.handler.swift_mailer.class' => 'Monolog\\Handler\\SwiftMailerHandler',
- 'monolog.handler.native_mailer.class' => 'Monolog\\Handler\\NativeMailerHandler',
- 'monolog.handler.socket.class' => 'Monolog\\Handler\\SocketHandler',
- 'monolog.handler.pushover.class' => 'Monolog\\Handler\\PushoverHandler',
- 'monolog.handler.fingers_crossed.class' => 'Monolog\\Handler\\FingersCrossedHandler',
- 'monolog.handler.fingers_crossed.error_level_activation_strategy.class' => 'Monolog\\Handler\\FingersCrossed\\ErrorLevelActivationStrategy',
- 'monolog.handlers_to_channels' => array(
- 'monolog.handler.chromephp' => NULL,
- 'monolog.handler.firephp' => NULL,
- 'monolog.handler.main' => NULL,
- ),
- 'swiftmailer.class' => 'Swift_Mailer',
- 'swiftmailer.transport.sendmail.class' => 'Swift_Transport_SendmailTransport',
- 'swiftmailer.transport.mail.class' => 'Swift_Transport_MailTransport',
- 'swiftmailer.transport.failover.class' => 'Swift_Transport_FailoverTransport',
- 'swiftmailer.plugin.redirecting.class' => 'Swift_Plugins_RedirectingPlugin',
- 'swiftmailer.plugin.impersonate.class' => 'Swift_Plugins_ImpersonatePlugin',
- 'swiftmailer.plugin.messagelogger.class' => 'Swift_Plugins_MessageLogger',
- 'swiftmailer.plugin.antiflood.class' => 'Swift_Plugins_AntiFloodPlugin',
- 'swiftmailer.plugin.antiflood.threshold' => 99,
- 'swiftmailer.plugin.antiflood.sleep' => 0,
- 'swiftmailer.data_collector.class' => 'Symfony\\Bridge\\Swiftmailer\\DataCollector\\MessageDataCollector',
- 'swiftmailer.transport.smtp.class' => 'Swift_Transport_EsmtpTransport',
- 'swiftmailer.transport.smtp.encryption' => NULL,
- 'swiftmailer.transport.smtp.port' => 25,
- 'swiftmailer.transport.smtp.host' => '127.0.0.1',
- 'swiftmailer.transport.smtp.username' => NULL,
- 'swiftmailer.transport.smtp.password' => NULL,
- 'swiftmailer.transport.smtp.auth_mode' => NULL,
- 'swiftmailer.transport.smtp.timeout' => 30,
- 'swiftmailer.transport.smtp.source_ip' => NULL,
- 'swiftmailer.plugin.blackhole.class' => 'Swift_Plugins_BlackholePlugin',
- 'swiftmailer.spool.memory.class' => 'Swift_MemorySpool',
- 'swiftmailer.email_sender.listener.class' => 'Symfony\\Bundle\\SwiftmailerBundle\\EventListener\\EmailSenderListener',
- 'swiftmailer.spool.memory.path' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/swiftmailer/spool',
- 'swiftmailer.spool.enabled' => true,
- 'swiftmailer.sender_address' => NULL,
- 'swiftmailer.single_address' => NULL,
- 'swiftmailer.delivery_whitelist' => array(
- ),
- 'assetic.asset_factory.class' => 'Symfony\\Bundle\\AsseticBundle\\Factory\\AssetFactory',
- 'assetic.asset_manager.class' => 'Assetic\\Factory\\LazyAssetManager',
- 'assetic.asset_manager_cache_warmer.class' => 'Symfony\\Bundle\\AsseticBundle\\CacheWarmer\\AssetManagerCacheWarmer',
- 'assetic.cached_formula_loader.class' => 'Assetic\\Factory\\Loader\\CachedFormulaLoader',
- 'assetic.config_cache.class' => 'Assetic\\Cache\\ConfigCache',
- 'assetic.config_loader.class' => 'Symfony\\Bundle\\AsseticBundle\\Factory\\Loader\\ConfigurationLoader',
- 'assetic.config_resource.class' => 'Symfony\\Bundle\\AsseticBundle\\Factory\\Resource\\ConfigurationResource',
- 'assetic.coalescing_directory_resource.class' => 'Symfony\\Bundle\\AsseticBundle\\Factory\\Resource\\CoalescingDirectoryResource',
- 'assetic.directory_resource.class' => 'Symfony\\Bundle\\AsseticBundle\\Factory\\Resource\\DirectoryResource',
- 'assetic.filter_manager.class' => 'Symfony\\Bundle\\AsseticBundle\\FilterManager',
- 'assetic.worker.ensure_filter.class' => 'Assetic\\Factory\\Worker\\EnsureFilterWorker',
- 'assetic.value_supplier.class' => 'Symfony\\Bundle\\AsseticBundle\\DefaultValueSupplier',
- 'assetic.node.paths' => array(
- ),
- 'assetic.cache_dir' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/assetic',
- 'assetic.bundles' => array(
- ),
- 'assetic.twig_extension.class' => 'Symfony\\Bundle\\AsseticBundle\\Twig\\AsseticExtension',
- 'assetic.twig_formula_loader.class' => 'Assetic\\Extension\\Twig\\TwigFormulaLoader',
- 'assetic.helper.dynamic.class' => 'Symfony\\Bundle\\AsseticBundle\\Templating\\DynamicAsseticHelper',
- 'assetic.helper.static.class' => 'Symfony\\Bundle\\AsseticBundle\\Templating\\StaticAsseticHelper',
- 'assetic.php_formula_loader.class' => 'Symfony\\Bundle\\AsseticBundle\\Factory\\Loader\\AsseticHelperFormulaLoader',
- 'assetic.debug' => true,
- 'assetic.use_controller' => true,
- 'assetic.enable_profiler' => false,
- 'assetic.read_from' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/../web',
- 'assetic.write_to' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/../web',
- 'assetic.variables' => array(
- ),
- 'assetic.java.bin' => '/usr/bin/java',
- 'assetic.node.bin' => '/usr/local/bin/node',
- 'assetic.ruby.bin' => '/usr/bin/ruby',
- 'assetic.sass.bin' => '/usr/bin/sass',
- 'assetic.filter.cssrewrite.class' => 'Assetic\\Filter\\CssRewriteFilter',
- 'assetic.twig_extension.functions' => array(
- ),
- 'assetic.controller.class' => 'Symfony\\Bundle\\AsseticBundle\\Controller\\AsseticController',
- 'assetic.routing_loader.class' => 'Symfony\\Bundle\\AsseticBundle\\Routing\\AsseticLoader',
- 'assetic.cache.class' => 'Assetic\\Cache\\FilesystemCache',
- 'assetic.use_controller_worker.class' => 'Symfony\\Bundle\\AsseticBundle\\Factory\\Worker\\UseControllerWorker',
- 'assetic.request_listener.class' => 'Symfony\\Bundle\\AsseticBundle\\EventListener\\RequestListener',
- 'doctrine.dbal.logger.chain.class' => 'Doctrine\\DBAL\\Logging\\LoggerChain',
- 'doctrine.dbal.logger.profiling.class' => 'Doctrine\\DBAL\\Logging\\DebugStack',
- 'doctrine.dbal.logger.class' => 'Symfony\\Bridge\\Doctrine\\Logger\\DbalLogger',
- 'doctrine.dbal.configuration.class' => 'Doctrine\\DBAL\\Configuration',
- 'doctrine.data_collector.class' => 'Doctrine\\Bundle\\DoctrineBundle\\DataCollector\\DoctrineDataCollector',
- 'doctrine.dbal.connection.event_manager.class' => 'Symfony\\Bridge\\Doctrine\\ContainerAwareEventManager',
- 'doctrine.dbal.connection_factory.class' => 'Doctrine\\Bundle\\DoctrineBundle\\ConnectionFactory',
- 'doctrine.dbal.events.mysql_session_init.class' => 'Doctrine\\DBAL\\Event\\Listeners\\MysqlSessionInit',
- 'doctrine.dbal.events.oracle_session_init.class' => 'Doctrine\\DBAL\\Event\\Listeners\\OracleSessionInit',
- 'doctrine.class' => 'Doctrine\\Bundle\\DoctrineBundle\\Registry',
- 'doctrine.entity_managers' => array(
- 'default' => 'doctrine.orm.default_entity_manager',
- ),
- 'doctrine.default_entity_manager' => 'default',
- 'doctrine.dbal.connection_factory.types' => array(
- ),
- 'doctrine.connections' => array(
- 'default' => 'doctrine.dbal.default_connection',
- ),
- 'doctrine.default_connection' => 'default',
- 'doctrine.orm.configuration.class' => 'Doctrine\\ORM\\Configuration',
- 'doctrine.orm.entity_manager.class' => 'Doctrine\\ORM\\EntityManager',
- 'doctrine.orm.manager_configurator.class' => 'Doctrine\\Bundle\\DoctrineBundle\\ManagerConfigurator',
- 'doctrine.orm.cache.array.class' => 'Doctrine\\Common\\Cache\\ArrayCache',
- 'doctrine.orm.cache.apc.class' => 'Doctrine\\Common\\Cache\\ApcCache',
- 'doctrine.orm.cache.memcache.class' => 'Doctrine\\Common\\Cache\\MemcacheCache',
- 'doctrine.orm.cache.memcache_host' => 'localhost',
- 'doctrine.orm.cache.memcache_port' => 11211,
- 'doctrine.orm.cache.memcache_instance.class' => 'Memcache',
- 'doctrine.orm.cache.memcached.class' => 'Doctrine\\Common\\Cache\\MemcachedCache',
- 'doctrine.orm.cache.memcached_host' => 'localhost',
- 'doctrine.orm.cache.memcached_port' => 11211,
- 'doctrine.orm.cache.memcached_instance.class' => 'Memcached',
- 'doctrine.orm.cache.redis.class' => 'Doctrine\\Common\\Cache\\RedisCache',
- 'doctrine.orm.cache.redis_host' => 'localhost',
- 'doctrine.orm.cache.redis_port' => 6379,
- 'doctrine.orm.cache.redis_instance.class' => 'Redis',
- 'doctrine.orm.cache.xcache.class' => 'Doctrine\\Common\\Cache\\XcacheCache',
- 'doctrine.orm.cache.wincache.class' => 'Doctrine\\Common\\Cache\\WinCacheCache',
- 'doctrine.orm.cache.zenddata.class' => 'Doctrine\\Common\\Cache\\ZendDataCache',
- 'doctrine.orm.metadata.driver_chain.class' => 'Doctrine\\ORM\\Mapping\\Driver\\DriverChain',
- 'doctrine.orm.metadata.annotation.class' => 'Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver',
- 'doctrine.orm.metadata.xml.class' => 'Doctrine\\ORM\\Mapping\\Driver\\SimplifiedXmlDriver',
- 'doctrine.orm.metadata.yml.class' => 'Doctrine\\ORM\\Mapping\\Driver\\SimplifiedYamlDriver',
- 'doctrine.orm.metadata.php.class' => 'Doctrine\\ORM\\Mapping\\Driver\\PHPDriver',
- 'doctrine.orm.metadata.staticphp.class' => 'Doctrine\\ORM\\Mapping\\Driver\\StaticPHPDriver',
- 'doctrine.orm.proxy_cache_warmer.class' => 'Symfony\\Bridge\\Doctrine\\CacheWarmer\\ProxyCacheWarmer',
- 'form.type_guesser.doctrine.class' => 'Symfony\\Bridge\\Doctrine\\Form\\DoctrineOrmTypeGuesser',
- 'doctrine.orm.validator.unique.class' => 'Symfony\\Bridge\\Doctrine\\Validator\\Constraints\\UniqueEntityValidator',
- 'doctrine.orm.validator_initializer.class' => 'Symfony\\Bridge\\Doctrine\\Validator\\DoctrineInitializer',
- 'doctrine.orm.security.user.provider.class' => 'Symfony\\Bridge\\Doctrine\\Security\\User\\EntityUserProvider',
- 'doctrine.orm.listeners.resolve_target_entity.class' => 'Doctrine\\ORM\\Tools\\ResolveTargetEntityListener',
- 'doctrine.orm.naming_strategy.default.class' => 'Doctrine\\ORM\\Mapping\\DefaultNamingStrategy',
- 'doctrine.orm.naming_strategy.underscore.class' => 'Doctrine\\ORM\\Mapping\\UnderscoreNamingStrategy',
- 'doctrine.orm.auto_generate_proxy_classes' => true,
- 'doctrine.orm.proxy_dir' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/doctrine/orm/Proxies',
- 'doctrine.orm.proxy_namespace' => 'Proxies',
- 'sensio_framework_extra.view.guesser.class' => 'Sensio\\Bundle\\FrameworkExtraBundle\\Templating\\TemplateGuesser',
- 'sensio_framework_extra.controller.listener.class' => 'Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\ControllerListener',
- 'sensio_framework_extra.routing.loader.annot_dir.class' => 'Symfony\\Component\\Routing\\Loader\\AnnotationDirectoryLoader',
- 'sensio_framework_extra.routing.loader.annot_file.class' => 'Symfony\\Component\\Routing\\Loader\\AnnotationFileLoader',
- 'sensio_framework_extra.routing.loader.annot_class.class' => 'Sensio\\Bundle\\FrameworkExtraBundle\\Routing\\AnnotatedRouteControllerLoader',
- 'sensio_framework_extra.converter.listener.class' => 'Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\ParamConverterListener',
- 'sensio_framework_extra.converter.manager.class' => 'Sensio\\Bundle\\FrameworkExtraBundle\\Request\\ParamConverter\\ParamConverterManager',
- 'sensio_framework_extra.converter.doctrine.class' => 'Sensio\\Bundle\\FrameworkExtraBundle\\Request\\ParamConverter\\DoctrineParamConverter',
- 'sensio_framework_extra.converter.datetime.class' => 'Sensio\\Bundle\\FrameworkExtraBundle\\Request\\ParamConverter\\DateTimeParamConverter',
- 'sensio_framework_extra.view.listener.class' => 'Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\TemplateListener',
- 'jms_aop.cache_dir' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/jms_aop',
- 'jms_aop.interceptor_loader.class' => 'JMS\\AopBundle\\Aop\\InterceptorLoader',
- 'jms_di_extra.metadata.driver.annotation_driver.class' => 'JMS\\DiExtraBundle\\Metadata\\Driver\\AnnotationDriver',
- 'jms_di_extra.metadata.driver.configured_controller_injections.class' => 'JMS\\DiExtraBundle\\Metadata\\Driver\\ConfiguredControllerInjectionsDriver',
- 'jms_di_extra.metadata.driver.lazy_loading_driver.class' => 'Metadata\\Driver\\LazyLoadingDriver',
- 'jms_di_extra.metadata.metadata_factory.class' => 'Metadata\\MetadataFactory',
- 'jms_di_extra.metadata.cache.file_cache.class' => 'Metadata\\Cache\\FileCache',
- 'jms_di_extra.metadata.converter.class' => 'JMS\\DiExtraBundle\\Metadata\\MetadataConverter',
- 'jms_di_extra.controller_resolver.class' => 'JMS\\DiExtraBundle\\HttpKernel\\ControllerResolver',
- 'jms_di_extra.controller_injectors_warmer.class' => 'JMS\\DiExtraBundle\\HttpKernel\\ControllerInjectorsWarmer',
- 'jms_di_extra.all_bundles' => false,
- 'jms_di_extra.bundles' => array(
- ),
- 'jms_di_extra.directories' => array(
- ),
- 'jms_di_extra.cache_dir' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/jms_diextra',
- 'jms_di_extra.disable_grep' => false,
- 'jms_di_extra.doctrine_integration' => true,
- 'jms_di_extra.cache_warmer.controller_file_blacklist' => array(
- ),
- 'jms_di_extra.doctrine_integration.entity_manager.file' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/jms_diextra/doctrine/EntityManager_5162b07e2cbb0.php',
- 'jms_di_extra.doctrine_integration.entity_manager.class' => 'EntityManager5162b07e2cbb0_546a8d27f194334ee012bfe64f629947b07e4919\\__CG__\\Doctrine\\ORM\\EntityManager',
- 'security.secured_services' => array(
- ),
- 'security.access.method_interceptor.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\Interception\\MethodSecurityInterceptor',
- 'security.access.method_access_control' => array(
- ),
- 'security.access.remembering_access_decision_manager.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\RememberingAccessDecisionManager',
- 'security.access.run_as_manager.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\RunAsManager',
- 'security.authentication.provider.run_as.class' => 'JMS\\SecurityExtraBundle\\Security\\Authentication\\Provider\\RunAsAuthenticationProvider',
- 'security.run_as.key' => 'RunAsToken',
- 'security.run_as.role_prefix' => 'ROLE_',
- 'security.access.after_invocation_manager.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\AfterInvocation\\AfterInvocationManager',
- 'security.access.after_invocation.acl_provider.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\AfterInvocation\\AclAfterInvocationProvider',
- 'security.access.iddqd_voter.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\Voter\\IddqdVoter',
- 'security.extra.metadata_factory.class' => 'Metadata\\MetadataFactory',
- 'security.extra.lazy_loading_driver.class' => 'Metadata\\Driver\\LazyLoadingDriver',
- 'security.extra.driver_chain.class' => 'Metadata\\Driver\\DriverChain',
- 'security.extra.annotation_driver.class' => 'JMS\\SecurityExtraBundle\\Metadata\\Driver\\AnnotationDriver',
- 'security.extra.file_cache.class' => 'Metadata\\Cache\\FileCache',
- 'security.access.secure_all_services' => false,
- 'security.extra.cache_dir' => '/opt/local/apache2/htdocs/Symfony2-RESTAPI/app/cache/dev/jms_security',
- 'security.acl.permission_evaluator.class' => 'JMS\\SecurityExtraBundle\\Security\\Acl\\Expression\\PermissionEvaluator',
- 'security.acl.has_permission_compiler.class' => 'JMS\\SecurityExtraBundle\\Security\\Acl\\Expression\\HasPermissionFunctionCompiler',
- 'security.expressions.voter.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\Expression\\LazyLoadingExpressionVoter',
- 'security.expressions.handler.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\Expression\\ContainerAwareExpressionHandler',
- 'security.expressions.compiler.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\Expression\\ExpressionCompiler',
- 'security.expressions.expression.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\Expression\\Expression',
- 'security.expressions.variable_compiler.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\Expression\\Compiler\\ContainerAwareVariableCompiler',
- 'security.expressions.parameter_compiler.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\Expression\\Compiler\\ParameterExpressionCompiler',
- 'security.expressions.reverse_interpreter.class' => 'JMS\\SecurityExtraBundle\\Security\\Authorization\\Expression\\ReverseInterpreter',
- 'security.extra.config_driver.class' => 'JMS\\SecurityExtraBundle\\Metadata\\Driver\\ConfigDriver',
- 'security.extra.twig_extension.class' => 'JMS\\SecurityExtraBundle\\Twig\\SecurityExtension',
- 'security.authenticated_voter.disabled' => false,
- 'security.role_voter.disabled' => false,
- 'security.acl_voter.disabled' => false,
- 'security.extra.iddqd_ignore_roles' => array(
- 0 => 'ROLE_PREVIOUS_ADMIN',
- ),
- 'security.iddqd_aliases' => array(
- ),
- 'web_profiler.controller.profiler.class' => 'Symfony\\Bundle\\WebProfilerBundle\\Controller\\ProfilerController',
- 'web_profiler.controller.router.class' => 'Symfony\\Bundle\\WebProfilerBundle\\Controller\\RouterController',
- 'web_profiler.controller.exception.class' => 'Symfony\\Bundle\\WebProfilerBundle\\Controller\\ExceptionController',
- 'web_profiler.debug_toolbar.class' => 'Symfony\\Bundle\\WebProfilerBundle\\EventListener\\WebDebugToolbarListener',
- 'web_profiler.debug_toolbar.intercept_redirects' => false,
- 'web_profiler.debug_toolbar.mode' => 2,
- 'web_profiler.debug_toolbar.position' => 'bottom',
- 'sensio.distribution.webconfigurator.class' => 'Sensio\\Bundle\\DistributionBundle\\Configurator\\Configurator',
- 'data_collector.templates' => 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',
- ),
- ),
- );
- }
- }