public function remove(string $key)
    {
        if (isset($_SESSION[$key])) {
            $_SESSION[$key] = '';
            unset($_SESSION[$key]);
        }
    }
public function remove(string $key)
    {
        if (isset($_SESSION[$key])) {
            $_SESSION[$key] = '';
            unset($_SESSION[$key]);
        }
    }
public function remove ( string $ key ) { if ( isset ( $ _SESSION [ $ key ] ) ) { $ _SESSION [ $ key ] = '' ; unset ( $ _SESSION [ $ key ] ) ; } }
Removes the session data associated with the provided key.
@param string $key
Removes the session data associated with the provided key .