public function testBuild_Prod() { $builder = new CommandBuilder('aureja/fake-dir/', 'prod'); $this->assertEquals('/usr/bin/php5 aureja/fake-dir/console aureja:command --env=prod --no-debug', $builder->build('aureja:command')); }
/** * {@inheritdoc} */ public function create(JobConfigurationInterface $configuration) { $command = $this->commandBuilder->build($configuration->getParameter('symfony_command')); return new ShellJob($command, $this->reportManager); }