dhii/data-container-base
最新稳定版本:v0.1-alpha2
Composer 安装命令:
composer require dhii/data-container-base
包简介
Base functionality for container implementations
README 文档
README
Details
This package contains base implementations of standard container-related interfaces, which includes exceptions, exception factories, and a small opinionated base implementation that demonstrates simple common usage. Because the standard is an extension of PSR-11, this implementation is compliant with PSR-11.
Classes
AbstractBaseContainer- A base class for containers. For the simplest implementation, only needs a constructor added.ContainerException- Represents a problem with a container.NotFoundException- Occurs when a key cannot be found in a container.
Traits
CreateContainerExceptionCapableTrait- CreatesContainerExceptioninstances.CreateNotFoundExceptionCapableTrait- CreatesNotFoundExceptioninstances
统计信息
- 总下载量: 5.42k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 12
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-08-24