Наследование: extends Symfony\Component\Form\Test\TypeTestCase
 protected function getExtensions()
 {
     return array_merge(parent::getExtensions(), array(new PreloadedExtension(array(new KeyValueType(), new KeyValueRowType(), new SeoMetadataType('Symfony\\Cmf\\Bundle\\SeoBundle\\Doctrine\\Phpcr\\SeoMetadata'), new SeoMetadataTypeTest_OrmType('Symfony\\Cmf\\Bundle\\SeoBundle\\Model\\SeoMetadata')), array())));
 }
Пример #2
0
 protected function getExtensions()
 {
     $keyValue = new KeyValueType();
     $keyValueRow = new KeyValueRowType();
     return array_merge(parent::getExtensions(), array(new PreloadedExtension(array($keyValue->getName() => $keyValue, $keyValueRow->getName() => $keyValueRow), array())));
 }