Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit f9e290c

Browse files
committed
Improves spelling and adds missing articles
1 parent b5045b9 commit f9e290c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/book/cookbook/setting-module-specific-layout.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# Setting module-specific Layout
1+
# Setting module-specific Layouts
22

33
The following example shows how to set a template for the layout based on a
44
module name in a zend-mvc based application. The example uses a listener that
5-
listen on the
5+
listens on the
66
[`Zend\Mvc\MvcEvent::EVENT_RENDER` event](https://docs.zendframework.com/zend-mvc/mvc-event/#mvceventevent_render-render)
77
and uses the
88
[`Zend\Router\RouteMatch` object](https://docs.zendframework.com/zend-mvc/routing/#routing)
9-
to get the called module from current request.
9+
to get the called module from the current request.
1010

1111
## Create Listener
1212

13-
Create a listener as separate class, e.g.
13+
Create a listener as a separate class, e.g.
1414
`module/Admin/src/Listener/LayoutListener.php`:
1515

1616
```php

0 commit comments

Comments
 (0)