request = $request; } public function parse(\Picea\Compiler\Context &$context, ?string $arguments, string $token) : string { } public function exportFunctions(): array { return [ "form" => [ $this, 'formClass' ], ]; } public function formClass(FormInterface $form, ? FormContext $formContext = null) : FormHandler { return new FormHandler($formContext ? $formContext->request : $this->request, $form, $formContext); } }