final public static function fromContext(Context $ctx = null): TagContext
    {
        if ($ctx === null) {
            $ctx = Context::current();
        }
        return $ctx->value(self::CTX_KEY, new self());
    }