protected function installSampleData($options, $projectPath, OutputInterface $output) { if (true === $options['installSampleData']) { $output->writeln('<info>Installing Magento 2 Sample Data</info>'); $deployCommand = 'vagrant ssh -c \'cd /var/www/public; bin/magento sampledata:deploy \''; new ProcessCommand($deployCommand, $projectPath, $output); } }