Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Commit62d272c
committed
feature#51227 [FrameworkBundle][Workflow] Attach the workflow's configuration to the
This PR was merged into the 7.1 branch.Discussion----------[FrameworkBundle][Workflow] Attach the workflow's configuration to the `workflow` tag| Q | A| ------------- | ---| Branch? | 7.1| Bug fix? | no| New feature? | yes| Deprecations? | no| Tickets || License | MIT| Doc PR |Since the registry is deprecated, users have to build there own registry when a service locator is not enough.However, some information can be missing, like the `supports` configuration option.In this PR, I add the whole configuration to the tag, so everyone can build exactly what they need.The config is added only to the `workflow` tag, not sub tags. To get it:```phpclass Kernel extends BaseKernel implements CompilerPassInterface{ use MicroKernelTrait; public function process(ContainerBuilder $container) { foreach ($container->findTaggedServiceIds('workflow.workflow') as $id => $attributes) { $config = $container->getDefinition($id)->getTag('workflow')[0]; dd($config); } }}```Commits-------887a3c0 [FrameworkBundle][Workflow] Attach the workflow's configuration to the `workflow` tagworkflow tag (lyrixx)File tree
3 files changed
+20
-5
lines changed- src/Symfony/Bundle/FrameworkBundle
- DependencyInjection
- Tests/DependencyInjection
3 files changed
+20
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1029 | 1029 | | |
1030 | 1030 | | |
1031 | 1031 | | |
1032 | | - | |
| 1032 | + | |
1033 | 1033 | | |
1034 | 1034 | | |
1035 | 1035 | | |
| |||
Lines changed: 18 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | 87 | | |
89 | 88 | | |
90 | 89 | | |
| |||
302 | 301 | | |
303 | 302 | | |
304 | 303 | | |
305 | | - | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
306 | 313 | | |
307 | 314 | | |
308 | 315 | | |
| |||
333 | 340 | | |
334 | 341 | | |
335 | 342 | | |
336 | | - | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
337 | 351 | | |
338 | 352 | | |
339 | 353 | | |
| |||
357 | 371 | | |
358 | 372 | | |
359 | 373 | | |
360 | | - | |
| 374 | + | |
361 | 375 | | |
362 | 376 | | |
363 | 377 | | |
| |||
0 commit comments
Comments
(0)