configure_destroy
ErrorsCollection

configure_destroy

Synthesised documentation from type/Metamodel/Primitives

From type/Metamodel/Primitives

See Original text in context

method configure_destroy(Mu $type$destroy)

Configures whether DESTROY methods are called (if present) when the garbage collector collects an object of this type (if $destroy is set to a true value). This comes with a performance overhead, so should only be set to a true value if necessary.