src/Cache/Simple/AbstractAdapter.php
public function deleteAll()
	{
	    if (!$this->namespace) {
	        return $this->clear();
        }

		$namespaceCacheKey = $this->getNamespaceCacheKey();
		$namespaceVersion = $this->getNamespaceVersion() + 1;

		if ($this->doSet($namespaceCacheKey, [true, $namespaceVersion, [], 0])) {
			$this->namespaceVersion = $namespaceVersion;

			return true;
		}

		return false;
	}
public function deleteAll()
	{
	    if (!$this->namespace) {
	        return $this->clear();
        }

		$namespaceCacheKey = $this->getNamespaceCacheKey();
		$namespaceVersion = $this->getNamespaceVersion() + 1;

		if ($this->doSet($namespaceCacheKey, [true, $namespaceVersion, [], 0])) {
			$this->namespaceVersion = $namespaceVersion;

			return true;
		}

		return false;
	}
public function deleteAll ( ) { if ( ! $ this -> namespace ) { return $ this -> clear ( ) ; } $ namespaceCacheKey = $ this -> getNamespaceCacheKey ( ) ; $ namespaceVersion = $ this -> getNamespaceVersion ( ) + 1 ; if ( $ this -> doSet ( $ namespaceCacheKey , [ true , $ namespaceVersion , [ ] , 0 ] ) ) { $ this -> namespaceVersion = $ namespaceVersion ; return true ; } return false ; }
Deletes all cache entries in the current cache namespace.

@return bool TRUE if the cache entries were successfully deleted, FALSE otherwise.
Deletes all cache entries in the current cache namespace .