DI\Container: magic accessors are deprecated