Total Complexity | 4 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
21 | final class CompositeIdentifierParser |
||
22 | { |
||
23 | private function __construct() |
||
24 | { |
||
25 | } |
||
26 | |||
27 | /* |
||
28 | * Normalize takes a string and gives back an array of identifiers. |
||
29 | * |
||
30 | * For example: foo=0;bar=2 returns ['foo' => 0, 'bar' => 2]. |
||
31 | */ |
||
32 | public static function parse(string $identifier): array |
||
47 | } |
||
48 | } |
||
49 |