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

Refactor ServiceLoader instantiation for use outside of web context #639

Open
g105b opened this issue Aug 16, 2023 · 0 comments
Open

Refactor ServiceLoader instantiation for use outside of web context #639

g105b opened this issue Aug 16, 2023 · 0 comments

Comments

@g105b
Copy link
Member

g105b commented Aug 16, 2023

The go/do functions are super useful, and it would be really good to be able to use them outside of the web context, like in cron scripts.

To have a cron script at cron/processThings.php and to simply have a function go(LoadedClass $thing):void { ... } would be SO USEFUL!

There are other use cases other than cron, such as how APIs will work after getting the routing functionality updated.

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