Initial commit with Symfony 2.1+Vendors

Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
This commit is contained in:
Polonkai Gergely
2012-07-01 09:52:20 +02:00
commit 082a0130c2
5381 changed files with 416709 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
<?php
namespace Metadata\Cache;
use Metadata\ClassMetadata;
interface CacheInterface
{
/**
* Loads a class metadata instance from the cache
*
* @param \ReflectionClass $class
*
* @return ClassMetadata
*/
function loadClassMetadataFromCache(\ReflectionClass $class);
/**
* Puts a class metadata instance into the cache
*
* @param ClassMetadata $metadata
*
* @return void
*/
function putClassMetadataInCache(ClassMetadata $metadata);
/**
* Evicts the class metadata for the given class from the cache.
*
* @param \ReflectionClass $class
*
* @return void
*/
function evictClassMetadataFromCache(\ReflectionClass $class);
}