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