src/BoomCMS/Database/Models/Page.php
public function setEmbargoTime(DateTime $time): PageInterface
    {
        $this->addVersion([
            PageVersion::ATTR_PENDING_APPROVAL => false,
            PageVersion::ATTR_EMBARGOED_UNTIL  => $time->getTimestamp(),
        ]);

        return $this;
    }
public function setEmbargoTime(DateTime $time): PageInterface
    {
        $this->addVersion([
            PageVersion::ATTR_PENDING_APPROVAL => false,
            PageVersion::ATTR_EMBARGOED_UNTIL  => $time->getTimestamp(),
        ]);

        return $this;
    }
public function setEmbargoTime ( DateTime $ time ) : PageInterface { $ this -> addVersion ( [ PageVersion :: ATTR_PENDING_APPROVAL => false , PageVersion :: ATTR_EMBARGOED_UNTIL => $ time -> getTimestamp ( ) , ] ) ; return $ this ; }
Set an embargo time for any unpublished changes.

If the time is in the past then the changes become published.
Set an embargo time for any unpublished changes .