Commit 976441d
committed
[TASK] Use DiagramRenderer interface for decorator dependency
Change DecoratingPlantumlBinaryRenderer constructor to accept
DiagramRenderer interface instead of concrete PlantumlRenderer.
This improves testability and follows dependency inversion principle.
The decorator only needs the interface contract, not the concrete
implementation.
Relates: TYPO3-Documentation#10991 parent b8a6475 commit 976441d
1 file changed
Lines changed: 1 addition & 2 deletions
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | | - | |
| 26 | + | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
0 commit comments