/** * Returns the revision number of the content. * * @return int * @codeCoverageIgnore */ public function getRevision() { return null !== $this->getDraft() ? $this->getDraft()->getRevision() : parent::getRevision(); }