Influence Instances at Runtime
/**
* Influence an instance of an object
* @injector The WireBox injector reference
* @object The object to influence
*/
function( injector, object ){}map( 'myObject' )
.toPath( 'com.foo.bar' )
.withInfluence( function( injector, object ) {
object.customSettings( true );
object.pizzazz = 'Oh, yes!';
return object;
});Last updated
Was this helpful?