File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 22
33# NullContainer
44
5- ` NullContainer ` is a [ PSR-11] ( https://www.php-fig.org/psr/psr-11/ ) container implementation that is always empty.
5+ ` NullContainer ` is a [ PSR-11] ( https://www.php-fig.org/psr/psr-11/ ) container implementation that is always empty.
6+
7+ This is a [ NullObject] ( https://en.wikipedia.org/wiki/Null_object_pattern ) pattern implementation for PSR-11.
68
79This is useful when you want to provide an optional ` ContainerInterface ` dependency,
810but don't want to deal with nullable values.
Original file line number Diff line number Diff line change 22 "name" : " technically/null-container" ,
33 "description" : " Null (always empty) PSR-11 container implementation" ,
44 "type" : " library" ,
5+ "keywords" : [
6+ " php" ,
7+ " psr-11" ,
8+ " psr-container" ,
9+ " container" ,
10+ " null" ,
11+ " null-object"
12+ ],
513 "require" : {
614 "php" : " >=7.1" ,
715 "psr/container" : " ^1.0"
You can’t perform that action at this time.
0 commit comments