Download the PHP package earc/payload-container without Composer
On this page you can find all versions of the php package earc/payload-container. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download earc/payload-container
More information about earc/payload-container
Files in earc/payload-container
Package payload-container
Short Description eArc - the explicit architecture framework - psr-11 compatible container carrier blueprint
License MIT
Informations about the package payload-container
earc/payload-container
Basic psr-11 compatible container carrier blueprint.
This eArc component is brought to you as a standalone component mainly for reusage reasons. There is nothing special or ground breaking to it. In nearly every project of medium complexity you need a container carrier class. There is no point in reinventing the wheel again and again. It combines the functionality of earc/container and earc/payload. Have fun...
table of contents
- installation
- basic usage
- exceptions
- advanced usage
- releases
installation
basic usage
The payload container carries one object implementing the ItemsInterface
.
The PayloadContainerInterface
extends the ItemsInterface
thus all things you
can do with the earc/container can
be done with the payload container, too. In fact it forwards all the
ItemsInterface
calls to the items object.
For details refer to the PayloadContainerInterface and the ItemsInterface or the Implementation.
exceptions
Please refer to the earc/container documentation for details.
advanced usage
Implement the ItemInterface
or the PayloadContainerInterface
for yourself.
eArc encourages the use of interfaces. In all eArc components using the
earc/components-di component
for dependency injection you can replace the classes used for the interfaces as
easy as writing your own name. Yes, even in the earc component itself.
releases
release v0.0
The first official release.