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\spec\fixtures\Doctrine;
use FSi\Bundle\AdminBundle\Doctrine\Admin\DependentFormElement;
use Symfony\Component\Form\FormFactoryInterface;
use Symfony\Component\Form\FormInterface;
class MyDependentFormElement extends DependentFormElement
{
public function getClassName(): string
return 'FSiDemoBundle:Entity';
}
public function getId(): string
return 'my_entity_form';
public function getParentId(): string
return 'my_parent_entity';
protected function initForm(FormFactoryInterface $factory, $data = null): FormInterface