You are here

public function ValidatorBuilderInterface::setPropertyAccessor in Zircon Profile 8

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

Sets the property accessor for resolving property paths.

Parameters

PropertyAccessorInterface $propertyAccessor The property accessor:

Return value

ValidatorBuilderInterface The builder object

Deprecated

since version 2.5, to be removed in 3.0.

1 method overrides ValidatorBuilderInterface::setPropertyAccessor()
ValidatorBuilder::setPropertyAccessor in vendor/symfony/validator/ValidatorBuilder.php

File

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

Class

ValidatorBuilderInterface
A configurable builder for ValidatorInterface objects.

Namespace

Symfony\Component\Validator

Code

public function setPropertyAccessor(PropertyAccessorInterface $propertyAccessor);