You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/book/v6/tutorials/create-book-module-via-dot-maker.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Implementing a book module in Dotkernel Admin using dotkernel/dot-maker
1
+
# Implementing a book module in Dotkernel Admin using DotMaker
2
2
3
3
The `dotkernel/dot-maker` library can be used to programmatically generate project files and directories.
4
4
It can be added to your API installation by following the [official documentation](https://docs.dotkernel.org/dot-maker/).
@@ -106,7 +106,7 @@ Next you will be prompted to add the relevant components of a module, accepting
106
106
*`Allow deleting Books?` (Y): similar to the previous step, this step will generate multiple files:
107
107
* The form used for creation `DeleteBookForm`, the input filter it uses `DeleteBookInputFilter` as well as a singular Input class it uses - `ConfirmDeleteBookInput`
108
108
* The handler that fetches the form `GetDeleteBookFormHandler`
109
-
* The handler for the POST action `PostDeleteTreeHandler`
109
+
* The handler for the POST action `PostDeleteBookHandler`
110
110
* The template file used for the form `delete-book-form.html.twig`
111
111
*`Allow editing Books?` (Y): as the previous two cases, multiple files are generated on this step as well:
112
112
* The form used for creation `EditBookForm` and the input filter it uses `EditBookInputFilter`
@@ -118,7 +118,7 @@ as well as the `RoutesDelegator` class containing all the relevant routes.
118
118
119
119
You will then be instructed to:
120
120
121
-
* Register the `ConfigProvider` classes by adding `Admin\Book\ConfigProvider::class` and `Core\Computer\ConfigProvider::class` to `config/config.php`
121
+
* Register the `ConfigProvider` classes by adding `Admin\Book\ConfigProvider::class` and `Core\Book\ConfigProvider::class` to `config/config.php`
122
122
* Register the new `Book` namespace by adding `"Admin\\Book\\": "src/Book/src/"` and `"Core\\Book\\": "src/Core/src/Book/src/"` to `composer.json` under the `autoload.psr-4` key.
123
123
* After registering the namespace, run the following command to regenerate the autoloaded files, as notified by `dot-maker`:
0 commit comments