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];
    }
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];
    }
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 ] ; }
Get version information for the latest remote version.

@param Updater $updater

@return array
Get version information for the latest remote version .