[Form] fixed license and phpdoc

This commit is contained in:
Fabien Potencier 2010-10-02 12:38:11 +02:00
parent 47bc809dc3
commit 4deb82f842
56 changed files with 455 additions and 83 deletions

View File

@ -3,11 +3,12 @@
namespace Symfony\Component\Form;
/*
* This file is part of the symfony package.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
/**
@ -31,4 +32,4 @@ class BirthdayField extends DateField
parent::configure();
}
}
}

View File

@ -3,11 +3,12 @@
namespace Symfony\Component\Form;
/*
* This file is part of the symfony package.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
/**

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
use Symfony\Component\Form\Exception\UnexpectedTypeException;
/**

View File

@ -2,20 +2,20 @@
namespace Symfony\Component\Form;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
use Symfony\Component\Form\FieldInterface;
use Symfony\Component\Form\Exception\UnexpectedTypeException;
/*
* This file is part of the symfony package.
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* @author Bernhard Schussek <bernhard.schussek@symfony-project.com>
* @version SVN: $Id: FieldGroup.php 79 2009-12-08 12:53:15Z bernhard $
*/
class CollectionField extends FieldGroup
{

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
use Symfony\Component\Form\Exception\MissingOptionsException;
use Symfony\Component\Form\Exception\InvalidOptionsException;

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form\Configurator;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
interface ConfiguratorInterface
{
public function initialize($object);

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form\Configurator;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
class ValidatorConfigurator implements ConfiguratorInterface
{
protected $metaData = null;

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
use Symfony\Component\Form\ValueTransformer\ReversedTransformer;
use Symfony\Component\Form\ValueTransformer\StringToDateTimeTransformer;
use Symfony\Component\Form\ValueTransformer\TimestampToDateTimeTransformer;
@ -9,14 +18,6 @@ use Symfony\Component\Form\ValueTransformer\ValueTransformerChain;
use Symfony\Component\Form\ValueTransformer\DateTimeToLocalizedStringTransformer;
use Symfony\Component\Form\ValueTransformer\DateTimeToArrayTransformer;
/*
* This file is part of the symfony package.
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
class DateField extends HybridField
{
const FULL = 'full';

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
use Symfony\Component\Form\ValueTransformer\StringToDateTimeTransformer;
use Symfony\Component\Form\ValueTransformer\TimestampToDateTimeTransformer;
use Symfony\Component\Form\ValueTransformer\DateTimeToArrayTransformer;

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form\Exception;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
class AlreadyBoundException extends FormException
{
}

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form\Exception;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
class FormException extends \Exception
{
}

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form\Exception;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
class InvalidConfigurationException extends FormException
{
}

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form\Exception;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
class InvalidOptionsException extends FormException
{
private $options;

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form\Exception;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
class InvalidPropertyException extends FormException
{
}

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form\Exception;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
class InvalidPropertyPathException extends FormException
{
}

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form\Exception;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
class MissingOptionsException extends FormException
{
private $options;

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form\Exception;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
class NotInitializedException extends FormException
{
}

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form\Exception;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
class NotValidException extends FormException
{
}

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form\Exception;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
class PropertyAccessDeniedException extends FormException
{
}

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form\Exception;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
class UnexpectedTypeException extends FormException
{
}

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
use Symfony\Component\Form\Exception\InvalidPropertyException;
use Symfony\Component\Form\Exception\PropertyAccessDeniedException;
use Symfony\Component\Form\ValueTransformer\ValueTransformerInterface;

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
use Symfony\Component\Form\Exception\AlreadyBoundException;
use Symfony\Component\Form\Exception\UnexpectedTypeException;
use Symfony\Component\Form\Renderer\RendererInterface;
@ -9,19 +18,10 @@ use Symfony\Component\Form\Renderer\TableRenderer;
use Symfony\Component\Form\Iterator\RecursiveFieldsWithPropertyPathIterator;
use Symfony\Component\I18N\TranslatorInterface;
/*
* This file is part of the symfony package.
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* FieldGroup represents an array of widgets bind to names and values.
*
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
* @version SVN: $Id: FieldGroup.php 247 2010-02-01 09:24:55Z bernhard $
*/
class FieldGroup extends Field implements \IteratorAggregate, FieldGroupInterface
{

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
/**
* A field group bundling multiple form fields
*

View File

@ -2,13 +2,21 @@
namespace Symfony\Component\Form;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
use Symfony\Component\I18N\TranslatorInterface;
/**
* A form field that can be embedded in a form.
*
* @author Bernhard Schussek <bernhard.schussek@symfony-project.com>
* @version SVN: $Id: FieldInterface.php 247 2010-02-01 09:24:55Z bernhard $
*/
interface FieldInterface extends Localizable, Translatable
{
@ -263,4 +271,4 @@ interface FieldInterface extends Localizable, Translatable
* @param string $charset
*/
public function setGenerator(HtmlGeneratorInterface $generator);
}
}

View File

@ -3,11 +3,12 @@
namespace Symfony\Component\Form;
/*
* This file is part of the symfony package.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
/**

View File

@ -2,17 +2,18 @@
namespace Symfony\Component\Form;
use Symfony\Component\Validator\ValidatorInterface;
use Symfony\Component\I18N\TranslatorInterface;
/*
* This file is part of the symfony package.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
use Symfony\Component\Validator\ValidatorInterface;
use Symfony\Component\I18N\TranslatorInterface;
/**
* Form represents a form.
*
@ -26,7 +27,6 @@ use Symfony\Component\I18N\TranslatorInterface;
* is generated on the fly.
*
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
* @version SVN: $Id: Form.php 245 2010-01-31 22:22:39Z flo $
*/
class Form extends FieldGroup
{

View File

@ -3,11 +3,12 @@
namespace Symfony\Component\Form;
/*
* This file is part of the symfony package.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
/**

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
use Symfony\Component\Form\Exception\FormException;
/**

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
/**
* Base class for all low-level fields represented by input tags
*

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
use Symfony\Component\Form\ValueTransformer\NumberToLocalizedStringTransformer;
/*

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form\Iterator;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
use Symfony\Component\Form\FieldGroupInterface;
class RecursiveFieldsWithPropertyPathIterator extends \IteratorIterator implements \RecursiveIterator

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
/**
* Marks classes that you can inject a locale into.
*

View File

@ -2,16 +2,17 @@
namespace Symfony\Component\Form;
use Symfony\Component\Form\ValueTransformer\NumberToLocalizedStringTransformer;
/*
* This file is part of the symfony package.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
use Symfony\Component\Form\ValueTransformer\NumberToLocalizedStringTransformer;
/**
* A localized field for entering numbers.
*
@ -45,4 +46,4 @@ class NumberField extends InputField
'type' => 'text',
), $attributes));
}
}
}

View File

@ -3,11 +3,12 @@
namespace Symfony\Component\Form;
/*
* This file is part of the symfony package.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
/**

View File

@ -2,16 +2,17 @@
namespace Symfony\Component\Form;
use Symfony\Component\Form\ValueTransformer\PercentToLocalizedStringTransformer;
/*
* This file is part of the symfony package.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
use Symfony\Component\Form\ValueTransformer\PercentToLocalizedStringTransformer;
/**
* A localized field for entering percentage values.
*
@ -43,4 +44,4 @@ class PercentField extends NumberField
{
return parent::render($attributes).' %';
}
}
}

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
use Symfony\Component\Form\Exception\InvalidPropertyPathException;
/**

View File

@ -3,11 +3,12 @@
namespace Symfony\Component\Form;
/*
* This file is part of the symfony package.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
/**
@ -27,4 +28,4 @@ class RadioField extends ToggleField
'name' => $this->getParent() ? $this->getParent()->getName() : $this->getName(),
), $attributes));
}
}
}

View File

@ -3,11 +3,12 @@
namespace Symfony\Component\Form;
/*
* This file is part of the symfony package.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
/**

View File

@ -3,11 +3,12 @@
namespace Symfony\Component\Form;
/*
* This file is part of the symfony package.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
/**
@ -37,4 +38,4 @@ class TextField extends InputField
'maxlength' => $this->getOption('max_length'),
), $attributes));
}
}
}

View File

@ -3,11 +3,12 @@
namespace Symfony\Component\Form;
/*
* This file is part of the symfony package.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
/**

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
use Symfony\Component\Form\ValueTransformer\ReversedTransformer;
use Symfony\Component\Form\ValueTransformer\DateTimeToArrayTransformer;
use Symfony\Component\Form\ValueTransformer\StringToDateTimeTransformer;

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
class TimezoneField extends ChoiceField
{
/**

View File

@ -2,16 +2,17 @@
namespace Symfony\Component\Form;
use Symfony\Component\Form\ValueTransformer\BooleanToStringTransformer;
/*
* This file is part of the symfony package.
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
use Symfony\Component\Form\ValueTransformer\BooleanToStringTransformer;
/**
* An input field for selecting boolean values.
*
@ -53,4 +54,4 @@ abstract class ToggleField extends InputField
return $html;
}
}
}

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form\ValueTransformer;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
use Symfony\Component\Form\Configurable;
/**

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form\ValueTransformer;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
/**
* Transforms between a boolean and a string.
*

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form\ValueTransformer;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
use \Symfony\Component\Form\ValueTransformer\ValueTransformerException;
/**

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form\ValueTransformer;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
use \Symfony\Component\Form\ValueTransformer\ValueTransformerException;
/**

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form\ValueTransformer;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
use \Symfony\Component\Form\ValueTransformer\ValueTransformerException;
/**

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form\ValueTransformer;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
use \Symfony\Component\Form\ValueTransformer\ValueTransformerException;
/**

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form\ValueTransformer;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
use \Symfony\Component\Form\ValueTransformer\ValueTransformerException;
/**

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form\ValueTransformer;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
/**
* Reverses a transformer
*

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form\ValueTransformer;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
use \Symfony\Component\Form\ValueTransformer\ValueTransformerException;
/**

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form\ValueTransformer;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
use \Symfony\Component\Form\ValueTransformer\ValueTransformerException;
/**

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form\ValueTransformer;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
/**
* Indicates a value transformation error.
*

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form\ValueTransformer;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
/**
* Passes a value through multiple value transformers
*

View File

@ -2,6 +2,15 @@
namespace Symfony\Component\Form\ValueTransformer;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
use Symfony\Component\Form\Localizable;
/**