SystemProperties
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
ContentType|null
getContentType()
No description
int|null
getRevision()
No description
string|null
getLocale()
No description
DateTimeImmutable|null
getCreatedAt()
No description
DateTimeImmutable|null
getUpdatedAt()
No description
DateTimeImmutable|null
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.
at line 93
string
getId()
at line 101
string
getType()
at line 109
Space|null
getSpace()
at line 117
ContentType|null
getContentType()
at line 125
int|null
getRevision()
at line 133
string|null
getLocale()
at line 141
DateTimeImmutable|null
getCreatedAt()
at line 149
DateTimeImmutable|null
getUpdatedAt()
at line 157
DateTimeImmutable|null
getDeletedAt()
at line 169
object
jsonSerialize()
Returns an object to be used by json_encode
to serialize objects of this class.