protected function getVichUploader_MetadataReaderService()
 {
     $a = new \Vich\UploaderBundle\Metadata\Driver\FileLocator(array('Cestom\\StoreBundle' => $this->targetDirs[3] . '/src/Cestom/StoreBundle/Resources/config/vich_uploader'));
     $b = new \Metadata\MetadataFactory(new \Vich\UploaderBundle\Metadata\Driver\ChainDriver(array(0 => new \Vich\UploaderBundle\Metadata\Driver\AnnotationDriver($this->get('annotation_reader')), 1 => new \Vich\UploaderBundle\Metadata\Driver\YamlDriver($a), 2 => new \Vich\UploaderBundle\Metadata\Driver\XmlDriver($a))));
     $b->setCache(new \Metadata\Cache\FileCache(__DIR__ . '/vich_uploader'));
     return $this->services['vich_uploader.metadata_reader'] = new \Vich\UploaderBundle\Metadata\MetadataReader($b);
 }
 /**
  * Gets the 'vich_uploader.metadata_reader' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Vich\UploaderBundle\Metadata\MetadataReader A Vich\UploaderBundle\Metadata\MetadataReader instance.
  */
 protected function getVichUploader_MetadataReaderService()
 {
     $a = new \Vich\UploaderBundle\Metadata\Driver\FileLocator(array());
     $b = new \Metadata\MetadataFactory(new \Vich\UploaderBundle\Metadata\Driver\ChainDriver(array(0 => new \Vich\UploaderBundle\Metadata\Driver\AnnotationDriver($this->get('annotation_reader')), 1 => new \Vich\UploaderBundle\Metadata\Driver\YamlDriver($a), 2 => new \Vich\UploaderBundle\Metadata\Driver\XmlDriver($a))));
     $b->setCache(new \Metadata\Cache\FileCache(__DIR__ . '/vich_uploader'));
     return $this->services['vich_uploader.metadata_reader'] = new \Vich\UploaderBundle\Metadata\MetadataReader($b);
 }
 /**
  * Gets the 'jms_serializer' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \JMS\Serializer\Serializer A JMS\Serializer\Serializer instance.
  */
 protected function getJmsSerializerService()
 {
     $a = new \Metadata\MetadataFactory(new \Metadata\Driver\LazyLoadingDriver($this, 'jms_serializer.metadata_driver'), 'Metadata\\ClassHierarchyMetadata', true);
     $a->setCache(new \Metadata\Cache\FileCache(__DIR__ . '/jms_serializer'));
     $b = new \JMS\Serializer\EventDispatcher\LazyEventDispatcher($this);
     $b->setListeners(array('serializer.pre_serialize' => array(0 => array(0 => array(0 => 'jms_serializer.stopwatch_subscriber', 1 => 'onPreSerialize'), 1 => NULL, 2 => NULL), 1 => array(0 => array(0 => 'jms_serializer.doctrine_proxy_subscriber', 1 => 'onPreSerialize'), 1 => NULL, 2 => NULL)), 'serializer.post_serialize' => array(0 => array(0 => array(0 => 'jms_serializer.stopwatch_subscriber', 1 => 'onPostSerialize'), 1 => NULL, 2 => NULL))));
     return $this->services['jms_serializer'] = new \JMS\Serializer\Serializer($a, $this->get('jms_serializer.handler_registry'), $this->get('jms_serializer.unserialize_object_constructor'), new \PhpCollection\Map(array('json' => $this->get('jms_serializer.json_serialization_visitor'), 'xml' => $this->get('jms_serializer.xml_serialization_visitor'), 'yml' => $this->get('jms_serializer.yaml_serialization_visitor'))), new \PhpCollection\Map(array('json' => $this->get('jms_serializer.json_deserialization_visitor'), 'xml' => $this->get('jms_serializer.xml_deserialization_visitor'))), $b);
 }
 /**
  * Gets the 'security.extra.metadata_factory' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Metadata\MetadataFactory A Metadata\MetadataFactory instance.
  */
 protected function getSecurity_Extra_MetadataFactoryService()
 {
     $this->services['security.extra.metadata_factory'] = $instance = new \Metadata\MetadataFactory(new \Metadata\Driver\LazyLoadingDriver($this, 'security.extra.metadata_driver'));
     $instance->setCache(new \Metadata\Cache\FileCache(__DIR__ . '/jms_security', true));
     $instance->setIncludeInterfaces(true);
     return $instance;
 }
 protected function getJmsSerializer_MetadataFactoryService()
 {
     $this->services['jms_serializer.metadata_factory'] = $instance = new \Metadata\MetadataFactory(new \Metadata\Driver\LazyLoadingDriver($this, 'jms_serializer.metadata_driver'), 'Metadata\\ClassHierarchyMetadata', false);
     $instance->setCache(new \Metadata\Cache\FileCache(__DIR__ . '/jms_serializer'));
     return $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', false);
     $instance->setCache(new \Metadata\Cache\FileCache('/opt/lampp/htdocs/symfony2/symfony/app/cache/prod/jms_diextra/metadata'));
     return $instance;
 }
 /**
  * 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('/var/www/bewelcome-symfony/app/cache/dev/jms_diextra/metadata'));
     return $instance;
 }
 /**
  * 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 \JMS\DiExtraBundle\Metadata\Driver\AnnotationDriver($this->get('annotation_reader')), 'Metadata\\ClassHierarchyMetadata', true);
     $instance->setCache(new \Metadata\Cache\FileCache('/Users/daviddjian/Sites/sanxs/app/cache/dev/diextra/metadata'));
     return $instance;
 }
 /**
  * Gets the 'vich_uploader.property_mapping_factory' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Vich\UploaderBundle\Mapping\PropertyMappingFactory A Vich\UploaderBundle\Mapping\PropertyMappingFactory instance.
  */
 protected function getVichUploader_PropertyMappingFactoryService()
 {
     $a = new \Vich\UploaderBundle\Metadata\Driver\FileLocator(array());
     $b = new \Metadata\MetadataFactory(new \Vich\UploaderBundle\Metadata\Driver\ChainDriver(array(0 => new \Vich\UploaderBundle\Metadata\Driver\AnnotationDriver($this->get('annotation_reader')), 1 => new \Vich\UploaderBundle\Metadata\Driver\YamlDriver($a), 2 => new \Vich\UploaderBundle\Metadata\Driver\XmlDriver($a))));
     $b->setCache(new \Metadata\Cache\FileCache(__DIR__ . '/vich_uploader'));
     return $this->services['vich_uploader.property_mapping_factory'] = new \Vich\UploaderBundle\Mapping\PropertyMappingFactory($this, new \Vich\UploaderBundle\Metadata\MetadataReader($b), array(), '_name');
 }
 protected function getJmsSerializerService()
 {
     $a = new \Metadata\MetadataFactory(new \Metadata\Driver\LazyLoadingDriver($this, 'jms_serializer.metadata_driver'), 'Metadata\\ClassHierarchyMetadata', false);
     $a->setCache(new \Metadata\Cache\FileCache('/srv/civix/app/cache/prod/jms_serializer'));
     $b = new \JMS\Serializer\EventDispatcher\LazyEventDispatcher($this);
     $b->setListeners(array('serializer.pre_serialize' => array(0 => array(0 => array(0 => 'jms_serializer.doctrine_proxy_subscriber', 1 => 'onPreSerialize'), 1 => NULL, 2 => NULL))));
     return $this->services['jms_serializer'] = new \JMS\Serializer\Serializer($a, $this->get('jms_serializer.handler_registry'), $this->get('jms_serializer.unserialize_object_constructor'), new \JMS\DiExtraBundle\DependencyInjection\Collection\LazyServiceMap($this, array('json' => 'jms_serializer.json_serialization_visitor', 'xml' => 'jms_serializer.xml_serialization_visitor', 'yml' => 'jms_serializer.yaml_serialization_visitor')), new \JMS\DiExtraBundle\DependencyInjection\Collection\LazyServiceMap($this, array('json' => 'jms_serializer.json_deserialization_visitor', 'xml' => 'jms_serializer.xml_deserialization_visitor')), $b);
 }
Esempio n. 11
0
 /**
  * Gets the 'serializer' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return JMS\SerializerBundle\Serializer\LazyLoadingSerializer A JMS\SerializerBundle\Serializer\LazyLoadingSerializer instance.
  */
 protected function getSerializerService()
 {
     $a = new \Metadata\MetadataFactory($this->get('jms_serializer.metadata.lazy_loading_driver'), 'Metadata\\ClassHierarchyMetadata', true);
     $a->setCache(new \Metadata\Cache\FileCache('C:/wamp/www/github/Depot/app/cache/dev/jms_serializer'));
     $this->services['serializer'] = $instance = new \JMS\SerializerBundle\Serializer\LazyLoadingSerializer($a, array('json' => 'jms_serializer.json_serialization_visitor', 'xml' => 'jms_serializer.xml_serialization_visitor', 'yml' => 'jms_serializer.yaml_serialization_visitor'), array('json' => 'jms_serializer.json_deserialization_visitor', 'xml' => 'jms_serializer.xml_deserialization_visitor'));
     $instance->setContainer($this);
     return $instance;
 }
 /**
  * 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('C:/AugustinStage/CartopliDevLinux/2.8.8/app/cache/dev/jms_diextra/metadata'));
     return $instance;
 }