Class WorkflowArrayParser
A WorkflowArrayParser object converts a workflow definition PHP array, into its normalized form as expected by the WorkflowFileSource class.
The normalized form implements following rules :
- key initialStatusId: (mandatory) must contain a status Id defined in the status Id list
- key status: (mandatory) status definition list - its value is an array where each key is a status Id and each value is the status configuration
- all status Ids are absolute
example :
[ 'initialStatusId' => 'WID/A' 'status' => [ 'WID/A' => [ 'transition' => [ 'WID/B' => [] 'WID/C' => [] ] ] 'WID/B' => null 'WID/C' => null ] ]
- yii\base\Object
- 
			 raoul2000\workflow\source\file\WorkflowArrayParser raoul2000\workflow\source\file\WorkflowArrayParser
Direct known subclasses
			raoul2000\workflow\source\file\DefaultArrayParser, 
			raoul2000\workflow\source\file\MinimalArrayParser
		
Methods summary
| 
				abstract public 
				array
				
				 | 
			#
			 parse( string $wId, array $definition, Parse a workflow defined as a PHP Array. | 
| 
				 public 
				
				
				 | 
			#
			 validate( string $wId, IWorkflowSource $source, string $initialStatusId, array $startStatusIdIndex, array $endStatusIdIndex )Validates an array that contains a workflow definition. | 
Properties summary
| 
				public  
				boolean
			 | $validate when TRUE, the parse method performs some validations | 
					#
					 true |