public function __construct(\Iterator $records, RecordCollection $previousCollection, callable $filter) { parent::__construct($records, $previousCollection); $this->filter = $filter; }