Skip to content

Commit dfd03a1

Browse files
committed
Add domain aliases to readme
1 parent 73f8da0 commit dfd03a1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ Please see the following table for some examples.
5757
| | | /path/to/fixtures/example.com/api/comments.get.mock |
5858
| | | /path/to/fixtures/example.com/api/comments.mock |
5959

60+
### Domain aliases
61+
The `ReponseBuilder` can be instructed to use aliases for domains using `setDomainAliases([...])`.
62+
When configured, the provided aliases will be normalized when transforming requests to file paths.
63+
You should provide aliases in the form of `['alias' => 'abstract']`.
64+
6065
### Ignored query parameters
6166
The `ReponseBuilder` can be instructed to ignore certain query parameters using `setIgnoredQueryParameters([...])`.
6267
When configured, the provided parameters will be ignored when transforming requests to file paths.

0 commit comments

Comments
 (0)