henderjon / chevron-objectloader
populate an object by recursively loading files
v1.3.0
2014-08-31 04:03 UTC
Requires
- php: >=5.4.0
Requires (Dev)
- phpunit/phpunit: ~4.0
README
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.