-
-
Save meDavid/7acea2f6b52955a716c52f547b2dd02b to your computer and use it in GitHub Desktop.
creditcard application simple configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
framework: | |
workflows: | |
creditcard_application_flow: | |
type: 'state_machine' # 'workflow' or 'state_machine', defaults to 'workflow' | |
marking_store: | |
type: 'single_state' # 'single_state or 'multiple_state' | |
supports: # the Subject entity. No longer required in Symfony 3.3+ | |
- AppBundle\Entity\CreditcardApplication | |
places: | |
- start | |
- email_confirmed | |
- application_validated | |
- card_created | |
- card_activated | |
transitions: | |
confirm_email: | |
from: start | |
to: email_confirmed | |
validate_application: | |
from: email_confirmed | |
to: application_validated | |
create_card: | |
from: application_validated | |
to: card_created | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment