hi, everyone.
in my module configs, binder is defined and works.
in my wirebox.cfc in the host app, binder is not defined. this is the line:
binder.map(“myService”).to(“path.to.service”).asSingleton();
hi, everyone.
in my module configs, binder is defined and works.
in my wirebox.cfc in the host app, binder is not defined. this is the line:
binder.map(“myService”).to(“path.to.service”).asSingleton();
ah. if you extend coldbox_3_5_2.system.ioc.config.Binder, the binder is the object.
changed to:
this.map(“service”).to(“path.to.service”).asSingleton();
Yes if not you receive it via the arguments