shipcloud PHP Client

ReplaceFilter
in package
implements TypeFilter

Tags
final

Interfaces, Classes and Traits

TypeFilter

Table of Contents

$callback  : callable
__construct()  : mixed
apply()  : mixed
Applies the filter to the object.

Properties

Methods

__construct()

public __construct(callable $callable) : mixed
Parameters
$callable : callable

Will be called to get the new value for each element to replace

Return values
mixed

apply()

Applies the filter to the object.

public apply(mixed $element) : mixed
Parameters
$element : mixed
Return values
mixed

Search results