Skip to content

Commit 788c3a9

Browse files
committed
Merge branch 'hotfix/readme-formatting'
Removes code markers from headings
2 parents fcd9121 + 3b41450 commit 788c3a9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ Configuration
5656

5757
The top-level configuration key for user configuration of this module is `zf-api-problem`.
5858

59-
#### Key: `accept_filters`
59+
#### Key: accept_filters
6060

6161
An array of `Accept` header media types that, when matched, will result in the
6262
[ApiProblemListener](#zfapiproblemlistenerapiproblemlistener) handling an
6363
`MvcEvent::EVENT_RENDER_ERROR` event.
6464

65-
#### Key: `render_error_controllers`
65+
#### Key: render_error_controllers
6666

6767
An array of controller service names that, if matched as the `controller` parameter in the MVC
6868
`RouteMatch`, will cause the [ApiProblemListener](#zfapiproblemlistenerapiproblemlistener) to handle
@@ -101,7 +101,7 @@ ZF2 Events
101101

102102
### Listeners
103103

104-
#### `ZF\ApiProblem\Listener\ApiProblemListener`
104+
#### ZF\ApiProblem\Listener\ApiProblemListener
105105

106106
The `ApiProblemListener` attaches to three events in the MVC lifecycle:
107107

@@ -126,7 +126,7 @@ When this listener does take action, the purposes are threefold:
126126
- If a dispatch error occurred, and the `Accept` type is in the set defined for API-Problems, it
127127
attempts to cast the dispatch exception into an API-Problem response.
128128

129-
#### `ZF\ApiProblem\Listener\RenderErrorListener`
129+
#### ZF\ApiProblem\Listener\RenderErrorListener
130130

131131
This listener is attached to `MvcEvent::EVENT_RENDER_ERROR` at priority `100`. This listener is
132132
conditionally attached by `ZF\ApiProblem\Listener\ApiProblemListener` for controllers that require
@@ -153,12 +153,12 @@ ZF2 Services
153153

154154
### View Services
155155

156-
#### `ZF\ApiProblem\View\ApiProblemRenderer`
156+
#### ZF\ApiProblem\View\ApiProblemRenderer
157157

158158
This service extends the `JsonRenderer` service from the ZF2 MVC layer. Its primary responsibility
159159
is to decorate JSON rendering with the ability to optionally output stack traces.
160160

161-
#### `ZF\ApiProblem\View\ApiProblemStrategy`
161+
#### ZF\ApiProblem\View\ApiProblemStrategy
162162

163163
This service is a view strategy that detects a `ZF\ApiProblem\View\ApiProblemModel`; when detected,
164164
it selects the [ApiProblemRender](#zfapiproblemviewapiproblemrenderer), and injects the response
@@ -167,7 +167,7 @@ similar in nature to Zend Framework 2's `JsonStrategy`.
167167

168168
### Models
169169

170-
#### `ZF\ApiProblem\ApiProblem`
170+
#### ZF\ApiProblem\ApiProblem
171171

172172
An instance of `ZF\ApiProblem\ApiProblem` serves the purpose of modeling the kind of problem that is
173173
encountered. An instance of `ApiProblem` is typically wrapped in an

0 commit comments

Comments
 (0)