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)
241241 ->defaultValue ('workflow ' )
242242 ->end ()
243243 ->arrayNode ('marking_store ' )
244- ->isRequired ()
245244 ->children ()
246245 ->enumNode ('type ' )
247- ->values (array ('property_accessor ' , 'scalar ' ))
246+ ->values (array ('multiple_state ' , 'single_state ' ))
248247 ->end ()
249248 ->arrayNode ('arguments ' )
250249 ->beforeNormalization ()
Original file line number Diff line number Diff line change 1818 <argument /> <!-- name -->
1919 </service >
2020
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" />
2323
2424 <service id =" workflow.registry" class =" Symfony\Component\Workflow\Registry" />
2525
Original file line number Diff line number Diff line change 66 'workflows ' => array (
77 'my_workflow ' => array (
88 'marking_store ' => array (
9- 'type ' => 'property_accessor ' ,
9+ 'type ' => 'multiple_state ' ,
1010 ),
1111 'supports ' => array (
1212 FrameworkExtensionTest::class,
Original file line number Diff line number Diff line change 1010 <framework : workflows >
1111 <framework : workflow name =" my_workflow" >
1212 <framework : marking-store >
13- <framework : type >property_accessor </framework : type >
13+ <framework : type >multiple_state </framework : type >
1414 <framework : arguments >a</framework : arguments >
1515 <framework : arguments >a</framework : arguments >
1616 </framework : marking-store >
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ framework:
22 workflows :
33 my_workflow :
44 marking_store :
5- type : property_accessor
5+ type : multiple_state
66 supports :
77 - Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTest
88 places :
You can’t perform that action at this time.
0 commit comments