| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 12 | class Counterparty implements ModelInterface |
||
| 13 | { |
||
| 14 | private const MODEL_NAME = 'Counterparty'; |
||
| 15 | |||
| 16 | private Connection $connection; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @param Connection $connection |
||
| 20 | */ |
||
| 21 | public function __construct(Connection $connection) |
||
| 22 | { |
||
| 23 | $this->connection = $connection; |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param string $counterpartyRef |
||
| 28 | * @param string $counterpartyProperty |
||
| 29 | * @return array |
||
| 30 | * @throws NovaPoshtaApiException |
||
| 31 | */ |
||
| 32 | public function getCounterpartyAddresses(string $counterpartyRef, string $counterpartyProperty): array |
||
| 39 | } |
||
| 40 | } |
||
| 41 |