You are here

public function CacheInterface::has in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Mapping/Cache/CacheInterface.php \Symfony\Component\Validator\Mapping\Cache\CacheInterface::has()

Returns whether metadata for the given class exists in the cache.

Parameters

string $class:

2 methods override CacheInterface::has()
ApcCache::has in vendor/symfony/validator/Mapping/Cache/ApcCache.php
Returns whether metadata for the given class exists in the cache.
DoctrineCache::has in vendor/symfony/validator/Mapping/Cache/DoctrineCache.php
Returns whether metadata for the given class exists in the cache.

File

vendor/symfony/validator/Mapping/Cache/CacheInterface.php, line 28

Class

CacheInterface
Persists ClassMetadata instances in a cache.

Namespace

Symfony\Component\Validator\Mapping\Cache

Code

public function has($class);