/**
  * Flushes the cache either by entry or flushes
  * the entire cache if no entry is provided.
  *
  * @param string|null $name
  * @return bool|void
  */
 public function flush($name = null)
 {
     if ($name !== null) {
         return $this->flowCache->remove($name);
     } else {
         return $this->flowCache->flush();
     }
 }