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

Commit 2d94ef3

Browse files
committed
Merge branch 'hotfix/240'
Close #240 Fixes #239
2 parents 5890b71 + f4a53cf commit 2d94ef3

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

doc/book/controllers.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,13 @@ extending class.
279279

280280
## AbstractConsoleController
281281

282-
`Zend\Mvc\Controller\AbstractConsoleController` extends from [AbstractActionController](#abstractactioncontroller)
282+
> For version 3, the integration component [zend-mvc-console](https://docs.zendframework.com/zend-mvc-console/) must be installed. It can be done via Composer:
283+
> ````bash
284+
> composer require zendframework/zend-mvc-console
285+
> ```
286+
> If you are not using the component installer, you will need to [add this component as a module](https://docs.zendframework.com/zend-mvc-console/intro/#manual-installation).
287+
288+
`Zend\Mvc\Console\Controller\AbstractConsoleController` extends from [AbstractActionController](#abstractactioncontroller)
283289
and provides the following functionality:
284290
285291
- The method `setConsole(Zend\Console\Adapter\AdapterInterface $console)` allows
@@ -306,7 +312,7 @@ and provides the following functionality:
306312
The composed `EventManager` will be configured to listen on the following contexts:
307313
308314
- `Zend\Stdlib\DispatchableInterface`
309-
- `Zend\Mvc\Controller\AbstractConsoleController`
315+
- `Zend\Mvc\Console\Controller\AbstractConsoleController`
310316
- `Zend\Mvc\Controller\AbstractActionController`
311317
- `Zend\Mvc\Controller\AbstractController`
312318

doc/book/quick-start.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,17 @@ classes for you to start with:
109109
post body.
110110
- `DELETE` expects an "id" to be matched during routing, and will call the
111111
`delete()` method.
112-
- `Zend\Mvc\Controller\AbstractConsoleController` extends from
112+
- `Zend\Mvc\Console\Controller\AbstractConsoleController` extends from
113113
`AbstractActionController`, but provides methods for retrieving the
114114
`Zend\Console\Adapter\AdapterInterface` instance, and ensuring that execution
115115
fails in non-console environments.
116116

117+
> For version 3, the integration component [zend-mvc-console](https://docs.zendframework.com/zend-mvc-console/) must be installed. It can be done via Composer:
118+
> ````bash
119+
> composer require zendframework/zend-mvc-console
120+
> ```
121+
> If you are not using the component installer, you will need to [add this component as a module](https://docs.zendframework.com/zend-mvc-console/intro/#manual-installation).
122+
117123
To get started, we'll create a "hello world"-style controller, with a single
118124
action. First, create the file `HelloController.php` in the directory
119125
`src/<module name>/Controller`. Edit it in your favorite text editor or IDE,

0 commit comments

Comments
 (0)