/*public function removeAll() {
TODO: Implement removeAll() method.
}
182592
public function removeRuleFromItems($rule) {
		$result = $this->repository->removeRuleFromItems($rule);
		$this->domain->const->generateAll();
		return $result;
	}
970479
public void removeAll()
    {
        if (m_aRecords != null)
        {
            for (int iArrayIndex = 0; iArrayIndex < MAX_RECORD_ARRAY_SIZE; iArrayIndex++)
            {   // Free the objects that are no longer used
                this.freeElement(m_aRecords[iArrayIndex]);
                m_aRecords[iArrayIndex] = null;
            }
            m_aRecords = null;
        }
        m_iRecordListStep = 1;
        m_iRecordListEnd = 0;
        m_iRecordListMax = 0; // Current size of the record list (records scanned) (-1 - unknown)
    }
1139376
public function delete()
    {
        $keys = $this->getList();
        foreach ($keys as $key) {
            $this->entityManager->remove($key);
        }
        $this->entityManager->flush();
    }
799684
public function removeAll()
    {
        $classMetaData = $this->entityManager->getClassMetadata($this->getEntityClassName());
        $connection = $this->entityManager->getConnection();
        $databasePlatform = $connection->getDatabasePlatform();
        $truncateTableQuery = $databasePlatform->getTruncateTableSql($classMetaData->getTableName());
        $connection->executeUpdate($truncateTableQuery);
    }
747576
public function cleanup(): void
    {
        foreach ($this->getStore() as $key => $value)
        {
            $this->remove($key);
        }
    }
20123
public function purgeAll() {
		if ($this->log != null) {
			if ($this->log instanceof LoggerInterface) {
				$this->log->info("Purging all data from no-cache. Nothing to purge.");
			} else {
				$this->log->trace("Purging all data from no-cache. Nothing to purge.");
			}
		}
	}
107350
public function deleteAll() {
        if(!$this->is_setup) return;
        Database::prepare(
            'DELETE FROM `##maj_sosa`'.
            ' WHERE majs_gedcom_id= :tree_id and majs_user_id = :user_id ')
            ->execute(array(
                'tree_id' => $this->tree->getTreeId(), 
                'user_id' => $this->user->getUserId()                
            ));
    }
1373541
public boolean removeAll() {
        lock.lock();
        boolean result = false;

        try {
            result = !uriIndex.isEmpty();
            uriIndex.clear();
        } finally {
            lock.unlock();
        }

        return result;
    }
991849
public static function deleteAll()
    {
        $terms = static::getAll();
        if (!Arr::iterable($terms)) {
            return 0;
        }

        $num_deleted = 0;
        foreach ($terms as $term) {
            if ($term->delete()) {
                $num_deleted++;
            }
        }
        return $num_deleted;
    }
398121
public function purgeAll() {
		
		if ($this->useFallback) {
			if ($this->log) {
				$this->log->trace("Purging the whole file cache.");
			}
			$files = glob($this->getDirectory()."*");
			foreach ($files as $filename) {
				unlink($filename);
			}
			return;
		}
		
		apc_clear_cache('user');
	}
1161602
public void removeAll() {
        for(Iterator<Map.Entry<MetricName, Metric>> it = metrics.entrySet().iterator(); it.hasNext();) {
            Map.Entry<MetricName, Metric> entry = it.next();
            Metric metric = entry.getValue();
            if(metric != null) {
                onMetricRemoved(entry.getKey(), metric);
            }
            it.remove();
        }
    }
923129
public function delete()
    {
        foreach (array_keys($this->data) as $key) {

            unset($this->data[$key]);

        }

        foreach (array_keys($this->flash) as $key) {

            unset($this->flash[$key]);

        }
    }
275151
public function clean()
    {
        $fileSystem = new Filesystem();
        
        if ($fileSystem->exists($this->getCacheDir())) {
            $fileSystem->remove($this->getCacheDir());
        }
    }
1132716
public function clear()
    {
        $this->session->remove($this->getSessionKey());
        $this->session->remove($this->getSessionExtraKey());
        $this->session->remove($this->getSessionTargetPathKey());
    }
1205153
@Override
	public boolean removeAll(Collection<?> c) {
		boolean b = queue.removeAll(c);
		if (b){
			signalSizeReduced();
		}
		return b;
	}
157973
public static function clearAll()
    {
        $dir = new \DirectoryIterator(static::config('directory'));

        foreach ($dir as $fileinfo) {

            if ($fileinfo->isFile()) {
                $cacheKey = $fileinfo->getFilename();
                static::clear($cacheKey);
            }
        }
    }
532228
public static function delAll()
    {
        if (count(self::$_tasks) > 0) {
            foreach (self::$_tasks as $k => $v) {
                swoole_timer_clear($k);
            }
            self::$_tasks = array();
        }
    }