public static function pageDelete(string $name, ?string $page = null): void
    {
        if ($page === null) {
            $page = $_SERVER['PHP_SELF'];
        }
        self::delete($name, $page);
    }
public static function pageDelete(string $name, ?string $page = null): void
    {
        if ($page === null) {
            $page = $_SERVER['PHP_SELF'];
        }
        self::delete($name, $page);
    }
public static function pageDelete ( string $ name , ? string $ page = null ) : void { if ( $ page === null ) { $ page = $ _SERVER [ 'PHP_SELF' ] ; } self :: delete ( $ name , $ page ) ; }
Delete session-varable by page-filename.

@param string $name
@param string $page Default null which means current page PHP_SELF.
Delete session - varable by page - filename .