method add_parent
Documentation for method add_parent
assembled from the following types:
role Metamodel::MultipleInheritance
From Metamodel::MultipleInheritance
(Metamodel::MultipleInheritance) method add_parent
method add_parent(Metamodel::MultipleInheritance: , , :)
Adds $parent
as a parent type. If $hides
is set to a true value, the parent type is added as a hidden parent.
$parent
must be a fully composed typed. Otherwise an exception of type X::Inheritance::NotComposed is thrown.