public function enableVersion(VersionInterface $version) { $this->versionCollection[$version->getVersionNumber()] = $version; $this->updateVersionHeader(); return $this; }