public function pruneAll()
    {
        $files = glob($this->config['basepath'] . '/*');
        $items = count($files);
        array_map('unlink', $files);
        return $items;
    }
public function pruneAll()
    {
        $files = glob($this->config['basepath'] . '/*');
        $items = count($files);
        array_map('unlink', $files);
        return $items;
    }
public function pruneAll ( ) { $ files = glob ( $ this -> config [ 'basepath' ] . '/*' ) ; $ items = count ( $ files ) ; array_map ( 'unlink' , $ files ) ; return $ items ; }
Prune all items from cache.

@return int number of items removed.
Prune all items from cache .