Total Complexity | 1 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 4 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | class AmountTransformer { |
||
23 | /** |
||
24 | * Transform Pronamic money to Mollie amount. |
||
25 | * |
||
26 | * @param Money $money Pronamic money to convert. |
||
27 | * @return Amount |
||
28 | * @throws \InvalidArgumentException Throws exception on invalid alphabetic currency code in given money object. |
||
29 | */ |
||
30 | 2 | public static function transform( Money $money ) { |
|
45 |