You are here

public function CacheInterface::has in Plug 7

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

Parameters

string $class:

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

File

lib/Symfony/validator/Symfony/Component/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);