Skip to content

Commit 4eafede

Browse files
committed
fix docs
1 parent 79f23b9 commit 4eafede

6 files changed

Lines changed: 10 additions & 9 deletions

File tree

‎bin/build-docs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ REV=$(git rev-parse --abbrev-ref --short --verify HEAD)
99
DIR="var/docs"
1010
mkdir -p "${DIR}"
1111

12-
bin/sami update .sami.dist
13-
[[ $? -ne 0 ]] && exit 1
12+
dev bin/sami update .sami.dist
13+
#[[ $? -ne 0 ]] && exit 1
1414

1515
bin/mkdocs build
1616
[[ $? -ne 0 ]] && exit 1

‎docs/event-sourcing/event-handlers.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Event handlers
22

33
A domain event handler is bound to `MsgPhp\Domain\Event\DomainEventHandlerInterface`. Its purpose is to handle
4-
[domain events](domain-events.md). By convention a trait implementation is provided to map concrete events to
5-
corresponding handling methods.
4+
[domain events](events.md). By convention a trait implementation is provided to map concrete events to corresponding
5+
handling methods.
66

77
## Implementations
88

‎docs/index.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
# News
88

9+
- **`2018-02-12`** Added [domain identities](ddd/identities.md) chapter
910
- **`2018-01-27`** Added initial _message driven_ chapter
1011
- **`2018-01-26`** Added initial _event sourcing_ chapter
1112
- **`2018-01-25`** Added initial project [code conventions](code-conventions.md)

‎docs/message-driven/cqrs.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Commands are domain objects and provided per domain layer. They usually follow a [POPO](https://stackoverflow.com/questions/41188002/what-does-the-term-plain-old-php-object-popo-exactly-mean)
44
design. Its purpose is to describe an action to be taken. For commands being messages they can be dispatched using any
5-
[message bus](domain-message-bus.md).
5+
[message bus](message-bus.md).
66

77
## Command handlers
88

@@ -18,9 +18,9 @@ Handles a command message by sourcing a domain event.
1818
- `handle(object $command, callable $onHandled = null): void`
1919
- If the domain event is handled `$onHandled` will be invoked (if given), receiving the handler as first argument
2020
- `abstract getDomainEvent(object $command): DomainEventInterface`
21-
- The [domain event](../event-sourcing/domain-events.md) to be handled
21+
- The [domain event](../event-sourcing/events.md) to be handled
2222
- `abstract getDomainEventHandler(object $command): DomainEventHandlerInterface`
23-
- The [domain event handler](../event-sourcing/domain-event-handlers.md) handling the domain event
23+
- The [domain event handler](../event-sourcing/event-handlers.md) handling the domain event
2424

2525
## Generic example
2626

‎docs/message-driven/message-bus.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Message bus
22

33
A domain message bus is bound to `MsgPhp\Domain\Message\DomainMessageBusInterface`. Its purpose is to dispatch any type
4-
of message object and helps you to use [CQRS](cqrs.md) and [event sourcing](../event-sourcing/domain-event-handlers.md).
4+
of message object and helps you to use [CQRS](cqrs.md) and [event sourcing](../event-sourcing/event-handlers.md).
55

66
## Implementations
77

‎docs/message-driven/message-dispatcher.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Message dispatcher
22

33
The domain message dispatcher is a utility trait. Its purpose is to dispatch a message, factorized by a
4-
[object factory](../ddd/factory/object.md), using any [message bus](domain-message-bus.md).
4+
[object factory](../ddd/factory/object.md), using any [message bus](message-bus.md).
55

66
## API
77

0 commit comments

Comments
 (0)