magic accessors are deprecated in DI Container
Merge pull request #5 from pvy/master

- magic accessors are deprecated in DI Container