for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* (c) FSi sp. z o.o. <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace FSi\Bundle\AdminBundle\Controller;
use FSi\Bundle\AdminBundle\Admin\CRUD\FormElement;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
class FormController extends ControllerAbstract
{
* @ParamConverter("element", class="\FSi\Bundle\AdminBundle\Admin\CRUD\FormElement")
public function formAction(FormElement $element, Request $request): Response
return $this->handleRequest($element, $request, 'fsi_admin_form');
}