@@ -186,32 +186,6 @@ public function addFromArray($name, array $workflowData)
186
186
}
187
187
}
188
188
189
- /**
190
- * Parses events to dispatch data from config
191
- */
192
- protected function parseEventsToDispatch (array $ workflowData )
193
- {
194
- if (array_key_exists ('events_to_dispatch ' , $ workflowData )) {
195
- return $ workflowData ['events_to_dispatch ' ];
196
- }
197
-
198
- // Null dispatches all, [] dispatches none.
199
- return null ;
200
- }
201
-
202
- /**
203
- * Gets the default registry config
204
- *
205
- * @return array
206
- */
207
- protected function getDefaultRegistryConfig ()
208
- {
209
- return [
210
- 'track_loaded ' => false ,
211
- 'ignore_duplicates ' => true ,
212
- ];
213
- }
214
-
215
189
/**
216
190
* Checks if the workflow is already loaded for this supported class
217
191
*
@@ -239,6 +213,32 @@ public function isLoaded($workflowName, $supportStrategy)
239
213
return false ;
240
214
}
241
215
216
+ /**
217
+ * Parses events to dispatch data from config
218
+ */
219
+ protected function parseEventsToDispatch (array $ workflowData )
220
+ {
221
+ if (array_key_exists ('events_to_dispatch ' , $ workflowData )) {
222
+ return $ workflowData ['events_to_dispatch ' ];
223
+ }
224
+
225
+ // Null dispatches all, [] dispatches none.
226
+ return null ;
227
+ }
228
+
229
+ /**
230
+ * Gets the default registry config
231
+ *
232
+ * @return array
233
+ */
234
+ protected function getDefaultRegistryConfig ()
235
+ {
236
+ return [
237
+ 'track_loaded ' => false ,
238
+ 'ignore_duplicates ' => true ,
239
+ ];
240
+ }
241
+
242
242
/**
243
243
* Sets the workflow as loaded
244
244
*
0 commit comments