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(); }
/** * @param DriverInterface $filesystem * @param string $filePath */ public function __construct(DriverInterface $filesystem, Stacksight $stacksight, $filePath = null) { $this->stacksight = $stacksight->getClient(); parent::__construct($filesystem, $filePath); }
public function __construct(Stacksight $stacksight) { $this->_ss_client = $stacksight->getClient(); }