class MetadataFilter extends FilterIterator implements Countable (View source)

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

Methods

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

Filter Metadatas by one or more filter options.

__construct(ArrayIterator $metadata, array|string $filter)

No description

bool
accept()

No description

int
count()

No description

Details

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

Filter Metadatas by one or more filter options.

Parameters

array $metadatas
array|string $filter

Return Value

array

__construct(ArrayIterator $metadata, array|string $filter)

Parameters

ArrayIterator $metadata
array|string $filter

bool accept()

Return Value

bool

int count()

Return Value

int