public function ValidatorBuilder::addObjectInitializers in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/ValidatorBuilder.php \Symfony\Component\Validator\ValidatorBuilder::addObjectInitializers()
Adds a list of object initializers to the validator.
Parameters
array $initializers The initializer:
Return value
ValidatorBuilderInterface The builder object
Overrides ValidatorBuilderInterface::addObjectInitializers
File
- vendor/
symfony/ validator/ ValidatorBuilder.php, line 110
Class
- ValidatorBuilder
- The default implementation of {@link ValidatorBuilderInterface}.
Namespace
Symfony\Component\ValidatorCode
public function addObjectInitializers(array $initializers) {
$this->initializers = array_merge($this->initializers, $initializers);
return $this;
}