concrete/src/Updater/Update.php
public static function getApplicationUpdateInformation()
    {
        $app = Application::getFacadeApplication();
        $cache = $app->make('cache');
        $r = $cache->getItem('APP_UPDATE_INFO');
        if ($r->isMiss()) {
            $r->lock();
            $result = static::getLatestAvailableUpdate();
            $r->set($result)->save();
        } else {
            $result = $r->get();
        }

        return $result;
    }
public static function getApplicationUpdateInformation()
    {
        $app = Application::getFacadeApplication();
        $cache = $app->make('cache');
        $r = $cache->getItem('APP_UPDATE_INFO');
        if ($r->isMiss()) {
            $r->lock();
            $result = static::getLatestAvailableUpdate();
            $r->set($result)->save();
        } else {
            $result = $r->get();
        }

        return $result;
    }
public static function getApplicationUpdateInformation ( ) { $ app = Application :: getFacadeApplication ( ) ; $ cache = $ app -> make ( 'cache' ) ; $ r = $ cache -> getItem ( 'APP_UPDATE_INFO' ) ; if ( $ r -> isMiss ( ) ) { $ r -> lock ( ) ; $ result = static :: getLatestAvailableUpdate ( ) ; $ r -> set ( $ result ) -> save ( ) ; } else { $ result = $ r -> get ( ) ; } return $ result ; }
Retrieves the info about the latest available information.
The effective request to the remote server is done just once per request.

@return RemoteApplicationUpdate|null
Retrieves the info about the latest available information . The effective request to the remote server is done just once per request .