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 | declare(strict_types=1); |
| 4 | |
| 5 | namespace ImovelZapAi\Importing\Application\Ports; |
| 6 | |
| 7 | use App\Models\User; |
| 8 | use ImovelZapAi\Importing\Application\Data\ImportWriteResult; |
| 9 | use ImovelZapAi\Importing\Application\Data\ParsedProperty; |
| 10 | |
| 11 | interface PropertyImportWriterInterface |
| 12 | { |
| 13 | /** |
| 14 | * @param array<string, mixed> $mapping |
| 15 | */ |
| 16 | public function write( |
| 17 | string $tenantId, |
| 18 | User $actor, |
| 19 | ParsedProperty $property, |
| 20 | array $mapping, |
| 21 | string $source, |
| 22 | ): ImportWriteResult; |
| 23 | } |