/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
Large files are truncated click here to view the full 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.
- *…