Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
RyanFarrah67 opened this issue Jan 1, 2022 · 0 comments
Open

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

RyanFarrah67 opened this issue Jan 1, 2022 · 0 comments

Comments

@RyanFarrah67
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant