Skip to content

DOC - mention of 6 states while there are only 4 #48

@RyanFarrah67

Description

@RyanFarrah67

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions