class Entry extends BaseSystemProperties implements VersionableSystemPropertiesInterface

Traits

Properties

protected string $id from BaseSystemProperties
protected string $type from BaseSystemProperties
protected DateTimeImmutable|null $archivedAt from ArchivedTrait
protected Link|null $archivedBy from ArchivedTrait
protected Link $contentType from ContentTypeTrait
protected Link $environment from EnvironmentTrait
protected DateTimeImmutable $createdAt from CreatedAtTrait
protected Link $createdBy from CreatedByTrait
protected DateTimeImmutable $updatedAt from UpdatedAtTrait
protected Link $updatedBy from UpdatedByTrait
protected int $version from VersionedTrait
protected DateTimeImmutable|null $firstPublishedAt from PublishedTrait
protected int|null $publishedCounter from PublishedTrait
protected DateTimeImmutable|null $publishedAt from PublishedTrait
protected Link|null $publishedBy from PublishedTrait
protected Link $space from SpaceTrait

Methods

init(string $type, string $id)

No description

getId()

No description

getType()

No description

jsonSerialize()

{@inheritdoc}

initArchived(array $data)

No description

jsonSerializeArchived()

No description

DateTimeImmutable|null
getArchivedAt()

No description

Link|null
getArchivedBy()

No description

int|null
getArchivedVersion()

No description

isArchived()

No description

initContentType(array $data)

No description

getContentType()

No description

initEnvironment(array $data)

No description

getEnvironment()

No description

initCreatedAt(array $data)

No description

jsonSerializeCreatedAt()

No description

getCreatedAt()

No description

initCreatedBy(array $data)

No description

jsonSerializeCreatedBy()

No description

getCreatedBy()

No description

initCreated(array $data)

No description

jsonSerializeCreated()

No description

initUpdatedAt(array $data)

No description

jsonSerializeUpdatedAt()

No description

getUpdatedAt()

No description

initUpdatedBy(array $data)

No description

jsonSerializeUpdatedBy()

No description

getUpdatedBy()

No description

initUpdated(array $data)

No description

jsonSerializeUpdated()

No description

initVersioned(array $data)

No description

jsonSerializeVersioned()

No description

getVersion()

No description

initEdited(array $data)

No description

jsonSerializeEdited()

No description

initPublished(array $data)

No description

jsonSerializePublished()

No description

DateTimeImmutable|null
getFirstPublishedAt()

No description

DateTimeImmutable|null
getPublishedAt()

No description

Link|null
getPublishedBy()

No description

int|null
getPublishedCounter()

No description

int|null
getPublishedVersion()

No description

isDraft()

No description

isPublished()

No description

isUpdated()

No description

initSpace(array $data)

No description

jsonSerializeSpace()

No description

getSpace()

No description

__construct(array $sys)

Entry constructor.

Details

in BaseSystemProperties at line 31
protected init(string $type, string $id)

Parameters

string $type
string $id

in BaseSystemProperties at line 37
getId()

in BaseSystemProperties at line 42
getType()

at line 39
jsonSerialize()

{@inheritdoc}

in ArchivedTrait at line 34
protected initArchived(array $data)

Parameters

array $data

in ArchivedTrait at line 45
protected jsonSerializeArchived()

in ArchivedTrait at line 57
DateTimeImmutable|null getArchivedAt()

Return Value

DateTimeImmutable|null

in ArchivedTrait at line 65
Link|null getArchivedBy()

Return Value

Link|null

in ArchivedTrait at line 73
int|null getArchivedVersion()

Return Value

int|null

in ArchivedTrait at line 78
isArchived()

in ContentTypeTrait at line 23
protected initContentType(array $data)

Parameters

array $data

in ContentTypeTrait at line 28
protected jsonSerializeContentType()

in ContentTypeTrait at line 35
getContentType()

in EnvironmentTrait at line 23
protected initEnvironment(array $data)

Parameters

array $data

in EnvironmentTrait at line 28
protected jsonSerializeEnvironment()

in EnvironmentTrait at line 35
getEnvironment()

in CreatedAtTrait at line 23
protected initCreatedAt(array $data)

Parameters

array $data

in CreatedAtTrait at line 28
protected jsonSerializeCreatedAt()

in CreatedAtTrait at line 35
getCreatedAt()

in CreatedByTrait at line 23
protected initCreatedBy(array $data)

Parameters

array $data

in CreatedByTrait at line 30
protected jsonSerializeCreatedBy()

in CreatedByTrait at line 37
getCreatedBy()

in CreatedTrait at line 19
protected initCreated(array $data)

Parameters

array $data

in CreatedTrait at line 25
protected jsonSerializeCreated()

in UpdatedAtTrait at line 23
protected initUpdatedAt(array $data)

Parameters

array $data

in UpdatedAtTrait at line 28
protected jsonSerializeUpdatedAt()

in UpdatedAtTrait at line 35
getUpdatedAt()

in UpdatedByTrait at line 23
protected initUpdatedBy(array $data)

Parameters

array $data

in UpdatedByTrait at line 30
protected jsonSerializeUpdatedBy()

in UpdatedByTrait at line 37
getUpdatedBy()

in UpdatedTrait at line 19
protected initUpdated(array $data)

Parameters

array $data

in UpdatedTrait at line 25
protected jsonSerializeUpdated()

in VersionedTrait at line 21
protected initVersioned(array $data)

Parameters

array $data

in VersionedTrait at line 26
protected jsonSerializeVersioned()

in VersionedTrait at line 33
getVersion()

in EditedTrait at line 20
protected initEdited(array $data)

Parameters

array $data

in EditedTrait at line 27
protected jsonSerializeEdited()

in PublishedTrait at line 46
protected initPublished(array $data)

Parameters

array $data

in PublishedTrait at line 61
protected jsonSerializePublished()

in PublishedTrait at line 85
DateTimeImmutable|null getFirstPublishedAt()

Return Value

DateTimeImmutable|null

in PublishedTrait at line 93
DateTimeImmutable|null getPublishedAt()

Return Value

DateTimeImmutable|null

in PublishedTrait at line 101
Link|null getPublishedBy()

Return Value

Link|null

in PublishedTrait at line 109
int|null getPublishedCounter()

Return Value

int|null

in PublishedTrait at line 117
int|null getPublishedVersion()

Return Value

int|null

in PublishedTrait at line 122
isDraft()

in PublishedTrait at line 127
isPublished()

in PublishedTrait at line 132
isUpdated()

in SpaceTrait at line 23
protected initSpace(array $data)

Parameters

array $data

in SpaceTrait at line 28
protected jsonSerializeSpace()

in SpaceTrait at line 35
getSpace()

at line 25
__construct(array $sys)

Entry constructor.

Parameters

array $sys