PersistentObject: ezcPersistentCacheManager
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcPersistentCacheManager
|
Caches fetched definition so they don't have to be read from the original source for each use. [
source]
The cache is typically used to wrap around another ezcPersistentDefinitionManager of your choice.
Parents
ezcPersistentDefinitionManager
|
--ezcPersistentCacheManager
Method Summary
|
public ezcPersistentCacheManager |
__construct(
$manager )
Constructs a new definition cache. |
|
public ezcPersistentDefinition |
fetchDefinition(
$class )
Returns the definition of the persistent object with the class $class. |
Inherited Methods
From
ezcPersistentDefinitionManager :
Methods
__construct
Constructs a new definition cache.
Parameters
fetchDefinition
ezcPersistentDefinition fetchDefinition(
string
$class )
Returns the definition of the persistent object with the class $class.
If a definition has been requested already the definition will be served from the cache.
Parameters
| Name |
Type |
Description |
$class |
string |
|
Throws
| Class | Description |
ezcPersistentDefinitionNotFoundException |
if no such definition can be found. |
Redefinition of
Last updated: Mon, 17 Dec 2007