Pagekit\Console\Commands\SelfupdateCommand::getVersions PHP Méthode

getVersions() protected méthode

protected getVersions ( ) : mixed
Résultat mixed
    protected function getVersions()
    {
        if (!($res = file_get_contents($this->container->get('system.api') . '/api/update'))) {
            App::abort(500, 'Could not obtain latest Version.');
        }
        return json_decode($res, true);
    }