Example #1
0
File: Point.php Project: creof/geo
 /**
  * @return int|float
  */
 public function getLongitude()
 {
     if (Configuration::getOrder() === Configuration::ORDER_LON_FIRST) {
         return $this->getX();
     }
     return $this->getY();
 }