private function hoursSinceUpdate()
    {
        $file = $this->storage('.updated');  // Last updated file
        // Return 0 if no file
        if (!file_exists($file)) {
            return static::UPDATE_INTVL_H;
        }

        // Return hours since last update
        return (time() - file_get_contents($file)) / 3600;
    }
private function hoursSinceUpdate()
    {
        $file = $this->storage('.updated');  // Last updated file
        // Return 0 if no file
        if (!file_exists($file)) {
            return static::UPDATE_INTVL_H;
        }

        // Return hours since last update
        return (time() - file_get_contents($file)) / 3600;
    }
private function hoursSinceUpdate ( ) { $ file = $ this -> storage ( '.updated' ) ; // Last updated file // Return 0 if no file if ( ! file_exists ( $ file ) ) { return static :: UPDATE_INTVL_H ; } // Return hours since last update return ( time ( ) - file_get_contents ( $ file ) ) / 3600 ; }
Returns the number of hours since last updating the local data

@return float
Returns the number of hours since last updating the local data