<?php
namespace AdminBundle\Form\Type;
use Sonata\Form\Type\CollectionType;
use Symfony\Component\Form\AbstractType;
class ContentType extends AbstractType
{
public function getParent(): string
{
return CollectionType::class;
}
public function getBlockPrefix(): string
{
return 'post_content';
}
public function getName()
{
return $this->getBlockPrefix();
}
}