TransformPipeline
extends Module
in package
Transform pipline Please use the Transform service to build pipelines
Table of Contents
- $actions : mixed
- $type : mixed
- __construct() : mixed
- transform() : object
- Transform a pipline
Properties
$actions
protected
mixed
$actions
= []
$type
protected
mixed
$type
Methods
__construct()
public
__construct(string $type[, array<string|int, mixed> $actions = [] ]) : mixed
Parameters
- $type : string
- $actions : array<string|int, mixed> = []
Return values
mixed —transform()
Transform a pipline
public
transform(object $data) : object
Parameters
- $data : object
-
JSON object
Return values
object —JSON object