Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ObjectInitializerInterface.php

interface ObjectInitializerInterface

Prepares an object for validation.

Concrete implementations of this interface are used by {@link Validator\ContextualValidatorInterface} to initialize objects just before validating them.

@author Fabien Potencier <fabien@symfony.com> @author Bernhard Schussek <bschussek@gmail.com>

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 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 {
    public function initialize(object $object) : void;

}

Members

Title Sort descending Modifiers Object type Summary
ObjectInitializerInterface::initialize public function

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal