コード例 #1
0
ファイル: UpdatesCommand.php プロジェクト: stacksight/magento
 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();
 }
コード例 #2
0
 /**
  * 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;
 }
コード例 #3
0
 /**
  * @param ComposerInformation $composerInformation
  * @param MagentoComposerApplicationFactory $magentoComposerApplicationFactory
  */
 public function __construct(ComposerInformation $composerInformation, MagentoComposerApplicationFactory $magentoComposerApplicationFactory)
 {
     $this->composerInformation = $composerInformation;
     $this->infoCommand = $magentoComposerApplicationFactory->createInfoCommand();
 }