class MetadataFilter extends FilterIterator implements Countable (View source)

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

Methods

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

Filter Metadatas by one or more filter options.

__construct(ArrayIterator $metadata, $filter)

No description

accept()

No description

count()

No description

Details

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

Filter Metadatas by one or more filter options.

Parameters

array $metadatas
array|string $filter

Return Value

ClassMetadata[]

__construct(ArrayIterator $metadata, $filter)

Parameters

ArrayIterator $metadata
$filter

accept()

count()