ScriptFUSION\Porter\Collection\FilteredRecords::__construct PHP Method

__construct() public method

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