class SystemProperties implements JsonSerializable

A SystemProperties instance contains the metadata of a resource.

Methods

__construct(string $id, string $type, Space $space = null, ContentType $contentType = null, int|null $revision = null, DateTimeImmutable $createdAt = null, DateTimeImmutable $updatedAt = null, DateTimeImmutable $deletedAt = null, string|null $locale = null)

SystemProperties constructor.

string
getId()

No description

string
getType()

No description

Space|null
getSpace()

No description

getContentType()

No description

int|null
getRevision()

No description

string|null
getLocale()

No description

getCreatedAt()

No description

getUpdatedAt()

No description

getDeletedAt()

No description

object
jsonSerialize()

Returns an object to be used by json_encode to serialize objects of this class.

Details

at line 75
__construct(string $id, string $type, Space $space = null, ContentType $contentType = null, int|null $revision = null, DateTimeImmutable $createdAt = null, DateTimeImmutable $updatedAt = null, DateTimeImmutable $deletedAt = null, string|null $locale = null)

SystemProperties constructor.

Parameters

string $id
string $type
Space $space
ContentType $contentType
int|null $revision
DateTimeImmutable $createdAt
DateTimeImmutable $updatedAt
DateTimeImmutable $deletedAt
string|null $locale

at line 93
string getId()

Return Value

string

at line 101
string getType()

Return Value

string

at line 109
Space|null getSpace()

Return Value

Space|null

at line 117
ContentType|null getContentType()

Return Value

ContentType|null

at line 125
int|null getRevision()

Return Value

int|null

at line 133
string|null getLocale()

Return Value

string|null

at line 141
DateTimeImmutable|null getCreatedAt()

Return Value

DateTimeImmutable|null

at line 149
DateTimeImmutable|null getUpdatedAt()

Return Value

DateTimeImmutable|null

at line 157
DateTimeImmutable|null getDeletedAt()

Return Value

DateTimeImmutable|null

at line 169
object jsonSerialize()

Returns an object to be used by json_encode to serialize objects of this class.

Return Value

object

See also

http://php.net/manual/en/jsonserializable.jsonserialize.php JsonSerializable::jsonSerialize