williamokano / kow

Simple Middleware framework with dependency injection that I created as part of my PHP-DI study
2 stars 1 forks source link

Pass PHP-DI builder reference to the controller #1

Closed williamokano closed 7 years ago

williamokano commented 7 years ago

Sometime people need to get a new instance of the Injected class.

williamokano commented 7 years ago

No needed, just inject it into controller if needed; as the controller is called by the DI, it should be auto-injected now, if needed