formRuntime = $formRuntime; $this->request = $request; $this->finisherVariableProvider = new FinisherVariableProvider(); } /** * Cancels the finisher invocation after the current finisher */ public function cancel() { $this->cancelled = true; } /** * TRUE if no further finishers should be invoked. Defaults to FALSE * * @internal */ public function isCancelled(): bool { return $this->cancelled; } /** * The Form Runtime that is associated with the current finisher */ public function getFormRuntime(): FormRuntime { return $this->formRuntime; } /** * The values of the submitted form (after validation and property mapping) */ public function getFormValues(): array { return $this->formRuntime->getFormState()->getFormValues(); } public function getFinisherVariableProvider(): FinisherVariableProvider { return $this->finisherVariableProvider; } public function getRequest(): Request { return $this->request; } }