0bdb271608
The calls that were on top of the function have also been moved to the bottom for safety (see previous commit)
20 lines
356 B
PHP
20 lines
356 B
PHP
<?php
|
|
|
|
namespace Symfony\Tests\Component\Form\Fixtures;
|
|
|
|
use Symfony\Component\Form\Field;
|
|
|
|
class RequiredOptionsField extends Field
|
|
{
|
|
protected function configure()
|
|
{
|
|
$this->addOption('foo');
|
|
$this->addRequiredOption('bar');
|
|
|
|
parent::configure();
|
|
}
|
|
|
|
public function render(array $attributes = array())
|
|
{
|
|
}
|
|
} |