henderjon/chevron-objectloader

populate an object by recursively loading files

v1.3.0 2014-08-31 04:03 UTC

This package is auto-updated.

Last update: 2024-12-06 09:50:53 UTC


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.

Latest Stable Version Build Status