Class ObjectStorage
Implementation of Storage, Locator and AliasAware interfaces.
class ObjectStorage(Type, KeyType)
;
Stores Type elements by KeyType identity in.
Methods
Name | Description |
---|---|
contents
|
Get the contents of storage as associative array. |
get
|
Fetch an element by identity. |
has
|
Check if an element is present in storage. |
link
|
Alias an identity with alias_/ |
opApply
|
Iterate over elements in storage |
remove
|
Remove an element with identity from storage. |
resolve
|
Resolve the alias to an element identity. |
set
|
Save an element in storage by identity. |
unlink
|
Removes alias. |