Documentation

ReplaceFilter
in package
implements TypeFilter

Tags
final

Table of Contents

Interfaces

TypeFilter

Properties

$callback  : callable

Methods

__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

apply()

Applies the filter to the object.

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

        
On this page

Search results