$publishDate
$publishDate : \DateTimeInterface
A full implementation, as trait, of the `PublishableInterface`.
setPublishDate(string|\DateTimeInterface|null $publishDate) : \Charcoal\Object\PublishableInterface
string|\DateTimeInterface|null | $publishDate | The publishing date. |
If the date/time is invalid.
Chainable
setExpiryDate(string|\DateTimeInterface|null $expiryDate) : \Charcoal\Object\PublishableInterface
string|\DateTimeInterface|null | $expiryDate | The expiry date. |
If the date/time is invalid.
Chainable
setPublishStatus(string $status) : \Charcoal\Object\PublishableInterface
string | $status | The publish status (draft, pending or published). |
If the status is not one of the 3 valid status.
Chainable