easy-digital-downloads icon indicating copy to clipboard operation
easy-digital-downloads copied to clipboard

Add autoloading

Open ashleyfae opened this issue 3 years ago • 1 comments

Enhancement Request

Explain your enhancement (please be detailed)

We should add some kind of auto loader so we can start loading classes automatically.

Justification or use case

We have an ever growing list of manual includes that 1) is hard to manage; and 2) makes the main EDD class a pain to read/navigate.

ashleyfae avatar Jun 03 '21 13:06 ashleyfae

This would be welcomed. I like using the PSR 4 class based one, where you supply an array of sources to be registered upon instantiation.

rwebster85 avatar Jun 03 '21 13:06 rwebster85