| Total Complexity | 7 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | trait Handler |
||
| 8 | { |
||
| 9 | |||
| 10 | public function setAmount($number = 0) |
||
| 14 | } |
||
| 15 | |||
| 16 | private function split_parsed_number_to_two_number_depend_on_comma() |
||
| 17 | { |
||
| 18 | $arr = explode('.',$this->parsed_number); |
||
| 19 | $this->parsed_number_array = $arr; |
||
| 20 | $this->all_numbers_len = count($this->parsed_number_array); |
||
| 21 | return $this; |
||
| 22 | } |
||
| 23 | |||
| 24 | private function split_numbers_before_comma_to_array() |
||
| 29 | } |
||
| 30 | |||
| 31 | private function split_numbers_after_comma_to_array() |
||
| 59 |