final public static function fromContext(Context $ctx = null): TagContext
    {
        if ($ctx === null) {
            $ctx = Context::current();
        }
        return $ctx->value(self::CTX_KEY, new self());
    }
final public static function fromContext(Context $ctx = null): TagContext
    {
        if ($ctx === null) {
            $ctx = Context::current();
        }
        return $ctx->value(self::CTX_KEY, new self());
    }
final public static function fromContext ( Context $ ctx = null ) : TagContext { if ( $ ctx === null ) { $ ctx = Context :: current ( ) ; } return $ ctx -> value ( self :: CTX_KEY , new self ( ) ) ; }
Extract a TagContext from the provided Context object.
If Context is not provided, the current Context is used. If no TagContext
is found, a new empty TagContext is returned.

@param Context $ctx The Context to extract the TagContext from.
@return TagContext
Extract a TagContext from the provided Context object . If Context is not provided the current Context is used . If no TagContext is found a new empty TagContext is returned .