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 76
__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 94
string
getId()
at line 102
string
getType()
at line 110
Space|null
getSpace()
at line 118
ContentType|null
getContentType()
at line 126
int|null
getRevision()
at line 134
string|null
getLocale()
at line 142
DateTimeImmutable|null
getCreatedAt()
at line 150
DateTimeImmutable|null
getUpdatedAt()
at line 158
DateTimeImmutable|null
getDeletedAt()
at line 170
object
jsonSerialize()
Returns an object to be used by json_encode
to serialize objects of this class.