Magestead\Installers\Magento2Project::installSampleData PHP Method

installSampleData() protected method

protected installSampleData ( $options, $projectPath, Symfony\Component\Console\Output\OutputInterface $output )
$options
$projectPath
$output Symfony\Component\Console\Output\OutputInterface
    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);
        }
    }