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 74
__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 92
string getId()

Return Value

string

at line 100
string getType()

Return Value

string

at line 108
Space|null getSpace()

Return Value

Space|null

at line 116
ContentType|null getContentType()

Return Value

ContentType|null

at line 124
int|null getRevision()

Return Value

int|null

at line 132
string|null getLocale()

Return Value

string|null

at line 140
DateTimeImmutable|null getCreatedAt()

Return Value

DateTimeImmutable|null

at line 148
DateTimeImmutable|null getUpdatedAt()

Return Value

DateTimeImmutable|null

at line 156
DateTimeImmutable|null getDeletedAt()

Return Value

DateTimeImmutable|null

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