Mapping\Cache\ApcCache (Component\Validator)
Symfony\Component\Validator\Mapping\Cache\ApcCache
class ApcCache implements CacheInterface
Methods
__construct($prefix) | ||
has(string $class) Returns whether metadata for the given class exists in the cache. | ||
ClassMetadata|false | read(string $class) Returns the metadata for the given class from the cache. | |
write(ClassMetadata $metadata) Stores a class metadata in the cache. |
Details
public __construct($prefix)
public has(string $class)
Returns whether metadata for the given class exists in the cache.
public ClassMetadata|false read(string $class)
Returns the metadata for the given class from the cache.
public write(ClassMetadata $metadata)
Stores a class metadata in the cache.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Validator/Mapping/Cache/ApcCache.html