File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change 1- ![ example workflow ] ( https://github.com/technically-php/null-container/actions/workflows/test.yml/ badge.svg )
1+ ![ Tests Status ] [ status- badge]
22
3- # NullContainer
3+ # Technically Null Container
44
5- ` NullContainer ` is a [ PSR-11] ( https://www.php-fig.org/psr/psr-11/ ) container implementation that is always empty.
5+ Technically ` NullContainer ` is a [ PSR-11] [ 1 ] container implementation that is always empty.
66
7- This is a [ NullObject] ( https://en.wikipedia.org/wiki/Null_object_pattern ) pattern implementation for PSR-11.
7+ This is a [ NullObject] [ 2 ] pattern implementation for PSR-11.
88
99This is useful when you want to provide an optional ` ContainerInterface ` dependency,
1010but don't want to deal with nullable values.
@@ -19,7 +19,7 @@ but don't want to deal with nullable values.
1919
2020## Installation
2121
22- Use [ Composer] ( https://getcomposer.org/ ) package manager to add * NullContainer* to your project:
22+ Use [ Composer] [ 3 ] package manager to add * NullContainer* to your project:
2323
2424```
2525composer require technically/null-container
@@ -49,4 +49,11 @@ final class MyServiceContainer implements ContainerInterface
4949
5050## Credits
5151
52- - Implemented by [ Ivan Voskoboinyk] ( https://github.com/e1himself )
52+ - Implemented by [ Ivan Voskoboinyk] [ 4 ]
53+
54+
55+ [ 1 ] : https://www.php-fig.org/psr/psr-11/
56+ [ 2 ] : https://en.wikipedia.org/wiki/Null_object_pattern
57+ [ 3 ] : https://getcomposer.org/
58+ [ 4 ] : https://github.com/e1himself
59+ [ status-badge ] : https://github.com/technically-php/null-container/actions/workflows/test.yml/badge.svg
You can’t perform that action at this time.
0 commit comments