setup_mixin_cache
ErrorsCollection

setup_mixin_cache

Synthesised documentation from type/Metamodel/Mixins

From type/Metamodel/Mixins

See Original text in context

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.