flow php

UNIFIED DATA PROCESSING FRAMEWORK

composer require flow-php/etl ~0.36.0

ChangelogRelease Cycle

play Try Playground

elephant
extract

Extracts

Read from various data sources.

arrow
transform

Transforms

Shape and optimize for your needs.

arrow
load

Loads

Store and secure in one of many available data sinks.


Definition


/**
 * Create a row mapper backed by a public static factory method.
 *
 * The factory method must accept a single array<string, mixed> $row and return
 * an instance of the target class. If your factory needs access to the mapping
 * Context (sql/parameters/client/catalog/user-data), implement RowMapper directly.
 *
 * @template T of object
 *
 * @param class-string<T> $class
 * @param non-empty-string $method
 *
 * @return StaticFactoryMapper<T>
 */
static_factory_mapper(string $class, string $method) : StaticFactoryMapper

Contributors

Join us on GitHub external resource
scroll back to top