'Get Ioc binded object at Adonis v5

I use ioc.bind and ioc.use at adonis v4, and now at adonis v5, how do I use ioc.use? enter image description here

I want to reuse the instance Container/MerchantService and get the base url or call the function inside Container/MerchantService

I try to find it in adonis documentation and got nothing.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source