public function remove(string $id): bool
    {
        if (! $this->has($id)) {
            return false;
        }

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

        return true;
    }
public function remove(string $id): bool
    {
        if (! $this->has($id)) {
            return false;
        }

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

        return true;
    }
public function remove ( string $ id ) : bool { if ( ! $ this -> has ( $ id ) ) { return false ; } unset ( $ this -> data [ $ id ] ) ; return true ; }
Remove a session item.

@param string $id The item id

@return bool
Remove a session item .