public function flushAll()
    {
        if (null !== $this->cache) {
            foreach ($this->config as $config) {
                if (array_key_exists('cacheKey', $config)) {
                    $this->app[$this->cache]->delete($config['cacheKey']);
                }
            }
        }

        $this->config = [];
    }
public function flushAll()
    {
        if (null !== $this->cache) {
            foreach ($this->config as $config) {
                if (array_key_exists('cacheKey', $config)) {
                    $this->app[$this->cache]->delete($config['cacheKey']);
                }
            }
        }

        $this->config = [];
    }
public function flushAll ( ) { if ( null !== $ this -> cache ) { foreach ( $ this -> config as $ config ) { if ( array_key_exists ( 'cacheKey' , $ config ) ) { $ this -> app [ $ this -> cache ] -> delete ( $ config [ 'cacheKey' ] ) ; } } } $ this -> config = [ ] ; }
Flush all config loaded by this loader.

Flushes the internal buffer and those in memcache (if configured).
Flush all config loaded by this loader .