class MetadataFilter extends FilterIterator implements Countable (View source)

Used by CLI Tools to restrict entity-based commands to given patterns.

Methods

static string[]
filter(array $metadatas, string[]|string $filter)

Filter Metadatas by one or more filter options.

__construct(ArrayIterator $metadata, $filter)

No description

bool
accept()

No description

int
count()

No description

Details

static string[] filter(array $metadatas, string[]|string $filter)

Filter Metadatas by one or more filter options.

Parameters

array $metadatas
string[]|string $filter

Return Value

string[]

__construct(ArrayIterator $metadata, $filter)

Parameters

ArrayIterator $metadata
$filter

bool accept()

Return Value

bool

int count()

Return Value

int