linkorb/container

依赖注入容器

v1.0.0 2018-05-14 20:29 UTC

This package is auto-updated.

Last update: 2024-08-29 04:37:19 UTC


README

简单的依赖注入容器。

特性

  • 服务懒加载
  • 自动装配服务构造函数
  • 自动装配方法调用
  • 符合PSR-11规范(实现了Psr\Container\ContainerInterface

用法

请参考 examples/ 目录中的使用示例。

许可证

MIT。请参阅许可证文件以获取详细信息。

由LinkORB工程技术团队提供


在我们的linkorb.com/engineering网站上查看我们的其他项目。

顺便说一下,我们正在招聘!