php-etl icon indicating copy to clipboard operation
php-etl copied to clipboard

[RFC] Semantic fluent interface

Open umpirsky opened this issue 9 years ago • 0 comments

$etl = new Knp\Etl();

$etl
    ->extract('from.csv')
    ->transform(function(array $data) {
        return array_change_key_case($data)
    })
    ->load('to.json')
;

What do you think?

umpirsky avatar Jan 19 '16 18:01 umpirsky