Пример #1
0
 /**
  * Magento2Project constructor.
  * @param array $options
  * @param array $config
  * @param $projectPath
  * @param OutputInterface $output
  */
 public function __construct(array $options, array $config, $projectPath, OutputInterface $output)
 {
     $this->output = $output;
     $this->composerInstall($projectPath, $output);
     $this->installMagento($config, $options, $projectPath, $output);
     $this->finaliseSetup($options, $projectPath, $output);
     $this->showCredentials($config, $output);
     Notification::send('Magento 2 was successfully installed!');
 }
Пример #2
0
 /**
  * MagentoProject constructor.
  * @param array $options
  * @param array $config
  * @param $projectPath
  * @param OutputInterface $output
  */
 public function __construct(array $options, array $config, $projectPath, OutputInterface $output)
 {
     $output->writeln('<info>Installing Magento with Composer</info>');
     $this->composerInstall($projectPath, $output);
     $output->writeln('<info>Installing Magento Software</info>');
     $this->installMagento($config, $projectPath, $output);
     $this->configureTestSuites($options, $projectPath, $output);
     $output->writeln('<info>Finalising Setup</info>');
     $this->finaliseSetup($options, $projectPath, $output);
     $this->showCredentials($config, $output);
     Notification::send('Magento was successfully installed!');
 }