protected function runComposerDump($path)
{
$composer = $this->findComposer();
$commands = [$composer . ' dump-autoload -d ' . $path];
$process = new Process(implode(' && ', $commands), null, null, null, null);
$output = $this->output;
$process->run(function ($type, $line) use($output) {
$output->write($line);
});
}