Method |
Description |
|
__construct ( ElggSession $session, MetadataCache $metadata_cache ) |
Constructor |
|
clear ( ) : void |
Clear the entity cache |
|
disableCachingForEntity ( integer $guid ) : void |
Remove this entity from the entity cache and make sure it is not re-added |
|
enableCachingForEntity ( integer $guid ) : void |
Allow this entity to be stored in the entity cache |
|
get ( integer $guid ) : ElggEntity | false |
Retrieve a entity from the cache. |
|
getByUsername ( string $username ) : ElggUser | false |
Returns cached user entity by username |
|
remove ( integer $guid ) : void |
Invalidate this class's entry in the cache. |
|
set ( ElggEntity $entity ) : void |
Cache an entity. |
|