Commit 8adfe98
committed
feature #3894 Rewrote Extension & Configuration docs (WouterJ)
This PR was merged into the 2.3 branch.
Discussion
----------
Rewrote Extension & Configuration docs
The "How to expose semantic configuration for a bundle" article always was a bit of a mess. It tried to explain how to use Extension classes to load service definitions and how to provide configuration options for a bundle. At the same time it showed 2 ways to achieve this goal: a simple way and the official way. This resulted in an article that wasn't easy to follow and did not really learn anything about Extensions and Configurations.
So I decided to rewrite the complete article into 2 seperate articles: One about the Extension and one about the Configuration.
While I was doing that, I discovered it was time that we rewrote this thing. Most of the article was written in Feb 2011 and was outdated now.
I've also added a section about XML configuration.
This is a first sketch, I haven't checked my english/grammar/typos, but it's ready to catch the first comments!
| Q | A
| --- | ---
| Doc fix? | yes
| New docs? | yes
| Applies to | 2.3+
| Fixed tickets | -
Side-note: I have discussed with myself to move the article to the components docs, because most of it doesn't rely on the Symfony framework. However, since the conventions do, I decided to keep it in the cookbook to make it easier to follow.
Commits
-------
c9fe05b Rewrote Extension & Configuration docsFile tree
6 files changed
+468
-552
lines changed- components/config
- contributing/code
- cookbook
- bundles
6 files changed
+468
-552
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
| 394 | + | |
| 395 | + | |
394 | 396 | | |
395 | 397 | | |
396 | 398 | | |
| |||
445 | 447 | | |
446 | 448 | | |
447 | 449 | | |
| 450 | + | |
| 451 | + | |
448 | 452 | | |
449 | 453 | | |
450 | 454 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
151 | 152 | | |
| 153 | + | |
152 | 154 | | |
| 155 | + | |
153 | 156 | | |
| 157 | + | |
154 | 158 | | |
155 | 159 | | |
156 | 160 | | |
| |||
0 commit comments