public function flushCache($spaceName)
    {
        $spaceData = $this->getSpaceDataForName($spaceName);

        return $this->ensureCache($spaceData['cache'])->clear();
    }
public function flushCache($spaceName)
    {
        $spaceData = $this->getSpaceDataForName($spaceName);

        return $this->ensureCache($spaceData['cache'])->clear();
    }
public function flushCache ( $ spaceName ) { $ spaceData = $ this -> getSpaceDataForName ( $ spaceName ) ; return $ this -> ensureCache ( $ spaceData [ 'cache' ] ) -> clear ( ) ; }
Flushes the whole cache. Returns true if flush was successful, false otherwise.

@return bool
Flushes the whole cache . Returns true if flush was successful false otherwise .