Platformsh\Cli\SelfUpdate\ManifestStrategy::getRemoteVersionInfo PHP Метод

getRemoteVersionInfo() приватный Метод

Get version information for the latest remote version.
private getRemoteVersionInfo ( Humbug\SelfUpdate\Updater $updater ) : array
$updater Humbug\SelfUpdate\Updater
Результат array
    private function getRemoteVersionInfo(Updater $updater)
    {
        $version = $this->getCurrentRemoteVersion($updater);
        if ($version === false) {
            throw new \RuntimeException('No remote versions found');
        }
        $versionInfo = $this->getAvailableVersions();
        if (!isset($versionInfo[$version])) {
            throw new \RuntimeException(sprintf('Failed to find manifest item for version %s', $version));
        }
        return $versionInfo[$version];
    }