Warning: This page has not been updated in over over a year and may be outdated or deprecated.
development:plugins:controllers
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
development:plugins:controllers [2020/03/03 20:18] – demiankatz | development:plugins:controllers [2020/03/03 20:23] – [Overriding an Existing Controller] demiankatz | ||
---|---|---|---|
Line 32: | Line 32: | ||
* Create a [[development: | * Create a [[development: | ||
* Create a new class in your module' | * Create a new class in your module' | ||
- | * In your module' | + | * In your module' |
< | < | ||
- | $config = array( | + | $config = [ |
- | ' | + | ' |
- | 'invokables' => array( | + | 'factories' => [ |
- | 'controllername' => ' | + | 'YourNamespace\Controller\ControllerNameController' |
- | | + | ], |
- | | + | ' |
- | ); | + | ' |
+ | | ||
+ | | ||
+ | ]; | ||
</ | </ | ||
development/plugins/controllers.txt · Last modified: 2021/08/03 14:04 by demiankatz