AbstractFilter
in package
AbstractYes
Table of Contents
Properties
- $magicIsAllowed : bool
- $token : JSONPathToken
Methods
- __construct() : mixed
- filter() : array<string|int, mixed>
Properties
$magicIsAllowed
protected
bool
$magicIsAllowed
= false
$token
protected
JSONPathToken
$token
Methods
__construct()
public
__construct(JSONPathToken $token[, int|bool $options = false ]) : mixed
Parameters
- $token : JSONPathToken
- $options : int|bool = false
filter()
public
abstract filter(array<string|int, mixed>|ArrayAccess $collection) : array<string|int, mixed>
Parameters
- $collection : array<string|int, mixed>|ArrayAccess