PHP Class Symfony\Component\Form\Tests\AbstractFormTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: symfony/symfony

Protected Properties

Property Type Description
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$factory Symfony\Component\Form\FormFactoryInterface
$form Symfony\Component\Form\FormInterface

Protected Methods

Method Description
createForm ( ) : Symfony\Component\Form\FormInterface
getBuilder ( string $name = 'name', Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher = null, string $dataClass = null, array $options = [] ) : FormBuilder
getDataMapper ( ) : PHPUnit_Framework_MockObject_MockObject
getDataTransformer ( ) : PHPUnit_Framework_MockObject_MockObject
getFormValidator ( ) : PHPUnit_Framework_MockObject_MockObject
getMockForm ( string $name = 'name' ) : PHPUnit_Framework_MockObject_MockObject
setUp ( )
tearDown ( )

Method Details

createForm() abstract protected method

abstract protected createForm ( ) : Symfony\Component\Form\FormInterface
return Symfony\Component\Form\FormInterface

getBuilder() protected method

protected getBuilder ( string $name = 'name', Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher = null, string $dataClass = null, array $options = [] ) : FormBuilder
$name string
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$dataClass string
$options array
return Symfony\Component\Form\FormBuilder

getDataMapper() protected method

protected getDataMapper ( ) : PHPUnit_Framework_MockObject_MockObject
return PHPUnit_Framework_MockObject_MockObject

getDataTransformer() protected method

protected getDataTransformer ( ) : PHPUnit_Framework_MockObject_MockObject
return PHPUnit_Framework_MockObject_MockObject

getFormValidator() protected method

protected getFormValidator ( ) : PHPUnit_Framework_MockObject_MockObject
return PHPUnit_Framework_MockObject_MockObject

getMockForm() protected method

protected getMockForm ( string $name = 'name' ) : PHPUnit_Framework_MockObject_MockObject
$name string
return PHPUnit_Framework_MockObject_MockObject

setUp() protected method

protected setUp ( )

tearDown() protected method

protected tearDown ( )

Property Details

$dispatcher protected property

protected EventDispatcherInterface,Symfony\Component\EventDispatcher $dispatcher
return Symfony\Component\EventDispatcher\EventDispatcherInterface

$factory protected property

protected FormFactoryInterface,Symfony\Component\Form $factory
return Symfony\Component\Form\FormFactoryInterface

$form protected property

protected FormInterface,Symfony\Component\Form $form
return Symfony\Component\Form\FormInterface