add_attribute
ErrorsCollection

add_attribute

Synthesised documentation from type/Metamodel/AttributeContainer

From type/Metamodel/AttributeContainer

See Original text in context

method add_attribute($obj$attribute)

Adds an attribute. $attribute must be an object that supports the methods name, type and package, which are called without arguments. It can for example be of type Attribute.