Added @deprecated for BaseAbstractType and use correct "blockPrefix"
This commit is contained in:
parent
edfb13c388
commit
224add2612
|
@ -16,6 +16,7 @@ use Symfony\Component\OptionsResolver\OptionsResolverInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author William DURAND <william.durand1@gmail.com>
|
* @author William DURAND <william.durand1@gmail.com>
|
||||||
|
* @deprecated use AbstractType directly
|
||||||
*/
|
*/
|
||||||
abstract class BaseAbstractType extends AbstractType
|
abstract class BaseAbstractType extends AbstractType
|
||||||
{
|
{
|
||||||
|
|
|
@ -225,7 +225,7 @@ class ModelType extends AbstractType
|
||||||
*/
|
*/
|
||||||
public function getBlockPrefix()
|
public function getBlockPrefix()
|
||||||
{
|
{
|
||||||
return 'entity';
|
return 'model';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getParent()
|
public function getParent()
|
||||||
|
|
Loading…
Reference in a new issue