/** * @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; }
/** * @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(); } }
/** * @constructor * @param ObjectManager $objectManager * @param Reader $configReader */ public function __construct(ObjectManager $objectManager, Reader $configReader) { parent::__construct($objectManager); $this->configReader = $configReader; }
/** * @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; }