populate an object by recursively loading files
objectloader is a simple utility to recurse over a directory and load each php file. If the file returns a callable, it's called and passed the provided object. This is useful for populating a Di, ServiceLocator, or an Event Queue
Peruse the tests or, if present, the examples directory to see usage.
See packagist for version/installation info.