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

Handle autoloading of extension classes #8

Open
martinkrcho opened this issue Aug 19, 2020 · 1 comment
Open

Handle autoloading of extension classes #8

martinkrcho opened this issue Aug 19, 2020 · 1 comment
Assignees
Labels
Future Something to look at in a future update

Comments

@martinkrcho
Copy link
Contributor

Let's discuss autoloading of classes in the extensions. I can see 2 options here.

  1. We can have a composer based autoloading in each extension.
  2. We can provide a hook in the main plugin to allow an extension to provide a namespace + directory path or some other parameters for an autoloader mechanism in the main plugin.
@DannyWPWS
Copy link
Contributor

DannyWPWS commented Aug 19, 2020

@martinkrcho do you mean the way we load the custom alerts/senors found in extensions or the way we include the core files? Also, forgive my ignorance but what would doing the above give us? Or is this something that could help in the future with more perhaps more complex extensions which we may produce?

@DannyWPWS DannyWPWS added the Future Something to look at in a future update label Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Future Something to look at in a future update
Projects
None yet
Development

No branches or pull requests

2 participants