concrete/src/Cache/CacheClearer.php
protected function getCaches()
    {
        foreach ($this->caches as $key => $cache) {
            if (!$cache instanceof FlushableInterface) {
                $cache = $this->application->make($cache);
            }

            if ($cache instanceof FlushableInterface) {
                yield $key => $cache;
            }
        }
    }
protected function getCaches()
    {
        foreach ($this->caches as $key => $cache) {
            if (!$cache instanceof FlushableInterface) {
                $cache = $this->application->make($cache);
            }

            if ($cache instanceof FlushableInterface) {
                yield $key => $cache;
            }
        }
    }
protected function getCaches ( ) { foreach ( $ this -> caches as $ key => $ cache ) { if ( ! $ cache instanceof FlushableInterface ) { $ cache = $ this -> application -> make ( $ cache ) ; } if ( $ cache instanceof FlushableInterface ) { yield $ key => $ cache ; } } }
A generator that populates the cache objects from the container
@return \Generator|FlushableInterface[]
A generator that populates the cache objects from the container