Skip to content

Commit 00b21ac

Browse files
authored
Feature/Extended documentation. (#17)
1 parent 1598df2 commit 00b21ac

File tree

9 files changed

+9
-8
lines changed

9 files changed

+9
-8
lines changed

.github/workflows/documentation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Documentation
22

33
on:
44
pull_request:
5+
branches: [ main ]
56
types: [ closed ]
67

78
jobs:

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ Check this small example of the usage:
9090
$response = $queryBus->ask(new GetUserQuery('some-uuid-value'));
9191
```
9292

93+
Check the [wiki](https://github.com/othercodes/ComplexHeart/wiki) for more detailed examples.
94+
9395
## References
9496

9597
- [Pro Codely TV](https://pro.codely.tv/library/)

wiki/Domain-Modeling-Aggregates.md

Whitespace-only changes.

wiki/Domain-Modeling-Entities.md

Whitespace-only changes.

wiki/DomainModeling_ValueObjects.md renamed to wiki/Domain-Modeling-Value-Objects.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Value Objects
21

32
```php
43
use OtherCode\ComplexHeart\Domain\Contracts\ValueObject;

wiki/DomainModeling.md renamed to wiki/Domain-Modeling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Domain Modeling: Aggregates, Entities and Value Objects
1+
## How to model the domain
22

33
Complex Heart allows you to model your domain Aggregates, Entities, and Value Objects using a set of traits. Great, but
44
why traits and not classes? Well, sometimes you have some kind of inheritance in your classes. Being forced to use a

wiki/Home.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
# Home
21

File renamed without changes.

wiki/_Sidebar.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
- [Home](Home)
2-
- [Domain Modeling](DomainModeling)
3-
- Aggregates
4-
- Entities
5-
- [Value Objects](DomainModeling_ValueObjects)
6-
- [Service Bus](Service Bus)
2+
- [Domain Modeling](Domain-Modeling)
3+
- [Aggregates](Domain-Modeling-Aggregates)
4+
- [Entities](Domain-Modeling-Entities)
5+
- [Value Objects](Domain-Modeling-Value-Objects)
6+
- [Service Bus](Service-Bus)
77
- Criteria Pattern

0 commit comments

Comments
 (0)