Skip to content

Commit

Permalink
requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioRadu committed May 7, 2024
1 parent 8cb9171 commit 3a14ea1
Showing 1 changed file with 24 additions and 22 deletions.
46 changes: 24 additions & 22 deletions docs/book/v4/tutorials/create-book-module.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,30 @@

The below file structure is just an example, you can have multiple components such as event listeners, wrappers, etc.

```
/src/
/Book/
/src/
/Collection/
/BookCollection.php
/Entity/
/Book.php
/Handler/
/BookHandler.php
/Repository/
/BookRepository.php
/Service/
/BookService.php
/InputFilter/
/Input/
/NameInput.php
/AuthorInput.php
/ReleaseDateInput.php
/BookInputFilter.php
ConfigProvider.php
RoutesDelegator.php
```markdown
.
└── src/
└── Book/
└── src/
├── Collection/
│ └── BookCollection.php
├── Entity/
│ └── Book.php
├── Handler/
│ └── BookHandler.php
├── InputFilter/
│ ├── Input/
│ │ ├── AuthorInput.php
│ │ ├── NameInput.php
│ │ └── ReleaseDateInput.php
│ └── BookInputFilter.php
├── Repository/
│ └── BookRepository.php
├── Service/
│ ├── BookService.php
│ └── BookServiceInterface.php
├── ConfigProvider.php
└── RoutesDelegator.php
```

* `src/Book/src/Collection/BookCollection.php` - a collection refers to a container for a group of related objects, typically used to manage sets of related entities fetched from a database
Expand Down

0 comments on commit 3a14ea1

Please sign in to comment.