/app/cache/prod/appProdProjectContainer.php
PHP | 994 lines | 994 code | 0 blank | 0 comment | 4 complexity | d7622c936c51096eca78b8aa5030f036 MD5 | raw file
Large files files are truncated, but you can click here to view the full file
- <?php
- use Symfony\Component\DependencyInjection\ContainerInterface;
- use Symfony\Component\DependencyInjection\Container;
- use Symfony\Component\DependencyInjection\Exception\InactiveScopeException;
- use Symfony\Component\DependencyInjection\Reference;
- use Symfony\Component\DependencyInjection\Parameter;
- use Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag;
- class appProdProjectContainer extends Container
- {
- 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());
- }
- protected function getAnnotationReaderService()
- {
- return $this->services['annotation_reader'] = new \Doctrine\Common\Annotations\FileCacheReader(new \Doctrine\Common\Annotations\AnnotationReader(), '/Users/lenybernard/Workspace/labo/anakin/app/cache/prod/annotations', false);
- }
- protected function getAssetic_AssetManagerService()
- {
- $a = $this->get('templating.loader');
- $this->services['assetic.asset_manager'] = $instance = new \Assetic\Factory\LazyAssetManager($this->get('assetic.asset_factory'), array('twig' => new \Assetic\Factory\Loader\CachedFormulaLoader(new \Assetic\Extension\Twig\TwigFormulaLoader($this->get('twig')), new \Assetic\Cache\ConfigCache('/Users/lenybernard/Workspace/labo/anakin/app/cache/prod/assetic/config'), false)));
- $instance->addResource(new \Symfony\Bundle\AsseticBundle\Factory\Resource\CoalescingDirectoryResource(array(0 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'FrameworkBundle', '/Users/lenybernard/Workspace/labo/anakin/app/Resources/FrameworkBundle/views', '/\\.[^.]+\\.twig$/'), 1 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'FrameworkBundle', '/Users/lenybernard/Workspace/labo/anakin/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/views', '/\\.[^.]+\\.twig$/'))), 'twig');
- $instance->addResource(new \Symfony\Bundle\AsseticBundle\Factory\Resource\CoalescingDirectoryResource(array(0 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'SecurityBundle', '/Users/lenybernard/Workspace/labo/anakin/app/Resources/SecurityBundle/views', '/\\.[^.]+\\.twig$/'), 1 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'SecurityBundle', '/Users/lenybernard/Workspace/labo/anakin/vendor/symfony/src/Symfony/Bundle/SecurityBundle/Resources/views', '/\\.[^.]+\\.twig$/'))), 'twig');
- $instance->addResource(new \Symfony\Bundle\AsseticBundle\Factory\Resource\CoalescingDirectoryResource(array(0 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'TwigBundle', '/Users/lenybernard/Workspace/labo/anakin/app/Resources/TwigBundle/views', '/\\.[^.]+\\.twig$/'), 1 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'TwigBundle', '/Users/lenybernard/Workspace/labo/anakin/vendor/symfony/src/Symfony/Bundle/TwigBundle/Resources/views', '/\\.[^.]+\\.twig$/'))), 'twig');
- $instance->addResource(new \Symfony\Bundle\AsseticBundle\Factory\Resource\CoalescingDirectoryResource(array(0 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'MonologBundle', '/Users/lenybernard/Workspace/labo/anakin/app/Resources/MonologBundle/views', '/\\.[^.]+\\.twig$/'), 1 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'MonologBundle', '/Users/lenybernard/Workspace/labo/anakin/vendor/symfony/src/Symfony/Bundle/MonologBundle/Resources/views', '/\\.[^.]+\\.twig$/'))), 'twig');
- $instance->addResource(new \Symfony\Bundle\AsseticBundle\Factory\Resource\CoalescingDirectoryResource(array(0 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'SwiftmailerBundle', '/Users/lenybernard/Workspace/labo/anakin/app/Resources/SwiftmailerBundle/views', '/\\.[^.]+\\.twig$/'), 1 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'SwiftmailerBundle', '/Users/lenybernard/Workspace/labo/anakin/vendor/symfony/src/Symfony/Bundle/SwiftmailerBundle/Resources/views', '/\\.[^.]+\\.twig$/'))), 'twig');
- $instance->addResource(new \Symfony\Bundle\AsseticBundle\Factory\Resource\CoalescingDirectoryResource(array(0 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'DoctrineBundle', '/Users/lenybernard/Workspace/labo/anakin/app/Resources/DoctrineBundle/views', '/\\.[^.]+\\.twig$/'), 1 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'DoctrineBundle', '/Users/lenybernard/Workspace/labo/anakin/vendor/symfony/src/Symfony/Bundle/DoctrineBundle/Resources/views', '/\\.[^.]+\\.twig$/'))), 'twig');
- $instance->addResource(new \Symfony\Bundle\AsseticBundle\Factory\Resource\CoalescingDirectoryResource(array(0 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'AsseticBundle', '/Users/lenybernard/Workspace/labo/anakin/app/Resources/AsseticBundle/views', '/\\.[^.]+\\.twig$/'), 1 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'AsseticBundle', '/Users/lenybernard/Workspace/labo/anakin/vendor/bundles/Symfony/Bundle/AsseticBundle/Resources/views', '/\\.[^.]+\\.twig$/'))), 'twig');
- $instance->addResource(new \Symfony\Bundle\AsseticBundle\Factory\Resource\CoalescingDirectoryResource(array(0 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'SensioFrameworkExtraBundle', '/Users/lenybernard/Workspace/labo/anakin/app/Resources/SensioFrameworkExtraBundle/views', '/\\.[^.]+\\.twig$/'), 1 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'SensioFrameworkExtraBundle', '/Users/lenybernard/Workspace/labo/anakin/vendor/bundles/Sensio/Bundle/FrameworkExtraBundle/Resources/views', '/\\.[^.]+\\.twig$/'))), 'twig');
- $instance->addResource(new \Symfony\Bundle\AsseticBundle\Factory\Resource\CoalescingDirectoryResource(array(0 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'JMSSecurityExtraBundle', '/Users/lenybernard/Workspace/labo/anakin/app/Resources/JMSSecurityExtraBundle/views', '/\\.[^.]+\\.twig$/'), 1 => new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, 'JMSSecurityExtraBundle', '/Users/lenybernard/Workspace/labo/anakin/vendor/bundles/JMS/SecurityExtraBundle/Resources/views', '/\\.[^.]+\\.twig$/'))), 'twig');
- $instance->addResource(new \Symfony\Bundle\AsseticBundle\Factory\Resource\DirectoryResource($a, '', '/Users/lenybernard/Workspace/labo/anakin/app/Resources/views', '/\\.[^.]+\\.twig$/'), 'twig');
- return $instance;
- }
- protected function getAssetic_Filter_CssrewriteService()
- {
- return $this->services['assetic.filter.cssrewrite'] = new \Assetic\Filter\CssRewriteFilter();
- }
- protected function getAssetic_FilterManagerService()
- {
- return $this->services['assetic.filter_manager'] = new \Symfony\Bundle\AsseticBundle\FilterManager($this, array('cssrewrite' => 'assetic.filter.cssrewrite'));
- }
- protected function getCacheWarmerService()
- {
- $a = $this->get('kernel');
- $b = $this->get('templating.name_parser');
- $c = new \Symfony\Bundle\FrameworkBundle\CacheWarmer\TemplateFinder($a, $b, '/Users/lenybernard/Workspace/labo/anakin/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 \Symfony\Bundle\AsseticBundle\CacheWarmer\AssetWriterCacheWarmer($this, new \Assetic\AssetWriter('/Users/lenybernard/Workspace/labo/anakin/app/../web'))));
- }
- protected function getDoctrineService()
- {
- return $this->services['doctrine'] = new \Symfony\Bundle\DoctrineBundle\Registry($this, array('default' => 'doctrine.dbal.default_connection'), array('default' => 'doctrine.orm.default_entity_manager'), 'default', 'default');
- }
- protected function getDoctrine_Dbal_ConnectionFactoryService()
- {
- return $this->services['doctrine.dbal.connection_factory'] = new \Symfony\Bundle\DoctrineBundle\ConnectionFactory(array());
- }
- protected function getDoctrine_Dbal_DefaultConnectionService()
- {
- $a = new \Doctrine\Common\EventManager();
- $a->addEventSubscriber(new \Doctrine\DBAL\Event\Listeners\MysqlSessionInit('UTF8'));
- return $this->services['doctrine.dbal.default_connection'] = $this->get('doctrine.dbal.connection_factory')->createConnection(array('dbname' => 'symfony', 'host' => 'localhost', 'port' => '', 'user' => 'root', 'password' => '', 'driver' => 'pdo_mysql', 'logging' => false, 'driverOptions' => array()), new \Doctrine\DBAL\Configuration(), $a, array());
- }
- protected function getDoctrine_Orm_DefaultEntityManagerService()
- {
- $a = new \Doctrine\Common\Cache\ArrayCache();
- $a->setNamespace('sf2orm_default_8a7f43e246fedd21bd746b5aff301dee');
- $b = new \Doctrine\Common\Cache\ArrayCache();
- $b->setNamespace('sf2orm_default_8a7f43e246fedd21bd746b5aff301dee');
- $c = new \Doctrine\Common\Cache\ArrayCache();
- $c->setNamespace('sf2orm_default_8a7f43e246fedd21bd746b5aff301dee');
- $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('/Users/lenybernard/Workspace/labo/anakin/app/cache/prod/doctrine/orm/Proxies');
- $d->setProxyNamespace('Proxies');
- $d->setAutoGenerateProxyClasses(false);
- $d->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
- return $this->services['doctrine.orm.default_entity_manager'] = call_user_func(array('Doctrine\\ORM\\EntityManager', 'create'), $this->get('doctrine.dbal.default_connection'), $d);
- }
- protected function getDoctrine_Orm_Validator_UniqueService()
- {
- return $this->services['doctrine.orm.validator.unique'] = new \Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntityValidator($this->get('doctrine'));
- }
- protected function getDoctrine_Orm_ValidatorInitializerService()
- {
- return $this->services['doctrine.orm.validator_initializer'] = new \Symfony\Bridge\Doctrine\Validator\EntityInitializer($this->get('doctrine'));
- }
- protected function getEventDispatcherService()
- {
- $this->services['event_dispatcher'] = $instance = new \Symfony\Bundle\FrameworkBundle\ContainerAwareEventDispatcher($this);
- $instance->addListenerService('kernel.request', array(0 => 'router_listener', 1 => 'onEarlyKernelRequest'), 255);
- $instance->addListenerService('kernel.request', array(0 => 'router_listener', 1 => 'onKernelRequest'), 0);
- $instance->addListenerService('kernel.response', array(0 => 'response_listener', 1 => 'onKernelResponse'), 0);
- $instance->addListenerService('kernel.request', array(0 => 'session_listener', 1 => 'onKernelRequest'), 128);
- $instance->addListenerService('kernel.request', array(0 => 'security.firewall', 1 => 'onKernelRequest'), 64);
- $instance->addListenerService('kernel.response', array(0 => 'security.rememberme.response_listener', 1 => 'onKernelResponse'), 0);
- $instance->addListenerService('kernel.exception', array(0 => 'twig.exception_listener', 1 => 'onKernelException'), -128);
- $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 => 'security.extra.controller_listener', 1 => 'onCoreController'), -255);
- return $instance;
- }
- protected function getFileLocatorService()
- {
- return $this->services['file_locator'] = new \Symfony\Component\HttpKernel\Config\FileLocator($this->get('kernel'), '/Users/lenybernard/Workspace/labo/anakin/app/Resources');
- }
- protected function getFilesystemService()
- {
- return $this->services['filesystem'] = new \Symfony\Component\Filesystem\Filesystem();
- }
- protected function getForm_CsrfProviderService()
- {
- return $this->services['form.csrf_provider'] = new \Symfony\Component\Form\Extension\Csrf\CsrfProvider\SessionCsrfProvider($this->get('session'), 'ThisTokenIsNotSoSecretChangeIt');
- }
- protected function getForm_FactoryService()
- {
- return $this->services['form.factory'] = new \Symfony\Component\Form\FormFactory(array(0 => new \Symfony\Component\Form\Extension\DependencyInjection\DependencyInjectionExtension($this, array('field' => 'form.type.field', 'form' => 'form.type.form', 'birthday' => 'form.type.birthday', 'checkbox' => 'form.type.checkbox', 'choice' => 'form.type.choice', 'collection' => 'form.type.collection', 'country' => 'form.type.country', 'date' => 'form.type.date', 'datetime' => 'form.type.datetime', 'email' => 'form.type.email', 'file' => 'form.type.file', 'hidden' => 'form.type.hidden', 'integer' => 'form.type.integer', 'language' => 'form.type.language', 'locale' => 'form.type.locale', 'money' => 'form.type.money', 'number' => 'form.type.number', 'password' => 'form.type.password', 'percent' => 'form.type.percent', 'radio' => 'form.type.radio', 'repeated' => 'form.type.repeated', 'search' => 'form.type.search', 'textarea' => 'form.type.textarea', 'text' => 'form.type.text', 'time' => 'form.type.time', 'timezone' => 'form.type.timezone', 'url' => 'form.type.url', 'csrf' => 'form.type.csrf', 'entity' => 'form.type.entity'), array('field' => array(0 => 'form.type_extension.field'), 'form' => array(0 => 'form.type_extension.csrf')), array(0 => 'form.type_guesser.validator', 1 => 'form.type_guesser.doctrine'))));
- }
- protected function getForm_Type_BirthdayService()
- {
- return $this->services['form.type.birthday'] = new \Symfony\Component\Form\Extension\Core\Type\BirthdayType();
- }
- protected function getForm_Type_CheckboxService()
- {
- return $this->services['form.type.checkbox'] = new \Symfony\Component\Form\Extension\Core\Type\CheckboxType();
- }
- protected function getForm_Type_ChoiceService()
- {
- return $this->services['form.type.choice'] = new \Symfony\Component\Form\Extension\Core\Type\ChoiceType();
- }
- protected function getForm_Type_CollectionService()
- {
- return $this->services['form.type.collection'] = new \Symfony\Component\Form\Extension\Core\Type\CollectionType();
- }
- protected function getForm_Type_CountryService()
- {
- return $this->services['form.type.country'] = new \Symfony\Component\Form\Extension\Core\Type\CountryType();
- }
- protected function getForm_Type_CsrfService()
- {
- return $this->services['form.type.csrf'] = new \Symfony\Component\Form\Extension\Csrf\Type\CsrfType($this->get('form.csrf_provider'));
- }
- protected function getForm_Type_DateService()
- {
- return $this->services['form.type.date'] = new \Symfony\Component\Form\Extension\Core\Type\DateType();
- }
- protected function getForm_Type_DatetimeService()
- {
- return $this->services['form.type.datetime'] = new \Symfony\Component\Form\Extension\Core\Type\DateTimeType();
- }
- protected function getForm_Type_EmailService()
- {
- return $this->services['form.type.email'] = new \Symfony\Component\Form\Extension\Core\Type\EmailType();
- }
- protected function getForm_Type_EntityService()
- {
- return $this->services['form.type.entity'] = new \Symfony\Bridge\Doctrine\Form\Type\EntityType($this->get('doctrine'));
- }
- protected function getForm_Type_FieldService()
- {
- return $this->services['form.type.field'] = new \Symfony\Component\Form\Extension\Core\Type\FieldType($this->get('validator'));
- }
- protected function getForm_Type_FileService()
- {
- return $this->services['form.type.file'] = new \Symfony\Component\Form\Extension\Core\Type\FileType();
- }
- protected function getForm_Type_FormService()
- {
- return $this->services['form.type.form'] = new \Symfony\Component\Form\Extension\Core\Type\FormType();
- }
- protected function getForm_Type_HiddenService()
- {
- return $this->services['form.type.hidden'] = new \Symfony\Component\Form\Extension\Core\Type\HiddenType();
- }
- protected function getForm_Type_IntegerService()
- {
- return $this->services['form.type.integer'] = new \Symfony\Component\Form\Extension\Core\Type\IntegerType();
- }
- protected function getForm_Type_LanguageService()
- {
- return $this->services['form.type.language'] = new \Symfony\Component\Form\Extension\Core\Type\LanguageType();
- }
- protected function getForm_Type_LocaleService()
- {
- return $this->services['form.type.locale'] = new \Symfony\Component\Form\Extension\Core\Type\LocaleType();
- }
- protected function getForm_Type_MoneyService()
- {
- return $this->services['form.type.money'] = new \Symfony\Component\Form\Extension\Core\Type\MoneyType();
- }
- protected function getForm_Type_NumberService()
- {
- return $this->services['form.type.number'] = new \Symfony\Component\Form\Extension\Core\Type\NumberType();
- }
- protected function getForm_Type_PasswordService()
- {
- return $this->services['form.type.password'] = new \Symfony\Component\Form\Extension\Core\Type\PasswordType();
- }
- protected function getForm_Type_PercentService()
- {
- return $this->services['form.type.percent'] = new \Symfony\Component\Form\Extension\Core\Type\PercentType();
- }
- protected function getForm_Type_RadioService()
- {
- return $this->services['form.type.radio'] = new \Symfony\Component\Form\Extension\Core\Type\RadioType();
- }
- protected function getForm_Type_RepeatedService()
- {
- return $this->services['form.type.repeated'] = new \Symfony\Component\Form\Extension\Core\Type\RepeatedType();
- }
- protected function getForm_Type_SearchService()
- {
- return $this->services['form.type.search'] = new \Symfony\Component\Form\Extension\Core\Type\SearchType();
- }
- protected function getForm_Type_TextService()
- {
- return $this->services['form.type.text'] = new \Symfony\Component\Form\Extension\Core\Type\TextType();
- }
- protected function getForm_Type_TextareaService()
- {
- return $this->services['form.type.textarea'] = new \Symfony\Component\Form\Extension\Core\Type\TextareaType();
- }
- protected function getForm_Type_TimeService()
- {
- return $this->services['form.type.time'] = new \Symfony\Component\Form\Extension\Core\Type\TimeType();
- }
- protected function getForm_Type_TimezoneService()
- {
- return $this->services['form.type.timezone'] = new \Symfony\Component\Form\Extension\Core\Type\TimezoneType();
- }
- protected function getForm_Type_UrlService()
- {
- return $this->services['form.type.url'] = new \Symfony\Component\Form\Extension\Core\Type\UrlType();
- }
- protected function getForm_TypeExtension_CsrfService()
- {
- return $this->services['form.type_extension.csrf'] = new \Symfony\Component\Form\Extension\Csrf\Type\FormTypeCsrfExtension(true, '_token');
- }
- protected function getForm_TypeExtension_FieldService()
- {
- return $this->services['form.type_extension.field'] = new \Symfony\Component\Form\Extension\Validator\Type\FieldTypeValidatorExtension($this->get('validator'));
- }
- protected function getForm_TypeGuesser_DoctrineService()
- {
- return $this->services['form.type_guesser.doctrine'] = new \Symfony\Bridge\Doctrine\Form\DoctrineOrmTypeGuesser($this->get('doctrine'));
- }
- 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'));
- }
- protected function getHttpKernelService()
- {
- return $this->services['http_kernel'] = new \Symfony\Bundle\FrameworkBundle\HttpKernel($this->get('event_dispatcher'), $this, new \Symfony\Bundle\FrameworkBundle\Controller\ControllerResolver($this, $this->get('controller_name_converter'), $this->get('monolog.logger.request')));
- }
- protected function getKernelService()
- {
- throw new \RuntimeException('You have requested a synthetic service ("kernel"). The DIC does not know how to construct this service.');
- }
- protected function getLoggerService()
- {
- $this->services['logger'] = $instance = new \Symfony\Bridge\Monolog\Logger('app');
- $instance->pushHandler($this->get('monolog.handler.main'));
- return $instance;
- }
- protected function getMailerService()
- {
- return $this->services['mailer'] = new \Swift_Mailer($this->get('swiftmailer.transport'));
- }
- protected function getMonolog_Handler_MainService()
- {
- return $this->services['monolog.handler.main'] = new \Monolog\Handler\FingersCrossedHandler($this->get('monolog.handler.nested'), 400, 0, true, true);
- }
- protected function getMonolog_Handler_NestedService()
- {
- return $this->services['monolog.handler.nested'] = new \Monolog\Handler\StreamHandler('/Users/lenybernard/Workspace/labo/anakin/app/logs/prod.log', 100, true);
- }
- protected function getMonolog_Logger_DoctrineService()
- {
- $this->services['monolog.logger.doctrine'] = $instance = new \Symfony\Bridge\Monolog\Logger('doctrine');
- $instance->pushHandler($this->get('monolog.handler.main'));
- return $instance;
- }
- protected function getMonolog_Logger_RequestService()
- {
- $this->services['monolog.logger.request'] = $instance = new \Symfony\Bridge\Monolog\Logger('request');
- $instance->pushHandler($this->get('monolog.handler.main'));
- return $instance;
- }
- protected function getMonolog_Logger_RouterService()
- {
- $this->services['monolog.logger.router'] = $instance = new \Symfony\Bridge\Monolog\Logger('router');
- $instance->pushHandler($this->get('monolog.handler.main'));
- return $instance;
- }
- protected function getMonolog_Logger_SecurityService()
- {
- $this->services['monolog.logger.security'] = $instance = new \Symfony\Bridge\Monolog\Logger('security');
- $instance->pushHandler($this->get('monolog.handler.main'));
- return $instance;
- }
- 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.');
- }
- protected function getResponseListenerService()
- {
- return $this->services['response_listener'] = new \Symfony\Component\HttpKernel\EventListener\ResponseListener('UTF-8');
- }
- protected function getRouterService()
- {
- return $this->services['router'] = new \Symfony\Bundle\FrameworkBundle\Routing\Router($this, '/Users/lenybernard/Workspace/labo/anakin/app/config/routing.yml', array('cache_dir' => '/Users/lenybernard/Workspace/labo/anakin/app/cache/prod', 'debug' => false, 'generator_class' => 'Symfony\\Component\\Routing\\Generator\\UrlGenerator', 'generator_base_class' => 'Symfony\\Component\\Routing\\Generator\\UrlGenerator', 'generator_dumper_class' => 'Symfony\\Component\\Routing\\Generator\\Dumper\\PhpGeneratorDumper', 'generator_cache_class' => 'appprodUrlGenerator', 'matcher_class' => 'Symfony\\Bundle\\FrameworkBundle\\Routing\\RedirectableUrlMatcher', 'matcher_base_class' => 'Symfony\\Bundle\\FrameworkBundle\\Routing\\RedirectableUrlMatcher', 'matcher_dumper_class' => 'Symfony\\Component\\Routing\\Matcher\\Dumper\\PhpMatcherDumper', 'matcher_cache_class' => 'appprodUrlMatcher'));
- }
- protected function getRouterListenerService()
- {
- return $this->services['router_listener'] = new \Symfony\Bundle\FrameworkBundle\EventListener\RouterListener($this->get('router'), 80, 443, $this->get('monolog.logger.request'));
- }
- 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\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);
- }
- 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('logger'));
- }
- 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);
- }
- 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))));
- }
- protected function getSecurity_Extra_ControllerListenerService()
- {
- return $this->services['security.extra.controller_listener'] = new \JMS\SecurityExtraBundle\Controller\ControllerListener($this, $this->get('annotation_reader'));
- }
- 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'));
- }
- protected function getSecurity_Firewall_Map_Context_DevService()
- {
- return $this->services['security.firewall.map.context.dev'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(), NULL);
- }
- protected function getSecurity_Firewall_Map_Context_LoginService()
- {
- return $this->services['security.firewall.map.context.login'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(), NULL);
- }
- 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('security.authentication.manager');
- $f = new \Symfony\Component\Security\Http\AccessMap();
- $g = new \Symfony\Component\Security\Http\HttpUtils($d);
- $h = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $g, '/demo/secured/logout', '/demo/', NULL);
- $h->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
- return $this->services['security.firewall.map.context.secured_area'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($f, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(80, 443), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($b, array(0 => $this->get('security.user.provider.concrete.in_memory')), 'secured_area', $a, $c), 2 => $h, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $e, new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate'), $g, 'secured_area', array('check_path' => '/demo/secured/login_check', 'login_path' => '/demo/secured/login', 'use_forward' => false, 'always_use_default_target_path' => false, 'default_target_path' => '/', 'target_path_parameter' => '_target_path', 'use_referer' => false, 'failure_path' => NULL, 'failure_forward' => false, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), NULL, NULL, $a, $c), 4 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $f, $e, $a)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $g, new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($this->get('http_kernel'), $g, '/demo/secured/login', false), NULL, NULL, $a));
- }
- protected function getSecurity_Rememberme_ResponseListenerService()
- {
- return $this->services['security.rememberme.response_listener'] = new \Symfony\Bundle\SecurityBundle\EventListener\ResponseListener();
- }
- protected function getSensioFrameworkExtra_Cache_ListenerService()
- {
- return $this->services['sensio_framework_extra.cache.listener'] = new \Sensio\Bundle\FrameworkExtraBundle\EventListener\CacheListener();
- }
- protected function getSensioFrameworkExtra_Controller_ListenerService()
- {
- return $this->services['sensio_framework_extra.controller.listener'] = new \Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener($this->get('annotation_reader'));
- }
- 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'));
- }
- 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'));
- }
- 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);
- return $instance;
- }
- protected function getSensioFrameworkExtra_View_ListenerService()
- {
- return $this->services['sensio_framework_extra.view.listener'] = new \Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener($this);
- }
- protected function getServiceContainerService()
- {
- throw new \RuntimeException('You have requested a synthetic service ("service_container"). The DIC does not know how to construct this service.');
- }
- protected function getSessionService()
- {
- return $this->services['session'] = new \Symfony\Component\HttpFoundation\Session($this->get('session.storage'), 'en');
- }
- protected function getSession_StorageService()
- {
- return $this->services['session.storage'] = new \Symfony\Component\HttpFoundation\SessionStorage\NativeSessionStorage(array());
- }
- protected function getSessionListenerService()
- {
- return $this->services['session_listener'] = new \Symfony\Bundle\FrameworkBundle\EventListener\SessionListener($this, true);
- }
- protected function getSwiftmailer_Plugin_MessageloggerService()
- {
- return $this->services['swiftmailer.plugin.messagelogger'] = new \Symfony\Bundle\SwiftmailerBundle\Logger\MessageLogger();
- }
- protected function getSwiftmailer_TransportService()
- {
- $this->services['swiftmailer.transport'] = $instance = new \Swift_Transport_EsmtpTransport(new \Swift_Transport_StreamBuffer(new \Swift_StreamFilters_StringReplacementFilterFactory()), array(0 => new \Swift_Transport_Esmtp_AuthHandler(array(0 => new \Swift_Transport_Esmtp_Auth_CramMd5Authenticator(), 1 => new \Swift_Transport_Esmtp_Auth_LoginAuthenticator(), 2 => new \Swift_Transport_Esmtp_Auth_PlainAuthenticator()))), new \Swift_Events_SimpleEventDispatcher());
- $instance->setHost('localhost');
- $instance->setPort(25);
- $instance->setEncryption(NULL);
- $instance->setUsername('');
- $instance->setPassword('');
- $instance->setAuthMode(NULL);
- return $instance;
- }
- protected function getTemplatingService()
- {
- return $this->services['templating'] = new \Symfony\Bundle\TwigBundle\TwigEngine($this->get('twig'), $this->get('templating.name_parser'), $this->get('templating.globals'));
- }
- protected function getTemplating_Asset_PackageFactoryService()
- {
- return $this->services['templating.asset.package_factory'] = new \Symfony\Bundle\FrameworkBundle\Templating\Asset\PackageFactory($this);
- }
- protected function getTemplating_GlobalsService()
- {
- return $this->services['templating.globals'] = new \Symfony\Bundle\FrameworkBundle\Templating\GlobalVariables($this);
- }
- protected function getTemplating_Helper_ActionsService()
- {
- return $this->services['templating.helper.actions'] = new \Symfony\Bundle\FrameworkBundle\Templating\Helper\ActionsHelper($this->get('http_kernel'));
- }
- 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, NULL), array());
- }
- protected function getTemplating_Helper_CodeService()
- {
- return $this->services['templating.helper.code'] = new \Symfony\Bundle\FrameworkBundle\Templating\Helper\CodeHelper(NULL, '/Users/lenybernard/Workspace/labo/anakin/app', 'UTF-8');
- }
- 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', 'security' => 'templating.helper.security', 'assetic' => 'assetic.helper.static'));
- return $this->services['templating.helper.form'] = new \Symfony\Bundle\FrameworkBundle\Templating\Helper\FormHelper($a, array(0 => 'FrameworkBundle:Form'));
- }
- protected function getTemplating_Helper_RequestService()
- {
- return $this->services['templating.helper.request'] = new \Symfony\Bundle\FrameworkBundle\Templating\Helper\RequestHelper($this->get('request'));
- }
- protected function getTemplating_Helper_RouterService()
- {
- return $this->services['templating.helper.router'] = new \Symfony\Bundle\FrameworkBundle\Templating\Helper\RouterHelper($this->get('router'));
- }
- protected function getTemplating_Helper_SecurityService()
- {
- return $this->services['templating.helper.security'] = new \Symfony\Bundle\SecurityBundle\Templating\Helper\SecurityHelper($this->get('security.context'));
- }
- protected function getTemplating_Helper_SessionService()
- {
- return $this->services['templating.helper.session'] = new \Symfony\Bundle\FrameworkBundle\Templating\Helper\SessionHelper($this->get('request'));
- }
- protected function getTemplating_Helper_SlotsService()
- {
- return $this->services['templating.helper.slots'] = new \Symfony\Component\Templating\Helper\SlotsHelper();
- }
- protected function getTemplating_Helper_TranslatorService()
- {
- return $this->services['templating.helper.translator'] = new \Symfony\Bundle\FrameworkBundle\Templating\Helper\TranslatorHelper($this->get('translator'));
- }
- protected function getTemplating_LoaderService()
- {
- return $this->services['templating.loader'] = new \Symfony\Bundle\FrameworkBundle\Templating\Loader\FilesystemLoader($this->get('templating.locator'));
- }
- protected function getTemplating_NameParserService()
- {
- return $this->services['templating.name_parser'] = new \Symfony\Bundle\FrameworkBundle\Templating\TemplateNameParser($this->get('kernel'));
- }
- protected function getTranslation_Loader_PhpService()
- {
- return $this->services['translation.loader.php'] = new \Symfony\Component\Translation\Loader\PhpFileLoader();
- }
- protected function getTranslation_Loader_XliffService()
- {
- return $this->services['translation.loader.xliff'] = new \Symfony\Component\Translation\Loader\XliffFileLoader();
- }
- protected function getTranslation_Loader_YmlService()
- {
- return $this->services['translation.loader.yml'] = new \Symfony\Component\Translation\Loader\YamlFileLoader();
- }
- protected function getTranslatorService()
- {
- return $this->services['translator'] = new \Symfony\Component\Translation\IdentityTranslator($this->get('translator.selector'));
- }
- protected function getTranslator_DefaultService()
- {
- return $this->services['translator.default'] = new \Symfony\Bundle\FrameworkBundle\Translation\Translator($this, $this->get('translator.selector'), array('translation.loader.php' => 'php', 'translation.loader.yml' => 'yml', 'translation.loader.xliff' => 'xliff'), array('cache_dir' => '/Users/lenybernard/Workspace/labo/anakin/app/cache/prod/translations', 'debug' => false), $this->get('session'));
- }
- protected function getTwigService()
- {
- $this->services['twig'] = $instance = new \Twig_Environment($this->get('twig.loader'), array('debug' => false, 'strict_variables' => false, 'exception_controller' => 'Symfony\\Bundle\\TwigBundle\\Controller\\ExceptionController::showAction', 'cache' => '/Users/lenybernard/Workspace/labo/anakin/app/cache/prod/twig', 'charset' => 'UTF-8'));
- $instance->addExtension(new \Symfony\Bundle\SecurityBundle\Twig\Extension\SecurityExtension($this->get('security.context')));
- $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\Bundle\TwigBundle\Extension\CodeExtension($this));
- $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\FormExtension(array(0 => 'form_div_layout.html.twig')));
- $instance->addExtension(new \Symfony\Bundle\AsseticBundle\Twig\AsseticExtension($this->get('assetic.asset_factory'), false, array()));
- return $instance;
- }
- protected function getTwig_ExceptionListenerService()
- {
- return $this->services['twig.exception_listener'] = new \Symfony\Component\HttpKernel\EventListener\ExceptionListener('Symfony\\Bundle\\TwigBundle\\Controller\\ExceptionController::showAction', $this->get('monolog.logger.request'));
- }
- 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('/Users/lenybernard/Workspace/labo/anakin/vendor/symfony/src/Symfony/Bridge/Twig/Resources/views/Form');
- return $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('doctrine.orm.validator.unique' => 'doctrine.orm.validator.unique')), array(0 => $this->get('doctrine.orm.validator_initializer')));
- }
- protected function getDatabaseConnectionService()
- {
- return $this->get('doctrine.dbal.default_connection');
- }
- protected function getDoctrine_Orm_EntityManagerService()
- {
- return $this->get('doctrine.orm.default_entity_manager');
- }
- protected function getAssetic_AssetFactoryService()
- {
- return $this->services['assetic.asset_factory'] = new \Symfony\Bundle\AsseticBundle\Factory\AssetFactory($this->get('kernel'), $this, new \Symfony\Component\DependencyInjection\ParameterBag\ParameterBag($this->getDefaultParameters()), '/Users/lenybernard/Workspace/labo/anakin/app/../web', false);
- }
- protected function getControllerNameConverterService()
- {
- return $this->services['controller_name_converter'] = new \Symfony\Bundle\FrameworkBundle\Controller\ControllerNameParser($this->get('kernel'));
- }
- protected function getSecurity_Access_DecisionManagerService()
- {
- return $this->services['security.access.decision_manager'] = new \Symfony\Component\Security\Core\Authorization\AccessDecisionManager(array(0 => new \Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter(new \Symfony\Component\Security\Core\Role\RoleHierarchy(array('ROLE_ADMIN' => array(0 => 'ROLE_USER'), 'ROLE_SUPER_ADMIN' => array(0 => 'ROLE_USER', 1 => 'ROLE_ADMIN', 2 => 'ROLE_ALLOWED_TO_SWITCH')))), 1 => new \Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter($this->get('security.authentication.trust_resolver'))), 'affirmative', false, true);
- }
- protected function getSecurity_Authentication_ManagerService()
- {
- return $this->services['security.authentication.manager'] = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($this->get('security.user.provider.concrete.in_memory'), new \Symfony\Component\Security\Core\User\UserChecker(), 'secured_area', $this->get('security.encoder_factory'), true)));
- }
- 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');
- }
- 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;
- }
- protected function getTemplating_LocatorService()
- {
- return $this->services['templating.locator'] = new \Symfony\Bundle\FrameworkBundle\Templating\Loader\TemplateLocator($this->get('file_locator'), '/Users/lenybernard/Workspace/labo/anakin/app/cache/prod');
- }
- protected function getTranslator_SelectorService()
- {
- return $this->services['translator.selector'] = new \Symfony\Component\Translation\MessageSelector();
- }
- 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 => '/Users/lenybernard/Workspace/labo/anakin/vendor/symfony/src/Symfony/Component/Form/Resources/config/validation.xml')), 3 => new \Symfony\Component\Validator\Mapping\Loader\YamlFilesLoader(array()))), NULL);
- }
- public function getParameter($name)
- {
- $name = strtolower($name);
- if (!array_key_exists($name, $this->parameters)) {
- throw new \InvalidArgumentException(sprintf('The parameter "%s" must be defined.', $name));
- }
- return $this->parameters[$name];
- }
- public function hasParameter($name)
- {
- return array_key_exists(strtolower($name), $this->parameters);
- }
- public function setParameter($name, $value)
- {
- throw new \LogicException('Impossible to call set() on a frozen ParameterBag.');
- }
- public function getParameterBag()
- {
- if (null === $this->parameterBag) {
- $this->parameterBag = new FrozenParameterBag($this->parameters);
- }
- return $this->parameterBag;
- }
- protected function getDefaultParameters()
- {
- return array(
- 'kernel.root_dir' => '/Users/lenybernard/Workspace/labo/anakin/app',
- 'kernel.environment' => 'prod',
- 'kernel.debug' => false,
- 'kernel.name' => 'app',
- 'kernel.cache_dir' => '/Users/lenybernard/Workspace/labo/anakin/app/cache/prod',
- 'kernel.logs_dir' => '/Users/lenybernard/Workspace/labo/anakin/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',
- 'DoctrineBundle' => 'Symfony\\Bundle\\DoctrineBundle\\DoctrineBundle',
- 'AsseticBundle' => 'Symfony\\Bundle\\AsseticBundle\\AsseticBundle',
- 'SensioFrameworkExtraBundle' => 'Sensio\\Bundle\\FrameworkExtraBundle\\SensioFrameworkExtraBundle',
- 'JMSSecurityExtraBundle' => 'JMS\\SecurityExtraBundle\\JMSSecurityExtraBundle',
- ),
- 'kernel.charset' => 'UTF-8',
- 'kernel.container_class' => 'appProdProjectContainer',
- 'database_driver' => 'pdo_mysql',
- 'database_host' => 'localhost',
- 'database_port' => '',
- 'database_name' => 'symfony',
- 'database_user' => 'root',
- 'database_password' => '',
- 'mailer_transport' => 'smtp',
- 'mailer_host' => 'localhost',
- 'mailer_user' => '',
- 'mailer_password' => '',
- 'locale' => …
Large files files are truncated, but you can click here to view the full file