abacaphiliac/php-extractor

Provides a simple abstraction to extract values, and sets of values, into an array.

0.1.1 2016-09-12 15:08 UTC

This package is auto-updated.

Last update: 2024-10-25 12:13:21 UTC


README

Scrutinizer Code Quality Code Coverage Build Status

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.