4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\Validator;
15 * Prepares an object for validation.
17 * Concrete implementations of this interface are used by {@link ValidationVisitorInterface}
18 * to initialize objects just before validating them.
20 * @author Fabien Potencier <fabien@symfony.com>
21 * @author Bernhard Schussek <bschussek@gmail.com>
23 interface ObjectInitializerInterface
26 * Initializes an object just before validation.
28 * @param object $object The object to validate
30 public function initialize($object);