Symfony\Component\Form\Tests\Extension\Validator\Type\TypeTestCase::getExtensions PHP Method

getExtensions() protected method

protected getExtensions ( )
    protected function getExtensions()
    {
        return array_merge(parent::getExtensions(), array(
            new ValidatorExtension($this->validator),
        ));
    }

Usage Example

コード例 #1
0
 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())));
 }
All Usage Examples Of Symfony\Component\Form\Tests\Extension\Validator\Type\TypeTestCase::getExtensions