In the README.md, this is mentionned :
$config = array(
'graph' => 'myGraphA', // Name of the current graph - there can be many of them attached to the same object
'property_path' => 'stateA', // Property path of the object actually holding the state
'states' => array(
'checkout',
'pending',
'confirmed',
'cancelled'
),
[...]
followed by this explanation :
So, in the previous example, the graph has 6 possible states, and those can be achieved by applying some transitions to the object. [...]
But from what I read, there are only 4 states present in the declared graph and not 6 like said above.
In the
README.md, this is mentionned :followed by this explanation :
But from what I read, there are only 4 states present in the declared graph and not 6 like said above.