프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$backend | |||
$identifier | string | Identifies this cache |
메소드 | 설명 | |
---|---|---|
__construct ( string $identifier, Neos\Cache\Backend\BackendInterface $backend ) | Constructs the cache | |
collectGarbage ( ) : void | Does garbage collection | |
flush ( ) : void | Removes all cache entries of this cache. | |
flushByTag ( string $tag ) : integer | Removes all cache entries of this cache which are tagged by the specified tag. | |
getBackend ( ) : Neos\Cache\Backend\BackendInterface | Returns the backend used by this cache | |
getIdentifier ( ) : string | Returns this cache's identifier | |
has ( string $entryIdentifier ) : boolean | Checks if a cache entry with the specified identifier exists. | |
initializeObject ( ) : void | Initializes this frontend | |
isValidEntryIdentifier ( string $identifier ) : boolean | Checks the validity of an entry identifier. Returns true if it's valid. | |
isValidTag ( string $tag ) : boolean | Checks the validity of a tag. Returns true if it's valid. | |
remove ( string $entryIdentifier ) : boolean | Removes the given cache entry from the cache. |
public __construct ( string $identifier, Neos\Cache\Backend\BackendInterface $backend ) | ||
$identifier | string | A identifier which describes this cache |
$backend | Neos\Cache\Backend\BackendInterface | Backend to be used for this cache |
public flushByTag ( string $tag ) : integer | ||
$tag | string | The tag the entries must have |
리턴 | integer | The number of entries which have been affected by this flush or NULL if the number is unknown |
public getBackend ( ) : Neos\Cache\Backend\BackendInterface | ||
리턴 | Neos\Cache\Backend\BackendInterface | The backend used by this cache |
public getIdentifier ( ) : string | ||
리턴 | string | The identifier for this cache |
public initializeObject ( ) : void | ||
리턴 | void |
public isValidEntryIdentifier ( string $identifier ) : boolean | ||
$identifier | string | An identifier to be checked for validity |
리턴 | boolean |
public isValidTag ( string $tag ) : boolean | ||
$tag | string | An identifier to be checked for validity |
리턴 | boolean |
protected AbstractBackend,Neos\Cache\Backend $backend | ||
리턴 |