protected function cacheCountBetween($count, Carbon $from, Carbon $until, $locale, $cacheKey)
    {
        // Cache only if cacheKey is present
        if ($cacheKey && ($until->timestamp < Carbon::now()->timestamp))
        {
            $key = $this->makeBetweenCacheKey($from, $until, $locale, $cacheKey);

            $this->cache->put($key, $count, 525600);
        }
    }
protected function cacheCountBetween($count, Carbon $from, Carbon $until, $locale, $cacheKey)
    {
        // Cache only if cacheKey is present
        if ($cacheKey && ($until->timestamp < Carbon::now()->timestamp))
        {
            $key = $this->makeBetweenCacheKey($from, $until, $locale, $cacheKey);

            $this->cache->put($key, $count, 525600);
        }
    }
protected function cacheCountBetween ( $ count , Carbon $ from , Carbon $ until , $ locale , $ cacheKey ) { // Cache only if cacheKey is present if ( $ cacheKey && ( $ until -> timestamp < Carbon :: now ( ) -> timestamp ) ) { $ key = $ this -> makeBetweenCacheKey ( $ from , $ until , $ locale , $ cacheKey ) ; $ this -> cache -> put ( $ key , $ count , 525600 ) ; } }
Caches count between if cacheKey is present

@param int $count
@param Carbon $from
@param Carbon $until
@param string $locale
@param string $cacheKey
Caches count between if cacheKey is present