njasm / container

Dependency Container / Service Locator for PHP
20 stars 2 forks source link

Support to override existing dependencies for a service on service request #7

Closed njasm closed 9 years ago

njasm commented 10 years ago

when calling Container::get($key) allow a second param to be passed with the dependencies to inject into the contructor and setters/properties, instead of using the registered ones in the container.

njasm commented 9 years ago

undergoing....

and related to #5 and #6