public function getVersions() { if ($this->versions === null) { $this->setVersions($this->getDao()->getVersions()); } return $this->versions; }