public function cacheResources($resources)
    {
        if ($this->cacheIsEnabled()) {
            IlluminateCache::put(
                config('health.cache.key'),
                $resources,
                $this->getMinutes()
            );
        }

        return $resources;
    }
public function cacheResources($resources)
    {
        if ($this->cacheIsEnabled()) {
            IlluminateCache::put(
                config('health.cache.key'),
                $resources,
                $this->getMinutes()
            );
        }

        return $resources;
    }
public function cacheResources ( $ resources ) { if ( $ this -> cacheIsEnabled ( ) ) { IlluminateCache :: put ( config ( 'health.cache.key' ) , $ resources , $ this -> getMinutes ( ) ) ; } return $ resources ; }
Cache all resources.

@param Collection $resources
@return Collection
Cache all resources .