Added @deprecated for BaseAbstractType and use correct "blockPrefix"

This commit is contained in:
Moritz Schroeder 2016-02-17 20:09:56 +01:00
parent edfb13c388
commit 224add2612
2 changed files with 2 additions and 1 deletions

View file

@ -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
{ {

View file

@ -225,7 +225,7 @@ class ModelType extends AbstractType
*/ */
public function getBlockPrefix() public function getBlockPrefix()
{ {
return 'entity'; return 'model';
} }
public function getParent() public function getParent()