use SymfonyComponentOptionsResolverOptionsResolverInterface;
class XAdminType extends ..
public function setDefaultOptions(OptionsResolverInterface $resolver)
{
$resolver->setDefaults(array(
'disabled' => true,
));
}
Conteúdo para você se capacitar em programação
use SymfonyComponentOptionsResolverOptionsResolverInterface;
class XAdminType extends ..
public function setDefaultOptions(OptionsResolverInterface $resolver)
{
$resolver->setDefaults(array(
'disabled' => true,
));
}