versionSvc = $versionSvc; } public function compose(View $view) { $view->with('version', $this->versionSvc->getCurrentVersion(false)); $view->with('version_full', $this->versionSvc->getCurrentVersion(true)); } }