InstanceCache
class InstanceCache
Methods
__construct()
InstanceCache constructor.
bool
hasSpace()
Whether the space has been cached or not
bool
hasAsset(string $id)
No description
ContentType|null
getContentType(string $id)
No description
bool
hasContentType(string $id)
No description
DynamicEntry|null
getEntry(string $id)
No description
bool
hasEntry(string $id)
No description
Details
at line 36
__construct()
InstanceCache constructor.
Currently empty but exists for forward compatability.
at line 45
Space|null
getSpace()
Get the space to which this instance Cache belongs.
at line 55
setSpace(Space $space)
Set the space to which this instance Cache belongs.
at line 65
bool
hasSpace()
Whether the space has been cached or not
at line 77
Asset|null
getAsset(string $id)
Get the asset with the specified ID out of the cache