Runtime Mixins()

// map with mixins
map("MyService")
.to("model.UserService")
.mixins("/helpers/base");
// map with mixins as list
map("MyService")
.to("model.UserService")
.mixins("/helpers/base, /helpers/model");
// map with mixins as array
map("MyService")
.to("model.UserService")
.mixins( ["/helpers/base", "/helpers/model"] );
// Via annotation
component mixins="/helpers/base"{
}Was this helpful?