Dhii - Container Helper Base
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.