In Metamodel::EnumHOW§
See primary documentation in context for method set export callback.
method set_export_callback($obj, $callback)
Sets the enum's export callback, which is invoked when calling .compose_values
. This is called when applying the export
trait to an enum. $callback
should be a routine of some sort, taking no arguments, that handles exporting the enum's values.