Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view the LICENSE Chris@0: * file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: namespace Symfony\Component\Validator; Chris@0: Chris@0: /** Chris@0: * Prepares an object for validation. Chris@0: * Chris@16: * Concrete implementations of this interface are used by {@link Validator\ContextualValidatorInterface} Chris@0: * to initialize objects just before validating them. Chris@0: * Chris@0: * @author Fabien Potencier Chris@0: * @author Bernhard Schussek Chris@0: */ Chris@0: interface ObjectInitializerInterface Chris@0: { Chris@0: /** Chris@0: * Initializes an object just before validation. Chris@0: * Chris@0: * @param object $object The object to validate Chris@0: */ Chris@0: public function initialize($object); Chris@0: }