You are here

public function ValidatorBuilderInterface::setPropertyAccessor in Plug 7

Sets the property accessor for resolving property paths.

Parameters

PropertyAccessorInterface $propertyAccessor The property accessor:

Return value

ValidatorBuilderInterface The builder object

Deprecated

Deprecated since version 2.5, to be removed in Symfony 3.0.

1 method overrides ValidatorBuilderInterface::setPropertyAccessor()
ValidatorBuilder::setPropertyAccessor in lib/Symfony/validator/Symfony/Component/Validator/ValidatorBuilder.php
Sets the property accessor for resolving property paths.

File

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

Class

ValidatorBuilderInterface
A configurable builder for ValidatorInterface objects.

Namespace

Symfony\Component\Validator

Code

public function setPropertyAccessor(PropertyAccessorInterface $propertyAccessor);