You are here

public function ValidatorBuilderInterface::addObjectInitializer in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/ValidatorBuilderInterface.php \Symfony\Component\Validator\ValidatorBuilderInterface::addObjectInitializer()

Adds an object initializer to the validator.

Parameters

ObjectInitializerInterface $initializer The initializer:

Return value

ValidatorBuilderInterface The builder object

1 method overrides ValidatorBuilderInterface::addObjectInitializer()
ValidatorBuilder::addObjectInitializer in vendor/symfony/validator/ValidatorBuilder.php
Adds an object initializer to the validator.

File

vendor/symfony/validator/ValidatorBuilderInterface.php, line 33

Class

ValidatorBuilderInterface
A configurable builder for ValidatorInterface objects.

Namespace

Symfony\Component\Validator

Code

public function addObjectInitializer(ObjectInitializerInterface $initializer);