Replies: 1 comment
-
If you still need this info, you can find it here: https://spatie.be/docs/laravel-model-states/v2/working-with-transitions/04-retrieving-transitionable-states |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Im currently using :
$states = collect(Order::getStates()->first())->toArray();
to get all the state of the Order model
when using @foreach in view i can display each state($state).
With the $state, how can i get the array of the transitionable states of that $state?
Beta Was this translation helpful? Give feedback.
All reactions