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\GroupOlxFeedBuildResultData; |
| 8 | use ImovelZapAi\Publishing\Domain\Canonical\NormalizedListing; |
| 9 | |
| 10 | /** |
| 11 | * Constrói o feed VRSync a partir do modelo canônico. |
| 12 | * |
| 13 | * Nunca recebe Property — apenas NormalizedListing. |
| 14 | */ |
| 15 | interface GroupOlxFeedBuilderInterface |
| 16 | { |
| 17 | /** |
| 18 | * @param list<NormalizedListing> $listings |
| 19 | */ |
| 20 | public function build(array $listings): GroupOlxFeedBuildResultData; |
| 21 | |
| 22 | public function buildFromListing(NormalizedListing $listing): GroupOlxFeedBuildResultData; |
| 23 | } |