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