abacaphiliac/php-extractor
Provides a simple abstraction to extract values, and sets of values, into an array.
Installation
composer require abacaphiliac/php-extractor
Usage
$extractor = new \Abacaphiliac\Extractor\ExtractorChain([
new YourCustomSessionExtractor($session),
new SomeOtherDataProvider($dependency),
]);
$mergedData = $extractor->extract();
Dependencies
See composer.json.
Contributing
git clone git@github.com:abacaphiliac/php-extractor.git && cd php-extractor
composer update && vendor/bin/phing
This library attempts to comply with PSR-1, PSR-2, and PSR-4. If you notice compliance oversights, please send a patch via pull request.