Skip to content

Commit a4df52d

Browse files
committed
Add onion layer diagram
1 parent 55a483f commit a4df52d

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

source/css/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ pre code.php {
7777
}
7878
}
7979

80+
figure {
81+
text-align: center;
82+
}
83+
8084
.authors {
8185
text-align: center;
8286
}

source/img/onion.png

40.8 KB
Loading

source/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ <h2>What is Stack?</h2>
5252
<p>
5353
Stack is a convention for composing HttpKernelInterface middlewares.
5454
</p>
55-
56-
<!--
5755
<figure>
58-
<img src="{{ site.url }}/img/middleware.png" alt="">
56+
<img src="{{ site.url }}/img/onion.png" alt="Kernel Onion">
5957
</figure>
60-
-->
58+
<p>
59+
By wrapping your application in decorators you can add new behaviour from the outside.
60+
</p>
6161
</div>
6262

6363
<hr>

0 commit comments

Comments
 (0)