| Total Complexity | 4 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class Bank implements RouteInterface |
||
| 8 | { |
||
| 9 | |||
| 10 | 3 | public static function root() |
|
| 13 | } |
||
| 14 | 2 | public static function getList() |
|
| 15 | { |
||
| 16 | return [ |
||
| 17 | 2 | RouteInterface::METHOD_KEY => RouteInterface::GET_METHOD, |
|
| 18 | 2 | RouteInterface::ENDPOINT_KEY => Bank::root(), |
|
| 19 | 2 | ]; |
|
| 20 | } |
||
| 21 | |||
| 22 | 2 | public static function resolveBvn() |
|
| 23 | { |
||
| 24 | return [ |
||
| 25 | 2 | RouteInterface::METHOD_KEY => RouteInterface::GET_METHOD, |
|
| 26 | 2 | RouteInterface::ENDPOINT_KEY => Bank::root() . '/resolve_bvn/{bvn}', |
|
| 27 | 2 | RouteInterface::ARGS_KEY => ['bvn'], |
|
| 28 | 2 | ]; |
|
| 29 | } |
||
| 30 | |||
| 31 | 2 | public static function resolve() |
|
| 39 | 2 | ], |
|
| 40 | 2 | ]; |
|
| 41 | } |
||
| 43 |