Skip to content

Refactor ServiceLoader instantiation for use outside of web context #639

Open
@g105b

Description

@g105b

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions