Skip to content

Commit 67677a2

Browse files
committed
linting fix
Signed-off-by: Jurj-Bogdan <[email protected]>
1 parent ba887c6 commit 67677a2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/book/v6/tutorials/create-book-module-via-dot-maker.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,17 +75,17 @@ Next you will be prompted to add the relevant components of a module, accepting
7575
* `Service` and `service interface` (Y): will generate the `BookService` and the `BookServiceInterface`.
7676
* `Command`, followed by `middleware`(N): not necessary for the module described in this tutorial.
7777
* `Handler` (Y): this option is needed, and will further prompt you for the required actions.
78-
* `Allow listing Books?` (Y): this will generate both the `GetBookResourceHandler.php` class and the `BookCollection.php` it uses.
79-
* `Allow viewing Books?` (Y): will generate the single resource GET action handler - `GetBookResourceHandler.php`.
80-
* `Allow creating Books?` (Y): will generate the POST action handler for the `Book` entity - `PostBookResourceHandler.php`, as well as the input filter used for validating the data - `CreateBookInputFilter.php`.
81-
* `Allow deleting Books?`, `Allow editing Books?` and `Allow replacing Books?` (N): will generate handlers that reflect the DELETE, PATCH and PUT actions respectively, but are not necessary for this tutorial.
78+
* `Allow listing Books?` (Y): this will generate both the `GetBookResourceHandler.php` class and the `BookCollection.php` it uses.
79+
* `Allow viewing Books?` (Y): will generate the single resource GET action handler - `GetBookResourceHandler.php`.
80+
* `Allow creating Books?` (Y): will generate the POST action handler for the `Book` entity - `PostBookResourceHandler.php`, as well as the input filter used for validating the data - `CreateBookInputFilter.php`.
81+
* `Allow deleting Books?`, `Allow editing Books?` and `Allow replacing Books?` (N): will generate handlers that reflect the DELETE, PATCH and PUT actions respectively, but are not necessary for this tutorial.
8282
* Following this step, `dot-maker` will automatically generate the `ConfigProvider.php` classes for both the `Api` and `Core` namespaces, as well as the `OpenAPI.php` class which automatically documents the previously generated routes.
8383

8484
You will then be instructed to:
8585

8686
* Register the `ConfigProvider` classes by adding `Api\Book\ConfigProvider::class` and `Core\Computer\ConfigProvider::class` to `config/config.php`
8787
* Register the new `Book` namespace by adding `"Api\\Book\\": "src/Book/src/"` and `"Core\\Book\\": "src/Core/src/Book/src/"` to `composer.json` under the `autoload.psr-4` key.
88-
* After registering the namespace, run the following command to regenerate the autoloaded files, as notified by `dot-maker`:
88+
* After registering the namespace, run the following command to regenerate the autoloaded files, as notified by `dot-maker`:
8989

9090
```shell
9191
composer dump

0 commit comments

Comments
 (0)