com\setasign\Konquadrat\Import\RowImport

RowImportInterface Interface RowImportInterface

File: /Konquadrat/src/Import/RowImport/RowImportInterface.php

Note that any implementation shouldn't rely on saved properties. These maybe lost after each sanitizeRow() or importRow() call.

Implemented in

Summary

Methods

importRow()

abstract public RowImportInterface::importRow (): void

Imports the row.

Note that importRow should not throw any exceptions! All possible errors should be found with the sanitizeRow!

Parameters
$row : MainImportRow
 
Exceptions

Throws \Throwable

sanitizeRow()

abstract public RowImportInterface::sanitizeRow (): void

Sanitize the row.

Note that sanitizeRow MUST NOT throw any exceptions!

Parameters
$row : MainImportRow