src/Caching/AbstractCachingService.php
public function getData()
    {
        if (!Cache::has($this->cacheKey)) {
            $this->refreshCache();
        }

        return Cache::get($this->cacheKey);
    }
public function getData()
    {
        if (!Cache::has($this->cacheKey)) {
            $this->refreshCache();
        }

        return Cache::get($this->cacheKey);
    }
public function getData ( ) { if ( ! Cache :: has ( $ this -> cacheKey ) ) { $ this -> refreshCache ( ) ; } return Cache :: get ( $ this -> cacheKey ) ; }
Return the cached data. Refresh cache if cache has not yet been initialized.

@return mixed
Return the cached data . Refresh cache if cache has not yet been initialized .