We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ec35d2 commit 70d41b7Copy full SHA for 70d41b7
docs/psr11.md
@@ -66,12 +66,9 @@ You can change the environments in the `RestReferenceArchitecture\Psr11` class a
66
if (is_null(self::$definition)) {
67
self::$definition = (new Definition())
68
->addConfig('dev')
69
- ->addConfig('test')
70
- ->inheritFrom('dev')
71
- ->addConfig('staging')
72
73
- ->addConfig('prod')
74
- ->inheritFrom('staging')
+ ->addConfig('test', inheritFrom: ['dev'])
+ ->addConfig('staging', inheritFrom: ['dev'])
+ ->addConfig('prod', inheritFrom: ['staging'])
75
->inheritFrom('dev');
76
// ->setCache($somePsr16Implementation); // This will cache the result;
77
}
0 commit comments