Documentation for method setup_mixin_cache assembled from the following pages:

Role: Metamodel::Mixins §

From Metamodel::Mixins

(Metamodel::Mixins) method setup_mixin_cache §

method setup_mixin_cache($obj)

Sets up caching of mixins for $obj. After this metamethod has been called, calls to mixin will not create a new type for mixins of $obj given the same list of roles more than once. This should be called at some point before composition.