| Conditions | 1 |
| Paths | 1 |
| Total Lines | 22 |
| Code Lines | 17 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 48 | public function __construct($south, $west, $north, $east) |
||
| 49 | { |
||
| 50 | Assert::notNull($south); |
||
| 51 | Assert::notNull($west); |
||
| 52 | Assert::notNull($north); |
||
| 53 | Assert::notNull($east); |
||
| 54 | |||
| 55 | $south = (float) $south; |
||
| 56 | $north = (float) $north; |
||
| 57 | $west = (float) $west; |
||
| 58 | $east = (float) $east; |
||
| 59 | |||
| 60 | Assert::latitude($south); |
||
| 61 | Assert::latitude($north); |
||
| 62 | Assert::longitude($west); |
||
| 63 | Assert::longitude($east); |
||
| 64 | |||
| 65 | $this->south = $south; |
||
| 66 | $this->west = $west; |
||
| 67 | $this->north = $north; |
||
| 68 | $this->east = $east; |
||
| 69 | } |
||
| 70 | |||
| 126 |