Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

documentation #2

Open
jerguslejko opened this issue Jun 21, 2019 · 2 comments
Open

documentation #2

jerguslejko opened this issue Jun 21, 2019 · 2 comments

Comments

@jerguslejko
Copy link
Contributor

  • setStates must come before setTransitions
@jerguslejko
Copy link
Contributor Author

  • you can use either Transition::make($state, ...) or ::make($state->key) or simply ::make('foo') - it's all the same

@jerguslejko
Copy link
Contributor Author

none of the above applies anymore.

  1. setStates and setTransitions do not exist anymore.
  2. doing $state->key is now $state->getKey(), doing $state no longer works since we removed __toString()

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

No branches or pull requests

1 participant