class InstanceCache

Methods

__construct()

InstanceCache constructor.

Space|null
getSpace()

Get the space to which this instance Cache belongs.

setSpace(Space $space)

Set the space to which this instance Cache belongs.

bool
hasSpace()

Whether the space has been cached or not

getContentType(string $id)

No description

bool
hasContentType(string $id)

No description

addContentType(ContentType $contentType)

No description

Details

at line 29
__construct()

InstanceCache constructor.

Currently empty but exists for forward compatibility.

at line 38
Space|null getSpace()

Get the space to which this instance Cache belongs.

Return Value

Space|null

at line 48
setSpace(Space $space)

Set the space to which this instance Cache belongs.

Parameters

Space $space

at line 58
bool hasSpace()

Whether the space has been cached or not

Return Value

bool

at line 68
ContentType|null getContentType(string $id)

Parameters

string $id

Return Value

ContentType|null

at line 82
bool hasContentType(string $id)

Parameters

string $id

Return Value

bool

at line 90
addContentType(ContentType $contentType)

Parameters

ContentType $contentType