You are here

interface ObjectInitializerInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/ObjectInitializerInterface.php \Symfony\Component\Validator\ObjectInitializerInterface

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>

Hierarchy

Expanded class hierarchy of ObjectInitializerInterface

All classes that implement ObjectInitializerInterface

2 files declare their use of ObjectInitializerInterface
RecursiveContextualValidator.php in vendor/symfony/validator/Validator/RecursiveContextualValidator.php
RecursiveValidator.php in vendor/symfony/validator/Validator/RecursiveValidator.php

File

vendor/symfony/validator/ObjectInitializerInterface.php, line 23

Namespace

Symfony\Component\Validator
View source
interface ObjectInitializerInterface {

  /**
   * Initializes an object just before validation.
   *
   * @param object $object The object to validate
   */
  public function initialize($object);

}

Members

Namesort descending Modifiers Type Description Overrides
ObjectInitializerInterface::initialize public function Initializes an object just before validation.