Skip to content
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

Remove SessionTrait trait from Wizard class #2159

Merged
merged 1 commit into from
Feb 3, 2024

Conversation

mvorisek
Copy link
Member

@mvorisek mvorisek commented Feb 3, 2024

If you need SessionTrait, extend Wizard class, possibly even using anonymous class:

-$wizard = Wizard::addTo($app);
+$wizard = get_class(new class() extends Wizard {
+    use SessionTrait;
+})::addTo($app);

@mvorisek mvorisek marked this pull request as ready for review February 3, 2024 23:38
@mvorisek mvorisek merged commit 5131d22 into develop Feb 3, 2024
49 checks passed
@mvorisek mvorisek deleted the wizard_wo_SessionTrait branch February 3, 2024 23:53
@mvorisek mvorisek changed the title Remove SessionTrait from Wizard Remove SessionTrait trait from Wizard class Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

1 participant