remi-san / context
A set of interfaces to describe the context of an object
Installs: 708
Dependents: 3
Suggesters: 1
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/remi-san/context
Requires (Dev)
- fabpot/php-cs-fixer: ^1.10
- henrikbjorn/phpspec-code-coverage: ^2.0
- phpspec/phpspec: ^2.2
- squizlabs/php_codesniffer: ^2.0
This package is auto-updated.
Last update: 2025-09-22 00:16:52 UTC
README
A lib providing interfaces and a container to deal with contexts in an application.
A context object should implement the Context
interface.
If an object should be aware of the context, it should implement the ContextAware
interface.
If you want to store a context statically, use the static class ContextContainer
.