dhii / data-container-base
This package is abandoned and no longer maintained.
No replacement package was suggested.
Base functionality for container implementations
v0.1-alpha2
2018-03-16 18:58 UTC
Requires
- php: ^5.4 | ^7.0
- dhii/data-container-abstract: ^0.1
- dhii/data-container-interface: ^0.1 | ^0.2
- dhii/exception: ^0.1
- dhii/i18n-helper-base: ^0.1
- dhii/normalization-helper-base: ^0.1
Requires (Dev)
- codeclimate/php-test-reporter: <=0.3.2
- dhii/php-cs-fixer-config: dev-php-5.3
- phpunit/phpunit: ^4.8
- ptrofimov/xpmock: ^1.1
This package is auto-updated.
Last update: 2024-05-07 05:50:04 UTC
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