public function __construct(ModuleListInterface $module_list, ResourceInterface $module_resource, Stacksight $stacksight, ComposerInformation $composerInformation, MagentoComposerApplicationFactory $magentoComposerApplicationFactory, PackageInfo $packageInfo, Stacksight $stacksight, UrlInterface $url) { $this->moduleList = $module_list; $this->moduleResource = $module_resource; $this->stacksight = $stacksight->getClient(); $this->composerInformation = $composerInformation; $this->magentoComposerApplicationFactory = $magentoComposerApplicationFactory; $this->packageInfo = $packageInfo; $this->infoCommand = $magentoComposerApplicationFactory->createInfoCommand(); $this->infoCommand = $magentoComposerApplicationFactory->createInfoCommand(); $this->url = $url; parent::__construct(); }
/** * Constructor * * @param MagentoComposerApplicationFactory $composerAppFactory * @param ComposerInformation $composerInfo */ public function __construct( MagentoComposerApplicationFactory $composerAppFactory, ComposerInformation $composerInfo ) { $this->infoCommand = $composerAppFactory->createInfoCommand(); $this->magentoComposerApplication = $composerAppFactory->create(); $this->composerInfo = $composerInfo; }
/** * @param ComposerInformation $composerInformation * @param MagentoComposerApplicationFactory $magentoComposerApplicationFactory */ public function __construct(ComposerInformation $composerInformation, MagentoComposerApplicationFactory $magentoComposerApplicationFactory) { $this->composerInformation = $composerInformation; $this->infoCommand = $magentoComposerApplicationFactory->createInfoCommand(); }