By the way, when you are binding a class to itself...
# kodein
s
By the way, when you are binding a class to itself e.g.:
Copy code
bind<Foo>() with singleton { Foo() }`
You can use
bind() from
instead:
Copy code
bind() from singleton { Foo() }`