public function flush($bucket)
    {
        if (false === empty($_SESSION[self::ROOT_NODE][$bucket])) {
            $_SESSION[self::ROOT_NODE][$bucket] = [];
            return true;
        }

        return false;
    }
public function flush($bucket)
    {
        if (false === empty($_SESSION[self::ROOT_NODE][$bucket])) {
            $_SESSION[self::ROOT_NODE][$bucket] = [];
            return true;
        }

        return false;
    }
public function flush ( $ bucket ) { if ( false === empty ( $ _SESSION [ self :: ROOT_NODE ] [ $ bucket ] ) ) { $ _SESSION [ self :: ROOT_NODE ] [ $ bucket ] = [ ] ; return true ; } return false ; }
Flush all notifications from the driver

@param string $bucket
@return bool
Flush all notifications from the driver