Doctrine\ORM\Tools\Console\MetadataFilter
Used by CLI Tools to restrict entity-based commands to given patterns.
- Author: Benjamin Eberlei <kontakt@beberlei.de>
- License: http://www.opensource.org/licenses/lgpl-license.php LGPL
Synopsis
class MetadataFilter
extends FilterIterator
implements
Countable
{
- // members
- private array $_filter;
- // methods
- public static array filter()
- public void __construct()
- public void accept()
- public void count()
- // Inherited methods from FilterIterator
- public bool accept()
- public void __construct()
- public mixed current()
- public Iterator getInnerIterator()
- public mixed key()
- public void next()
- public void rewind()
- public bool valid()
Hierarchy
Members
private
- $_filter
Methods
public
- __construct()
- accept()
- count()
- filter() — Filter Metadatas by one or more filter options.
Inherited from FilterIterator
public
- accept() — Check whether the current element of the iterator is acceptable
- current() — Get the current element value
- getInnerIterator() — Get the inner iterator
- key() — Get the current key
- next() — Move the iterator forward
- rewind() — Rewind the iterator
- valid() — Check whether the current element is valid