We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
-state
state
below,there is 'from' => '-proposed' and 'from' => 'proposed'.
'from' => '-proposed'
'from' => 'proposed'
what is the difference ?
'callbacks' => array( 'before' => array( array( 'from' => '-proposed', 'do' => function(Finite\StatefulInterface $document, \Finite\Event\TransitionEvent $e) { echo 'Applying transition '.$e->getTransition()->getName(), "\n"; } ), array( 'from' => 'proposed', 'do' => function() { echo 'Applying transition from proposed state', "\n"; } ) ), 'after' => array( array( 'to' => array('accepted'), 'do' => array($document, 'display') ) ) )
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
Just need some more clarification.
It will apply to all states except that one mentioned? If so how do you add multiple exclusions?
No branches or pull requests
below,there is
'from' => '-proposed'
and'from' => 'proposed'
.what is the difference ?
The text was updated successfully, but these errors were encountered: