Skip to content

Commit 16edff6

Browse files
authored
Merge pull request #96 from niden/master
Corrected event name
2 parents 9d0c6f8 + 3406c6b commit 16edff6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data/posts/2017/03/2017-03-03-building-the-new-phalcon-website-middleware-part-3.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Middleware needs to be attached to specific events in our events manager. These
1212

1313
* `before`: This attaches the middleware to the event that fires before the handler has been executed.
1414
* `after`: This attaches the middleware to the event that fires after the handler has been executed.
15-
* `final`: This attaches the middleware to the event that fires after the response has been sent to the caller.
15+
* `finish`: This attaches the middleware to the event that fires after the response has been sent to the caller.
1616

1717
You can attach as many middleware classes in each of these events. They will be processed in a sequential manner, i.e. the first one registered gets processed first, then the second one etc.
1818

0 commit comments

Comments
 (0)