PHP Class Storm\Api\Base\IdentityMap

Author: Elliot Levin ([email protected])
Mostra file Open project: timetoogo/penumbra Class Usage Examples

Protected Properties

Property Type Description
$EntityMap Storm\Core\Object\IEntityMap The EntityMap for this identity map.

Public Methods

Method Description
CacheEntities ( array $Entities )
CacheEntity ( $Entity, Identity $Identity = null )
Clear ( )
GetFromCache ( Identity $Identity )
RemoveAllFromCache ( array $Entities )
RemoveFromCache ( $Entity )
__construct ( Storm\Core\Object\IEntityMap $EntityMap, Storm\Utilities\Cache\ICache $Cache )

Method Details

CacheEntities() final public method

final public CacheEntities ( array $Entities )
$Entities array

CacheEntity() final public method

final public CacheEntity ( $Entity, Identity $Identity = null )
$Identity Storm\Core\Object\Identity

Clear() final public method

final public Clear ( )

GetFromCache() final public method

final public GetFromCache ( Identity $Identity )
$Identity Storm\Core\Object\Identity

RemoveAllFromCache() final public method

final public RemoveAllFromCache ( array $Entities )
$Entities array

RemoveFromCache() final public method

final public RemoveFromCache ( $Entity )

__construct() public method

public __construct ( Storm\Core\Object\IEntityMap $EntityMap, Storm\Utilities\Cache\ICache $Cache )
$EntityMap Storm\Core\Object\IEntityMap
$Cache Storm\Utilities\Cache\ICache

Property Details

$EntityMap protected_oe property

The EntityMap for this identity map.
protected IEntityMap,Storm\Core\Object $EntityMap
return Storm\Core\Object\IEntityMap