Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | namespace PropertySuggester\UpdateTable\Importer; |
| 4 | |
| 5 | use PropertySuggester\UpdateTable\ImportContext; |
| 6 | |
| 7 | /** |
| 8 | * A interface for strategies, which imports entries from CSV file into DB table |
| 9 | * |
| 10 | * @author BP2013N2 |
| 11 | * @license GPL-2.0-or-later |
| 12 | */ |
| 13 | interface Importer { |
| 14 | |
| 15 | /** |
| 16 | * Run specific algorithm to import data to wbs_propertypairs db table from csv. Returns success |
| 17 | * @param ImportContext $importContext |
| 18 | * @return bool |
| 19 | */ |
| 20 | public function importFromCsvFileToDb( ImportContext $importContext ); |
| 21 | |
| 22 | } |