public function sessionRemove(string $name = null) : bool
    {
        if (!$name) {
            $name = get_called_class();
        }

        if (!self::session()->exist($name)) {
            return false;
        }

        self::session()->remove($name);

        return true;
    }
public function sessionRemove(string $name = null) : bool
    {
        if (!$name) {
            $name = get_called_class();
        }

        if (!self::session()->exist($name)) {
            return false;
        }

        self::session()->remove($name);

        return true;
    }
@param string|null $name

@return bool