ScriptFUSION\Porter\Collection\FilteredRecords::__construct PHP 메소드

__construct() 공개 메소드

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;
    }