src/Driver/Base/FileCache.php
public function clear()
    {
        foreach ($this->filesystem()->listContents() as $file) {
            $this->filesystem()->delete($file['path']);
        }

        return true;
    }
public function clear()
    {
        foreach ($this->filesystem()->listContents() as $file) {
            $this->filesystem()->delete($file['path']);
        }

        return true;
    }
public function clear ( ) { foreach ( $ this -> filesystem ( ) -> listContents ( ) as $ file ) { $ this -> filesystem ( ) -> delete ( $ file [ 'path' ] ) ; } return true ; }
Deletes the cache folder.

@return bool True on success and false on failure.
Deletes the cache folder .