예제 #1
0
 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'));
 }
예제 #2
0
 /**
  * {@inheritdoc}
  */
 public function create(JobConfigurationInterface $configuration)
 {
     $command = $this->commandBuilder->build($configuration->getParameter('symfony_command'));
     return new ShellJob($command, $this->reportManager);
 }