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\Publishing\Connectors\GroupOlx\Application\Ports; |
| 6 | |
| 7 | use ImovelZapAi\Publishing\Connectors\GroupOlx\Application\Data\GroupOlxMappedListingData; |
| 8 | use ImovelZapAi\Publishing\Domain\Feeds\VrSync\ListingDataFeed; |
| 9 | use ImovelZapAi\Publishing\Domain\Feeds\VrSync\ListingDataFeedHeader; |
| 10 | |
| 11 | /** |
| 12 | * Gera XML VRSync a partir de DTOs — sem persistir arquivos. |
| 13 | */ |
| 14 | interface VrsyncXmlBuilderInterface |
| 15 | { |
| 16 | public function build(ListingDataFeed $feed): string; |
| 17 | |
| 18 | /** |
| 19 | * @param list<GroupOlxMappedListingData> $listings |
| 20 | */ |
| 21 | public function buildFromMapped(ListingDataFeedHeader $header, array $listings): string; |
| 22 | } |