Skip to content

Commit 1cc46d1

Browse files
committed
Filled out two sections commented as needing docs
1 parent 09a87b0 commit 1cc46d1

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,15 @@ The top-level configuration key for user configuration of this module is `zf-api
5353

5454
#### Key: `accept_filters`
5555

56-
// Accept types that should allow ApiProblem responses
56+
An array of `Accept` header media types that, when matched, will result in the
57+
[ApiProblemListener](#zfapiproblemlistenerapiproblemlistener) handling an
58+
`MvcEvent::EVENT_RENDER_ERROR` event.
5759

5860
#### Key: `render_error_controllers`
5961

60-
// Array of controller service names that should enable the ApiProblem render.error listener
61-
62+
An array of controller service names that, if matched as the `controller` parameter in the MVC
63+
`RouteMatch`, will cause the [ApiProblemListener](#zfapiproblemlistenerapiproblemlistener) to handle
64+
`MvcEvent::EVENT_RENDER_ERROR` events.
6265

6366
### System Configuration
6467

0 commit comments

Comments
 (0)