-
Notifications
You must be signed in to change notification settings - Fork 118
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
How to configure bundle to use Doctrine Storage #377
Comments
There's only #217 (comment) for now. A doc PR would be appreciated. 😏 |
Thanks @craue ! I tried in
but it seems the Storage being used is still SessionStorage instead of DoctrineStorage. When I dump Is there something more that needs to be done after configuration? Are there any examples or docs on how to use the bundle with the Doctrine Storage? Any help is much appreciated. |
@nestordedios, this config basically works for me, but make sure the flow is actually used. - app.form.flow:
- class: 'App\Form\RegistrationFlow'
+ App\Form\RegistrationFlow: // controller:
public function registrationAction(\App\Form\RegistrationFlow $flow) {
assert($flow->getDataManager()->getStorage() instanceof \Craue\FormFlowBundle\Storage\DoctrineStorage);
// ...
} |
Hi,
Is there any documentation/example where it explains how to configure the bundle to use the Doctrine Storage instead of the default Session Storage?
I've been searching in the repository but I couldn't find something helpful.
Do you have any recommendation?
The text was updated successfully, but these errors were encountered: