Пример #1
0
 /**
  * @constructor
  * @param ObjectManager $objectManager
  * @param Reader $configReader
  * @param FieldsProviderInterface $fieldsProvider
  * @param XmlConverter $xmlConverter
  */
 public function __construct(ObjectManager $objectManager, Reader $configReader, FieldsProviderInterface $fieldsProvider, XmlConverter $xmlConverter)
 {
     parent::__construct($objectManager);
     $this->configReader = $configReader;
     $this->fieldsProvider = $fieldsProvider;
     $this->xmlConverter = $xmlConverter;
 }
Пример #2
0
 /**
  * @constructor
  * @param ObjectManager $objectManager
  * @param Module $fileResolver
  * @param XmlConverter $xmlConverter
  */
 public function __construct(ObjectManager $objectManager, Module $fileResolver, XmlConverter $xmlConverter, ModuleResolver $moduleResolver = null)
 {
     parent::__construct($objectManager);
     $this->fileResolver = $fileResolver;
     $this->xmlConverter = $xmlConverter;
     if ($moduleResolver) {
         $this->moduleResolver = $moduleResolver;
     } else {
         $this->moduleResolver = ModuleResolver::getInstance();
     }
 }
Пример #3
0
 /**
  * @constructor
  * @param ObjectManager $objectManager
  * @param Reader $configReader
  */
 public function __construct(ObjectManager $objectManager, Reader $configReader)
 {
     parent::__construct($objectManager);
     $this->configReader = $configReader;
 }
Пример #4
0
 /**
  * @constructor
  * @param ObjectManager $objectManager
  * @param Reader $configReader
  * @param CollectionProviderInterface $collectionProvider
  */
 public function __construct(ObjectManager $objectManager, Reader $configReader, CollectionProviderInterface $collectionProvider)
 {
     parent::__construct($objectManager);
     $this->configReader = $configReader;
     $this->collectionProvider = $collectionProvider;
 }