Z_PARAM_OPTIONAL
//public readonly ?\ion\Catalog $catalog = null,
Z_PARAM_OBJ_OF_CLASS_OR_NULL(obj->cat, ce_Catalog)
- //public readonly ?\ion\Collection $encodingSymbolTable = null,
- Z_PARAM_OBJ_OF_CLASS_OR_NULL(obj->col, ce_Collection)
//public readonly ?\ion\Decimal\Context $decimalContext = null,
Z_PARAM_OBJ_OF_CLASS_OR_NULL(obj->dec_ctx, ce_Decimal_Context)
//public readonly bool $outputBinary = false,
update_property_obj(&obj->std, ZEND_STRL("catalog"), obj->cat);
obj->opt.pcatalog = php_ion_obj(catalog, obj->cat)->cat;
}
- if (obj->col) {
- // TODO
- }
if (obj->dec_ctx) {
update_property_obj(&obj->std, ZEND_STRL("decimalContext"), obj->dec_ctx);
obj->opt.decimal_context = &php_ion_obj(decimal_ctx, obj->dec_ctx)->ctx;
public function __construct(
public readonly ?\ion\Catalog $catalog = null,
public readonly ?\ion\Decimal\Context $decimalContext = null,
- ?\ion\Collection $encodingSymbolTable = null,
public readonly bool $outputBinary = false,
public readonly bool $compactFloats = false,
public readonly bool $escapeNonAscii = false,
/* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 8f4964120dccb00c053325183fda763f64f08b6e */
+ * Stub hash: c45868fbad8a734e7511f0c4e4991d10b5cc4aa7 */
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_ion_Symbol_Table_PHP, 0, 0, ion\\Symbol\\Table, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Writer_Options___construct, 0, 0, 0)
ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, catalog, ion\\Catalog, 1, "null")
ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, decimalContext, ion\\Decimal\\Context, 1, "null")
- ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, encodingSymbolTable, ion\\Collection, 1, "null")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, outputBinary, _IS_BOOL, 0, "false")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, compactFloats, _IS_BOOL, 0, "false")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, escapeNonAscii, _IS_BOOL, 0, "false")
static zend_class_entry
*ce_Catalog,
- *ce_Collection,
*ce_Decimal,
*ce_Decimal_Context,
*ce_Decimal_Context_Rounding,
typedef struct php_ion_writer_options {
ION_WRITER_OPTIONS opt;
- zend_object *cat, *dec_ctx, *col, std;
+ zend_object *cat, *dec_ctx, std;
} php_ion_writer_options;
php_ion_decl(writer_options, Writer_Options);