tomphp / container-configurator

Configure your application and the Dependency Injection Container (DIC) via config arrays or config files.
MIT License
20 stars 3 forks source link

Feature: Service Aliases #63

Closed tomphp closed 8 years ago

tomphp commented 8 years ago

Allow creating an aliased to another service by name.

At this point, I think it would be better to have separate ClassServiceDefinition, AliasServiceDefinition and FactoryServiceDefinition classes. However, this PR does not do this - it just adds the functionality as I need it now.