earc / container
eArc - the explicit architecture framework - basic psr-11 compatible container blueprint
Installs: 33
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/earc/container
Requires
- php: ^7.2
- psr/container: ^1.0
This package is auto-updated.
Last update: 2025-10-29 02:56:18 UTC
README
Basic PSR-11 compatible php container blueprint.
installation
$ composer install earc/container
basic usage
use eArc\Container\Items; $container = new Items();
Please refer to the ItemsInterface for details.
exceptions
-
An
ItemNotCallableExceptionis thrown if an item is called that is no callable. -
An
ItemNotFoundExceptionis thrown if an item is get or called that does not exist. -
An
ItemOverwriteExceptionis thrown if an item is set but its name exists already.overwrite()does not trigger this exception. -
All three exceptions inherit from the
ItemException.