Manual Inflation
// path
person = client.get(
id = "funkyChicken",
inflateTo = "path.to.song"
);
// instance
person = client.get(
id = "funkyChicken",
inflateTo = new path.to.Song()
);person = client.get(
id = "funkyChicken",
inflateTo = function( document ){
// Let WireBox create and autowire an instance for us
return wirebox.getInstance( 'path.to.song' );
}
);Last updated
Was this helpful?