src/storage/BaseFileSystemStorage.php
public function flushArrays()
    {
        $this->_filesArray = null;
        $this->_imagesArray = null;
        $this->_foldersArray = null;
        $this->_filtersArray = null;
        $this->deleteHasCache(self::CACHE_KEY_FILE);
        $this->deleteHasCache(self::CACHE_KEY_IMAGE);
        $this->deleteHasCache(self::CACHE_KEY_FOLDER);
        $this->deleteHasCache(self::CACHE_KEY_FILTER);
    }
public function flushArrays()
    {
        $this->_filesArray = null;
        $this->_imagesArray = null;
        $this->_foldersArray = null;
        $this->_filtersArray = null;
        $this->deleteHasCache(self::CACHE_KEY_FILE);
        $this->deleteHasCache(self::CACHE_KEY_IMAGE);
        $this->deleteHasCache(self::CACHE_KEY_FOLDER);
        $this->deleteHasCache(self::CACHE_KEY_FILTER);
    }
public function flushArrays ( ) { $ this -> _filesArray = null ; $ this -> _imagesArray = null ; $ this -> _foldersArray = null ; $ this -> _filtersArray = null ; $ this -> deleteHasCache ( self :: CACHE_KEY_FILE ) ; $ this -> deleteHasCache ( self :: CACHE_KEY_IMAGE ) ; $ this -> deleteHasCache ( self :: CACHE_KEY_FOLDER ) ; $ this -> deleteHasCache ( self :: CACHE_KEY_FILTER ) ; }
Will force to refresh all container arrays and clean up the cache
Will force to refresh all container arrays and clean up the cache