Documentation for method compose

Documentation for method compose, assembled from the following types:

class Metamodel::ClassHOW

From Metamodel::ClassHOW

(Metamodel::ClassHOW) method compose

method compose(Metamodel::ClassHOW:D: $obj)

A call to compose brings the meta object and thus the class it represents into a fully functional state, so if you construct or modify a class, you must call the compose method before working with the class.

It updates the method cache, checks that all methods that are required by roles are implemented, does the actual role composition work, and sets up the class to work well with language interoperability.