| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function __construct( |
||
| 16 | int $epsgCode, |
||
| 17 | CoordinateSystem $coordinateSystem, |
||
| 18 | CoordinateReferenceSystem $baseCRS |
||
| 19 | ) { |
||
| 20 | $this->epsgCode = $epsgCode; |
||
| 21 | $this->coordinateSystem = $coordinateSystem; |
||
| 22 | $this->baseCRS = $baseCRS; |
||
| 23 | $this->datum = $baseCRS->getDatum(); |
||
| 24 | |||
| 25 | assert(count($coordinateSystem->getAxes()) === 2); |
||
| 26 | } |
||
| 43 |