/**
* 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!');
}