public function getCurrentRevision()
    {
        if ($this->currentRevision === null) {
            $this->setCurrentRevision($this->revisionRepository->getCurrentByEnvironment($this));
        }
        return $this->currentRevision;
    }
public function getCurrentRevision()
    {
        if ($this->currentRevision === null) {
            $this->setCurrentRevision($this->revisionRepository->getCurrentByEnvironment($this));
        }
        return $this->currentRevision;
    }
public function getCurrentRevision ( ) { if ( $ this -> currentRevision === null ) { $ this -> setCurrentRevision ( $ this -> revisionRepository -> getCurrentByEnvironment ( $ this ) ) ; } return $ this -> currentRevision ; }
Get CurrentRevision.

@return \KmbDomain\Model\RevisionInterface
Get CurrentRevision .