Trait Atk4\Core\CollectionTrait

This trait makes it possible for you to add child objects into your object, but unlike "ContainerTrait" you can use multiple collections stored as different array properties.

This class does not offer automatic naming, so if you try to add another element with same name, it will result in exception.

Methods