Skip to content

Commit 02e0dbd

Browse files
committed
Issue #12: [Docs] Fixed (Core)ConfigProvider and Middleware related post make module messages
Signed-off-by: alexmerlin <alex.merlin.1985@gmail.com>
1 parent 07442f3 commit 02e0dbd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/book/v1/component/module.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -334,13 +334,13 @@ Once the Module is created, `dot-maker` will display a list of tasks that need t
334334
Next steps:
335335
===========
336336
- add to config/config.php:
337-
<ProjectType>\<ModuleName>\ConfigProvider,
337+
<ProjectType>\<ModuleName>\ConfigProvider::class,
338338
- add to config/config.php:
339-
Core\<ModuleName>\ConfigProvider,
339+
Core\<ModuleName>\ConfigProvider::class,
340340
- add to config/autoload/cli.global.php under dot_cli.commands:
341341
<ProjectType>\<ModuleName>\Command\<ModuleName>Command::getDefaultName() => <ProjectType>\<ModuleName>\Command\<ModuleName>Command::class,
342342
- add to config/pipeline.php:
343-
$app->pipe(<ProjectType>\<ModuleName>\Middleware\<ModuleName>Middleware);
343+
$app->pipe(<ProjectType>\<ModuleName>\Middleware\<ModuleName>Middleware::class);
344344
- add to config/autoload/authorization.global.php (OR config/autoload/authorization-guards.global.php)
345345
the routes registered in /path/to/project/src/<ModuleName>/src/RoutesDelegator.php
346346
- add to composer.json under autoload.psr-4:

0 commit comments

Comments
 (0)