dhii/container-helper-base
最新稳定版本:v0.1-alpha8
Composer 安装命令:
composer require dhii/container-helper-base
包简介
Helper functionality for working with container.
README 文档
README
Helper functionality for working with container.
Traits
ContainerGetCapableTrait- Allows retrieving values by key from anything that is a known container representation. Types includeContainerInterface,array,ArrayAccess, andstdClass. Accessing a non-existing key throws aNotFoundExceptionInterface.ContainerGetPathCapableTrait- Allows getting data from nested container using passed path (list of segments).ContainerHasCapableTrait- Allows checking for values by key from anything that is a known container implementation.ContainerListHasCapableTrait- Allows checking for a key on a list of containers.ContainerListGetCapableTrait- Allows retrieving a value from a list of containers.ContainerSetCapableTrait- Allows setting a value on a writable container.ContainerSetPathCapableTrait- Allows setting a value on a nested container using path.ContainerSetManyCapableTrait- Allows setting multiple values on a writable container.ContainerUnsetCapableTrait- Allows unsetting a value on a writable container.ContainerUnsetManyCapableTrait- Allows unsetting multiple values on a writable container.NormalizeContainerCapableTrait- Functionality for container normalization.NormalizeWritableContainerCapableTrait- Functionality for normalizing writable containers.NormalizeKeyCapableTrait- Allows normalizing container keys.
统计信息
- 总下载量: 7.2k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 15
- 推荐数: 2
其他信息
- 授权协议: MIT
- 更新时间: 2018-01-31