Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function create(JobConfigurationInterface $configuration)
 {
     return new ShellJob($configuration->getParameter('shell_command'), $this->reportManager);
 }
Exemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function create(JobConfigurationInterface $configuration)
 {
     return new PhpJob($configuration->getParameter('php_script'), $this->reportManager);
 }
Exemplo n.º 3
0
 /**
  * {@inheritdoc}
  */
 public function create(JobConfigurationInterface $configuration)
 {
     $command = $this->commandBuilder->build($configuration->getParameter('symfony_command'));
     return new ShellJob($command, $this->reportManager);
 }
Exemplo n.º 4
0
 /**
  * {@inheritdoc}
  */
 public function create(JobConfigurationInterface $configuration)
 {
     return new ServiceJob($this->container, $configuration->getParameter('symfony_service_id'), $configuration->getParameter('symfony_service_method'));
 }