| Total Complexity | 6 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class GetFareFamilyListParametersFactory implements ValueObjectFactoryInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @param array $parameters |
||
| 13 | * @return GetFareFamilyListParameters |
||
| 14 | * @throws \Exception |
||
| 15 | */ |
||
| 16 | public static function createFromArray(array $parameters) : GetFareFamilyListParameters |
||
| 26 | } |
||
| 27 | |||
| 28 | |||
| 29 | /** |
||
| 30 | * @param string $json |
||
| 31 | * @return GetFareFamilyListParameters |
||
| 32 | * @throws InvalidArgumentException |
||
| 33 | * @throws \Exception |
||
| 34 | */ |
||
| 35 | public static function createFromJson(string $json) : GetFareFamilyListParameters |
||
| 46 |