trait PublishedTrait

Traits

Properties

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
protected int|null $publishedCounter
protected DateTimeImmutable|null $publishedAt
protected Link|null $publishedBy

Methods

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

Details

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()

at line 46
protected initPublished(array $data)

Parameters

array $data

at line 61
protected jsonSerializePublished()

at line 85
DateTimeImmutable|null getFirstPublishedAt()

Return Value

DateTimeImmutable|null

at line 93
DateTimeImmutable|null getPublishedAt()

Return Value

DateTimeImmutable|null

at line 101
Link|null getPublishedBy()

Return Value

Link|null

at line 109
int|null getPublishedCounter()

Return Value

int|null

at line 117
int|null getPublishedVersion()

Return Value

int|null

at line 122
isDraft()

at line 127
isPublished()

at line 132
isUpdated()