| Total Complexity | 2 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class RawDataGetter |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Raw Data file path. |
||
| 21 | * |
||
| 22 | * @return string |
||
| 23 | */ |
||
| 24 | protected static $path = __DIR__.'/data/csv'; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Get banks data. |
||
| 28 | * |
||
| 29 | * @return array |
||
| 30 | */ |
||
| 31 | public static function getBanks() |
||
| 36 | } |
||
| 37 | |||
| 38 | |||
| 39 | /** |
||
| 40 | * Get Data from CSV. |
||
| 41 | * |
||
| 42 | * @param string $path File Path. |
||
| 43 | * |
||
| 44 | * @return array |
||
| 45 | */ |
||
| 46 | public static function getCsvData($path = '') |
||
| 52 | } |
||
| 53 | } |