Skip to content

Commit

Permalink
Removing ServiceAbstractBase.php
Browse files Browse the repository at this point in the history
  • Loading branch information
byjg committed Dec 10, 2023
1 parent 7ec35d2 commit 70d41b7
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions docs/psr11.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,9 @@ You can change the environments in the `RestReferenceArchitecture\Psr11` class a
if (is_null(self::$definition)) {
self::$definition = (new Definition())
->addConfig('dev')
->addConfig('test')
->inheritFrom('dev')
->addConfig('staging')
->inheritFrom('dev')
->addConfig('prod')
->inheritFrom('staging')
->addConfig('test', inheritFrom: ['dev'])
->addConfig('staging', inheritFrom: ['dev'])
->addConfig('prod', inheritFrom: ['staging'])
->inheritFrom('dev');
// ->setCache($somePsr16Implementation); // This will cache the result;
}
Expand Down

0 comments on commit 70d41b7

Please sign in to comment.