You are here

public function ValidatorBuilderInterface::addObjectInitializer in Plug 7

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 lib/Symfony/validator/Symfony/Component/Validator/ValidatorBuilder.php
Adds an object initializer to the validator.

File

lib/Symfony/validator/Symfony/Component/Validator/ValidatorBuilderInterface.php, line 33

Class

ValidatorBuilderInterface
A configurable builder for ValidatorInterface objects.

Namespace

Symfony\Component\Validator

Code

public function addObjectInitializer(ObjectInitializerInterface $initializer);