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)

SystemProperties constructor.

string
getId()

No description

string
getType()

No description

Space|null
getSpace()

No description

getContentType()

No description

int|null
getRevision()

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 68
__construct(string $id, string $type, Space $space = null, ContentType $contentType = null, int|null $revision = null, DateTimeImmutable $createdAt = null, DateTimeImmutable $updatedAt = null, DateTimeImmutable $deletedAt = null)

SystemProperties constructor.

Parameters

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

at line 85
string getId()

Return Value

string

at line 93
string getType()

Return Value

string

at line 101
Space|null getSpace()

Return Value

Space|null

at line 109
ContentType|null getContentType()

Return Value

ContentType|null

at line 117
int|null getRevision()

Return Value

int|null

at line 125
DateTimeImmutable|null getCreatedAt()

Return Value

DateTimeImmutable|null

at line 133
DateTimeImmutable|null getUpdatedAt()

Return Value

DateTimeImmutable|null

at line 141
DateTimeImmutable|null getDeletedAt()

Return Value

DateTimeImmutable|null

at line 153
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