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
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -191,7 +191,7 @@ class Book extends AbstractEntity
191
191
```
192
192
193
193
The `BookService` class will require minor modifications for the `getBooks()` and `saveBook()` methods, to add the custom properties added in the previous step.
194
-
The class should look like the following after updating the methods/
194
+
The class should look like the following after updating the methods.
195
195
196
196
*`src/Book/src/Service/BookService.php`
197
197
@@ -279,7 +279,8 @@ class BookService implements BookServiceInterface
279
279
280
280
When creating or updating a book, we will need some validators, so we will create input filters that will be used to validate the data received in the request.
281
281
282
-
By creating a `module` with `dot-maker`, separate inputs will not be created. However, you can still generate them as using these steps:
282
+
By creating a `module` with `dot-maker`, separate inputs will not be created.
283
+
However, you can still generate them as using these steps:
283
284
284
285
* Run the following to start adding `Input` classes:
285
286
@@ -321,7 +322,7 @@ class CreateBookInputFilter extends AbstractInputFilter
321
322
322
323
We create separate `Input` files to demonstrate their reusability and obtain a clean `CreateBookInputFilter` but you could have all the inputs created directly in the `CreateBookInputFilter` like this:
323
324
324
-
> Note that `dot-maker` will not generate inputs in the constructor, so the following are to be added by hand **if** going for this approach
325
+
> Note that `dot-maker` will not generate inputs in the constructor, so the following are to be added by hand **if** going for this approach.
This will check for differences between your entities and database structure and create migration files if necessary, in src/Core/src/App/src/Migration.
387
+
This will check for differences between your entities and database structure and create migration files if necessary, in `src/Core/src/App/src/Migration`.
0 commit comments