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 32
__construct()

InstanceCache constructor.

Currently empty but exists for forward compatibility.

at line 41
Space|null getSpace()

Get the space to which this instance Cache belongs.

Return Value

Space|null

at line 51
setSpace(Space $space)

Set the space to which this instance Cache belongs.

Parameters

Space $space

at line 61
bool hasSpace()

Whether the space has been cached or not.

Return Value

bool

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

Parameters

string $id

Return Value

ContentType|null

at line 85
bool hasContentType(string $id)

Parameters

string $id

Return Value

bool

at line 93
addContentType(ContentType $contentType)

Parameters

ContentType $contentType