auraphp / Aura.Di

Dependency Injection System
MIT License
349 stars 63 forks source link

Allow direct use of lazies in Lazy #128

Closed djmattyg007 closed 8 years ago

djmattyg007 commented 8 years ago

This increases the flexibility of the Lazy type. It allows you to use other lazies directly, which means you can have (for example) a service defined in the dependency injection container that is invokable whose job it is to initialise and/or modify other services.

pmjones commented 8 years ago

Huh. Cool.