| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 85.71% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 18 | class LinearRing |
||
| 19 | { |
||
| 20 | |||
| 21 | private $rings = []; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Add a coordinate group to the object. |
||
| 25 | * @param array $coordinates |
||
| 26 | * @return \Ballen\Cartographer\Core\LinearRing |
||
| 27 | * @throws \InvalidArgumentException |
||
| 28 | */ |
||
| 29 | 8 | public function addRing(array $coordinates) |
|
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Returns the array of groups |
||
| 41 | * @return array |
||
| 42 | */ |
||
| 43 | 4 | public function get() |
|
| 48 |