[FLOW3-general] TYPO3.Form using RedirectFinisher with post

Robin Lehrmann role at vkf-renzel.de
Mon Aug 13 10:32:00 CEST 2012


> $this->formDefinition->createFinisher('TYPO3.Form:Closure')->setOption('closure', 
> function(\TYPO3\Form\Core\Model\FinisherContext $context) use 
> ($articleRepository) {
>     $formValues = $context->getFormValues();
>     $article = ...
>     $articleRepository->add($article;
> });
It is a php syntax mistake... Can you explain it, what you mean ?


More information about the FLOW3-general mailing list