public function setBuildNumberManually()
    {
        $postData = [];

        if (Config::get('cms.edgeUpdates', false)) {
            $postData['edge'] = 1;
        }

        $result = $this->requestServerData('ping', $postData);

        $build = (int) array_get($result, 'pong', 420);

        $this->setBuild($build);

        return $build;
    }
public function setBuildNumberManually()
    {
        $postData = [];

        if (Config::get('cms.edgeUpdates', false)) {
            $postData['edge'] = 1;
        }

        $result = $this->requestServerData('ping', $postData);

        $build = (int) array_get($result, 'pong', 420);

        $this->setBuild($build);

        return $build;
    }
public function setBuildNumberManually ( ) { $ postData = [ ] ; if ( Config :: get ( 'cms.edgeUpdates' , false ) ) { $ postData [ 'edge' ] = 1 ; } $ result = $ this -> requestServerData ( 'ping' , $ postData ) ; $ build = ( int ) array_get ( $ result , 'pong' , 420 ) ; $ this -> setBuild ( $ build ) ; return $ build ; }
Asks the gateway for the lastest build number and stores it.
@return void
Asks the gateway for the lastest build number and stores it .