src/ORM/Collection.php
public function filter(callable $callback = null)
	{
		return new static($callback ? array_filter($this->members, $callback) : array_filter($this->members));
	}
public function filter(callable $callback = null)
	{
		return new static($callback ? array_filter($this->members, $callback) : array_filter($this->members));
	}
public function filter ( callable $ callback = null ) { return new static ( $ callback ? array_filter ( $ this -> members , $ callback ) : array_filter ( $ this -> members ) ) ; }
Run a filter over each of the members.

@link	http://php.net/manual/en/function.array-filter.php

@param  callable|null  $callback
@return static
Run a filter over each of the members .