public getInstallationManager ( ) : Puli\Manager\Api\Installation\InstallationManager | ||
Результат | Puli\Manager\Api\Installation\InstallationManager | The installation manager. |
public function getInstallationManager()
{
if (!$this->started) {
throw new LogicException('Puli was not started');
}
if (!$this->installationManager && $this->context instanceof ProjectContext) {
$this->installationManager = new InstallationManagerImpl($this->getContext(), $this->getRepository(), $this->getServerManager()->getServers(), $this->getInstallerManager());
}
return $this->installationManager;
}