ScalarFunctionTransformer implements Transformer
Read onlyYes
FinalYes
Interfaces
Properties
Methods
- __construct() : mixed
- bind() : BoundStep
- transform() : Rows
Properties
$function
public
ScalarFunction
$function
Methods
__construct()
public
__construct(Definition<string|int, mixed>|string $entry, ScalarFunction $function[, null|ScalarFunction $resolved = null ][, null|Definition<string|int, mixed> $derived = null ][, null|Schema $output = null ]) : mixed
Parameters
- $entry : Definition<string|int, mixed>|string
- $function : ScalarFunction
- $resolved : null|ScalarFunction = null
-
the function resolved against the bound schema
- $derived : null|Definition<string|int, mixed> = null
-
the column this step declares
- $output : null|Schema = null
-
the schema this step declares
bind()
public
bind(Schema $input) : BoundStep
Parameters
- $input : Schema
Return values
BoundSteptransform()
public
transform(Rows $rows, FlowContext $context) : Rows
Parameters
- $rows : Rows
- $context : FlowContext