This repository was archived by the owner on Jan 29, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -279,7 +279,12 @@ extending class.
279279
280280## AbstractConsoleController
281281
282- ` Zend\Mvc\Controller\AbstractConsoleController ` extends from [ AbstractActionController] ( #abstractactioncontroller )
282+ > To use it, you need to install zend-mvc-console via
283+ ``` bash
284+ composer require zendframework/zend-mvc-console --sort-packages
285+ ```
286+
287+ ` Zend\Mvc\Console\Controller\AbstractConsoleController ` extends from [ AbstractActionController] ( #abstractactioncontroller )
283288and provides the following functionality:
284289
285290- The method ` setConsole(Zend\Console\Adapter\AdapterInterface $console) ` allows
@@ -306,7 +311,7 @@ and provides the following functionality:
306311The composed ` EventManager ` will be configured to listen on the following contexts:
307312
308313- ` Zend\Stdlib\DispatchableInterface `
309- - ` Zend\Mvc\Controller\AbstractConsoleController `
314+ - ` Zend\Mvc\Console\ Controller\AbstractConsoleController `
310315- ` Zend\Mvc\Controller\AbstractActionController `
311316- ` Zend\Mvc\Controller\AbstractController `
312317
Original file line number Diff line number Diff line change @@ -109,10 +109,14 @@ 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.
116+ > To use it, you need to install zend-mvc-console via
117+ ``` bash
118+ composer require zendframework/zend-mvc-console --sort-packages
119+ ```
116120
117121To get started, we'll create a "hello world"-style controller, with a single
118122action. First, create the file ` HelloController.php ` in the directory
You can’t perform that action at this time.
0 commit comments