| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | * @return array|object |
||
| 13 | * @throws \Digikraaft\Mono\Exceptions\InvalidArgumentException |
||
| 14 | * @throws \Digikraaft\Mono\Exceptions\IsNullException |
||
| 15 | */ |
||
| 16 | public static function list($params = null) |
||
| 17 | { |
||
| 18 | self::validateParams($params); |
||
| 19 | $url = static::classUrl(); |
||
| 20 | if (! empty($params)) { |
||
| 21 | $url .= '?'.http_build_query($params); |
||
| 27 |