https://github.com/brenoroosevelt/psr-nullcontainer
Null Object Pattern for PSR-11 Container
https://github.com/brenoroosevelt/psr-nullcontainer
null-object-pattern php psr-11 psr-11-compliant
Last synced: 3 months ago
JSON representation
Null Object Pattern for PSR-11 Container
- Host: GitHub
- URL: https://github.com/brenoroosevelt/psr-nullcontainer
- Owner: brenoroosevelt
- License: mit
- Created: 2022-02-17T15:17:42.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-12T14:57:29.000Z (almost 2 years ago)
- Last Synced: 2025-03-02T00:48:57.965Z (4 months ago)
- Topics: null-object-pattern, php, psr-11, psr-11-compliant
- Language: PHP
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Null Container
[](https://github.com/brenoroosevelt/psr-nullcontainer/actions/workflows/ci.yml)
[](https://codecov.io/gh/brenoroosevelt/psr-nullcontainer)
[](LICENSE.md)Null Object Pattern for PSR-11 Container
## Requirements
The following versions of PHP are supported: `7.4`, `8.0`, `8.1`.
## Install
```bash
$ composer require brenoroosevelt/psr-nullcontainer
```## Usage
```php
$container = new \BrenoRoosevelt\Psr11\NullContainer();
```## License
This project is licensed under the terms of the MIT license. See the [LICENSE](LICENSE.md) file for license rights and limitations.