public function ValidatorBuilderInterface::setMetadataCache in Plug 7
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 lib/
Symfony/ validator/ Symfony/ Component/ Validator/ ValidatorBuilder.php - Sets the cache for caching class metadata.
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ ValidatorBuilderInterface.php, line 130
Class
- ValidatorBuilderInterface
- A configurable builder for ValidatorInterface objects.
Namespace
Symfony\Component\ValidatorCode
public function setMetadataCache(CacheInterface $cache);