interface ObjectInitializerInterface in Plug 7
Prepares an object for validation.
Concrete implementations of this interface are used by {@link ValidationVisitorInterface} to initialize objects just before validating them.
@author Fabien Potencier <fabien@symfony.com> @author Bernhard Schussek <bschussek@gmail.com>
@api
Hierarchy
- interface \Symfony\Component\Validator\ObjectInitializerInterface
Expanded class hierarchy of ObjectInitializerInterface
All classes that implement ObjectInitializerInterface
2 files declare their use of ObjectInitializerInterface
- RecursiveContextualValidator.php in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Validator/ RecursiveContextualValidator.php - RecursiveValidator.php in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Validator/ RecursiveValidator.php
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ ObjectInitializerInterface.php, line 25
Namespace
Symfony\Component\ValidatorView source
interface ObjectInitializerInterface {
/**
* Initializes an object just before validation.
*
* @param object $object The object to validate
*
* @api
*/
public function initialize($object);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ObjectInitializerInterface:: |
public | function | Initializes an object just before validation. |