Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
luizcmarin committed Apr 24, 2024
2 parents 3a5c264 + 520f2e2 commit d82e2e3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,30 +108,25 @@ The file paths are relative to the [source-directory](#source-directory), which
### Markers

- `?` - marks optional files. Absence of files not marked with this marker will cause exception.

```php
"params": [
"params.php",
"?params-local.php"
]
```

It's okay if `params-local.php` will not be found, but it's not okay if `params.php` will be absent.

- `*` - marks wildcard path. It means zero or more matches by wildcard mask.

```php
"web": [
"../src/Modules/*/config/web.php"
]
```

It will collect all `web.php` in any sub-folders of `src/Modules/` in `config` folder.
However, if the configuration folder is packaged as part of the `PHAR` archive, the configuration
files will not be uploaded. In this case, you must explicitly specify each configuration file.

- `$` - reference to another config by its group name.

```php
"params": [
"params.php",
Expand All @@ -146,7 +141,6 @@ The file paths are relative to the [source-directory](#source-directory), which
"params-web.php"
]
```

The config groups `params-console` and `params-web` will both contain the config values from `params.php` and `params-local.php` additional to their own configuration values.

***
Expand Down

0 comments on commit d82e2e3

Please sign in to comment.