/** * Constructor * * @param Request $request * @param EngineInterface $templating * @param RouterInterface $router * @param SecurityContextInterface $securityContext * @param FormFactoryInterface $formFactory * @param ValidatorInterface $validator * @param TranslatorInterface $translator * @param EventDispatcherInterface $eventDispatcher * @param ManagerRegistry $doctrine * @param ConnectorRegistry $connectorRegistry * @param string $jobType * @param JobInstanceType $jobInstanceType * @param JobInstanceFactory $jobInstanceFactory * @param JobLauncherInterface $simpleJobLauncher */ public function __construct(Request $request, EngineInterface $templating, RouterInterface $router, SecurityContextInterface $securityContext, FormFactoryInterface $formFactory, ValidatorInterface $validator, TranslatorInterface $translator, EventDispatcherInterface $eventDispatcher, ManagerRegistry $doctrine, ConnectorRegistry $connectorRegistry, $jobType, JobInstanceType $jobInstanceType, JobInstanceFactory $jobInstanceFactory, JobLauncherInterface $simpleJobLauncher) { parent::__construct($request, $templating, $router, $securityContext, $formFactory, $validator, $translator, $eventDispatcher, $doctrine); $this->connectorRegistry = $connectorRegistry; $this->jobType = $jobType; $this->jobInstanceType = $jobInstanceType; $this->jobInstanceType->setJobType($this->jobType); $this->jobInstanceFactory = $jobInstanceFactory; $this->simpleJobLauncher = $simpleJobLauncher; }
/** * @param Request $request * @param EngineInterface $templating * @param RouterInterface $router * @param FormFactoryInterface $formFactory * @param ValidatorInterface $validator * @param EventDispatcherInterface $eventDispatcher * @param ConnectorRegistry $connectorRegistry * @param JobInstanceType $jobInstanceType * @param JobInstanceFactory $jobInstanceFactory * @param JobLauncherInterface $simpleJobLauncher * @param EntityManagerInterface $entityManager * @param JobInstanceRepository $jobInstanceRepository * @param TokenStorageInterface $tokenStorage * @param string $jobType */ public function __construct(Request $request, EngineInterface $templating, RouterInterface $router, FormFactoryInterface $formFactory, ValidatorInterface $validator, EventDispatcherInterface $eventDispatcher, ConnectorRegistry $connectorRegistry, JobInstanceType $jobInstanceType, JobInstanceFactory $jobInstanceFactory, JobLauncherInterface $simpleJobLauncher, EntityManagerInterface $entityManager, JobInstanceRepository $jobInstanceRepository, TokenStorageInterface $tokenStorage, $jobType) { $this->connectorRegistry = $connectorRegistry; $this->jobType = $jobType; $this->jobInstanceType = $jobInstanceType; $this->jobInstanceType->setJobType($this->jobType); $this->jobInstanceFactory = $jobInstanceFactory; $this->simpleJobLauncher = $simpleJobLauncher; $this->formFactory = $formFactory; $this->request = $request; $this->router = $router; $this->templating = $templating; $this->eventDispatcher = $eventDispatcher; $this->validator = $validator; $this->entityManager = $entityManager; $this->jobInstanceRepository = $jobInstanceRepository; $this->tokenStorage = $tokenStorage; }