Skip to content

Commit e0724e7

Browse files
authored
Merge pull request #17 from dotkernel/issue-12-2
Issue #12: [Docs] Fixed `(Core)ConfigProvider` and `Middleware` related post `make module` messages
2 parents 07442f3 + 02e0dbd commit e0724e7

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)