You are here

public function ValidatorBuilderInterface::setMetadataCache in Zircon Profile 8

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

Sets the cache for caching class metadata.

Parameters

CacheInterface $cache The cache instance:

Return value

ValidatorBuilderInterface The builder object

1 method overrides ValidatorBuilderInterface::setMetadataCache()
ValidatorBuilder::setMetadataCache in vendor/symfony/validator/ValidatorBuilder.php
Sets the cache for caching class metadata.

File

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

Class

ValidatorBuilderInterface
A configurable builder for ValidatorInterface objects.

Namespace

Symfony\Component\Validator

Code

public function setMetadataCache(CacheInterface $cache);