rebless
ErrorsCollection

rebless

Synthesised documentation from type/Metamodel/Primitives

From type/Metamodel/Primitives

See Original text in context

method rebless(Mu $objectMu $type)

Changes $object to be of type $type. This only works if $type type-checks against the current type of $object, and if the storage of $object is a subset of that of $type. [1]