Ejemplo n.º 1
0
 /**
  * Updates states and revision number of the content.
  *
  * @param AbstractClassContent  $content            The content to be updated.
  * @param integer               $revision           Optional, the revision number (1 by default).
  * @param integer               $state              Optional, The state (STATE_NORMAL by default).
  *
  * @return PageBuilder                              The builder instance.
  * @codeCoverageIgnore
  */
 private function updateContentRevision(AbstractClassContent $content, $revision = 1, $state = AbstractClassContent::STATE_NORMAL)
 {
     $content->setRevision((int) $revision);
     $content->setState((int) $state);
     return $this;
 }