Commit c1bb1e3
committed
minor #9554 Remove faulty PHP code blocks (stof)
This PR was merged into the 3.4 branch.
Discussion
----------
Remove faulty PHP code blocks
The `_instanceof` and `_defaults` APIs have not equivalent for the low-level Definition API, as they are resource-scoped features and the low-level API does not have any concept of resource doing the definition.
`registerForAutoconfiguration` is totally unrelated to `_instanceof`. It is the partner of the ` autoconfigure` API.
A valid replacement could be to use the new PHP DSL (which has equivalent features), but I don't think it is used anywhere in the DI documentation yet. And using it would require a policy about how to distinguish code blocks using the PHP DSL in a config file, and code blocks using the lower-level PHP API. So I kept this out of this PR, by only removing wrong doc.
Commits
-------
cbcbb43 Remove faulty PHP code blocks1 file changed
+0
-54
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | 90 | | |
117 | 91 | | |
118 | 92 | | |
| |||
160 | 134 | | |
161 | 135 | | |
162 | 136 | | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | 137 | | |
180 | 138 | | |
181 | 139 | | |
| |||
512 | 470 | | |
513 | 471 | | |
514 | 472 | | |
515 | | - | |
516 | | - | |
517 | | - | |
518 | | - | |
519 | | - | |
520 | | - | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | | - | |
527 | 473 | | |
528 | 474 | | |
529 | 475 | | |
| |||
0 commit comments