File tree Expand file tree Collapse file tree 5 files changed +6
-7
lines changed
Tests/DependencyInjection/Fixtures Expand file tree Collapse file tree 5 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -241,10 +241,9 @@ private function addWorkflowSection(ArrayNodeDefinition $rootNode)
241
241
->defaultValue ('workflow ' )
242
242
->end ()
243
243
->arrayNode ('marking_store ' )
244
- ->isRequired ()
245
244
->children ()
246
245
->enumNode ('type ' )
247
- ->values (array ('property_accessor ' , 'scalar ' ))
246
+ ->values (array ('multiple_state ' , 'single_state ' ))
248
247
->end ()
249
248
->arrayNode ('arguments ' )
250
249
->beforeNormalization ()
Original file line number Diff line number Diff line change 18
18
<argument /> <!-- name -->
19
19
</service >
20
20
21
- <service id =" workflow.marking_store.property_accessor " class =" Symfony\Component\Workflow\MarkingStore\PropertyAccessorMarkingStore " abstract =" true" />
22
- <service id =" workflow.marking_store.scalar " class =" Symfony\Component\Workflow\MarkingStore\ScalarMarkingStore " abstract =" true" />
21
+ <service id =" workflow.marking_store.multiple_state " class =" Symfony\Component\Workflow\MarkingStore\MultipleStateMarkingStore " abstract =" true" />
22
+ <service id =" workflow.marking_store.single_state " class =" Symfony\Component\Workflow\MarkingStore\SingleStateMarkingStore " abstract =" true" />
23
23
24
24
<service id =" workflow.registry" class =" Symfony\Component\Workflow\Registry" />
25
25
Original file line number Diff line number Diff line change 6
6
'workflows ' => array (
7
7
'my_workflow ' => array (
8
8
'marking_store ' => array (
9
- 'type ' => 'property_accessor ' ,
9
+ 'type ' => 'multiple_state ' ,
10
10
),
11
11
'supports ' => array (
12
12
FrameworkExtensionTest::class,
Original file line number Diff line number Diff line change 10
10
<framework : workflows >
11
11
<framework : workflow name =" my_workflow" >
12
12
<framework : marking-store >
13
- <framework : type >property_accessor </framework : type >
13
+ <framework : type >multiple_state </framework : type >
14
14
<framework : arguments >a</framework : arguments >
15
15
<framework : arguments >a</framework : arguments >
16
16
</framework : marking-store >
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ framework:
2
2
workflows :
3
3
my_workflow :
4
4
marking_store :
5
- type : property_accessor
5
+ type : multiple_state
6
6
supports :
7
7
- Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTest
8
8
places :
You can’t perform that action at this time.
0 commit comments