Skip to content

Commit d413fc3

Browse files
authored
Merge pull request #31 from Jeckel-Lab/feature/doc
Update doc
2 parents bf4758d + 44db109 commit d413fc3

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

README.md

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -205,39 +205,3 @@ In each layer, when we need to throw an Exception, we create a new class corresp
205205

206206
- extends one of the [SPL exception](https://www.php.net/manual/en/spl.exceptions.php) or another (more generic) exception from the same namespace.
207207
- implements the exception interface of the current layer.
208-
209-
210-
## Old Documentation
211-
212-
### Core
213-
214-
- **[CommandDispatcher](src/Core/CommandDispatcher/)**: Define all contract for the **command bus** implementation with
215-
- **[Command](src/Core/CommandDispatcher/Command/Command.php)**
216-
- **[CommandHandler](src/Core/CommandDispatcher/CommandHandler/CommandHandler.php)**
217-
- **[CommandResponse](src/Core/CommandDispatcher/CommandResponse/CommandResponse.php)**
218-
219-
### Domain
220-
221-
222-
223-
- **[Dto](src/Domain/Dto/Dto.php)**: main **Dto** contract (empty for now, used to define typings)
224-
- **[Entity](src/Domain/Entity/Entity.php)**: main **Entity** contract (empty for now, used to define typings)
225-
- **[DomainEventAwareInterface](src/Domain/Entity/DomainEventAwareInterface.php)**: Define how entities handle Events, and for `Event` type ([Trait](src/Domain/Entity/DomainEventAwareTrait.php) also available)
226-
- **[Event](src/Domain/Event/Event.php)**: **Event** contract, force immutability, used by `CommandResponse`, `Entity` (EventAware) and `CommandBus`
227-
- **[Exception](src/Domain/Exception/)**: Define a collection of Domain exceptions, all immutable
228-
- **[Identity](src/Domain/Identity/Identity.php)**: Main contract for entity's **Identities** with exceptions, forced immutability and `Equality` interface
229-
- **[ValueObject](src/Domain/ValueObject/ValueObject.php)**: force immutability on ValueObject, implements `toScalar` and `__toString` methods. See [psalm templating](https://psalm.dev/docs/annotating_code/templated_annotations/) documentation for more info.
230-
- **[Equality](src/Domain/Equality.php)**: define `equal` method, required for Identity, but can be also use for entities and value objects.
231-
232-
### Infrastructure
233-
- **[Exception](src/Infrastructure/Exception/)**: Define basics Infrastructure exceptions (with forced immutability)
234-
- **[Clock](src/Infrastructure/System/Clock.php)**: Define clock contract to return the current time as a mockable service
235-
236-
### Presentation
237-
- **[Exception](src/Presentation/Exception/)**: Define basics Presentation exceptions (with forced immutability)
238-
239-
## Resources
240-
241-
Please also read some Psalm documentation:
242-
- [psalm template](https://psalm.dev/docs/annotating_code/templated_annotations/)
243-
- [psalm immutable](https://psalm.dev/articles/immutability-and-beyond)

0 commit comments

Comments
 (0)