Total Complexity | 3 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | final class ServiceReference implements \IteratorAggregate |
||
12 | { |
||
13 | /** |
||
14 | * @var string[] |
||
15 | */ |
||
16 | private $parts; |
||
17 | |||
18 | public function getIterator() |
||
30 | ); |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * @param string $reference reference to the serice. |
||
35 | * Format: {xRoadInstance}/{memberClass/{memberCode}/{subsystemCode}/{serviceCode}/{serviceVerson} |
||
36 | * Example: EE/GOV/70000310/DHX.Riigi-Teataja/sendDocument/v1 |
||
37 | */ |
||
38 | public function __construct(string $reference) |
||
48 |