18 lines
341 B
PHP
18 lines
341 B
PHP
<?php
|
|
|
|
namespace Symfony\Tests\Component\Form\Fixtures;
|
|
|
|
use Symfony\Component\Form\ToggleField;
|
|
|
|
class TestToggleField extends ToggleField
|
|
{
|
|
/**
|
|
* {@inheritDoc}
|
|
*/
|
|
public function __construct($key, array $options = array())
|
|
{
|
|
$options['type'] = 'checkbox';
|
|
|
|
parent::__construct($key, $options);
|
|
}
|
|
} |