Skip to content

Commit dd70de0

Browse files
author
Greg Bowler
authored
78 typesafegetter (#80)
* Improve type safety and immutability * Reorder functions * Test immutability * Improve type safety * Updgrade deps
1 parent b73a3c9 commit dd70de0

File tree

3 files changed

+2129
-1
lines changed

3 files changed

+2129
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ echo $config->get("database.password"); // super-secret-passw0rd
7979

8080
## Example usage - generating configuration files:
8181

82-
Sometimes is it useful to generate config files on-the-fly, such as from Continuous Integration scripts. Below shows a quick example of how to generate a `config.deploy.ini` file with a few key-values that will override the default.
82+
Sometimes it's useful to generate config files on-the-fly, such as from Continuous Integration scripts. Below shows a quick example of how to generate a `config.deploy.ini` file with a few key-values that will override the default.
8383

8484
```
8585
vendor/bin/config-generate deploy "shopapi.key=test-api-key" "database.schema=local_shop_$BRANCH_NAME"

composer.json

+7
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@
2626
}
2727
],
2828

29+
"funding": [
30+
{
31+
"type": "github",
32+
"url": "https://github.com/sponsors/PhpGt"
33+
}
34+
],
35+
2936
"autoload": {
3037
"psr-4": {
3138
"Gt\\Config\\": "./src"

0 commit comments

Comments
 (0)