PublishedTrait
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
initPublished(array $data)
No description
array
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
bool
isDraft()
No description
bool
isPublished()
No description
bool
isUpdated()
No description