PHP Class Doctrine\OXM\Tools\Console\MetadataFilter

Since: 1.0
Author: Igor Golovanov ([email protected])
Inheritance: extends FilterIterator, implements Countable
Show file Open project: doctrine/oxm Class Usage Examples

Public Methods

Method Description
__construct ( ArrayIterator $metadata, $filter )
accept ( )
count ( )
filter ( array $metadatas, array | string $filter ) : array Filter Metadatas by one or more filter options.

Method Details

__construct() public method

public __construct ( ArrayIterator $metadata, $filter )
$metadata ArrayIterator

accept() public method

public accept ( )

count() public method

public count ( )

filter() public static method

Filter Metadatas by one or more filter options.
public static filter ( array $metadatas, array | string $filter ) : array
$metadatas array
$filter array | string
return array