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

Consider handling arbitrary "stages" in the container #12

Open
ssnepenthe opened this issue May 18, 2018 · 0 comments
Open

Consider handling arbitrary "stages" in the container #12

ssnepenthe opened this issue May 18, 2018 · 0 comments

Comments

@ssnepenthe
Copy link
Owner

Right now there are pre-defined stages for activate, deactivate and boot.

It might be nice instead to handle whatever arbitrary stages the user can think of by passing non-existent method calls on the container to the invoke_on_providers method.

For example you might want to further divide boot logic: boot_admin, boot_ajax, boot_cron, boot_frontend, etc. Or maybe you might want a shutdown stage. What about uninstall?

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

No branches or pull requests

1 participant