public function __construct($unit = self::UNIT_KILOMETERS) { parent::__construct(); $this->unit = self::UNIT_KILOMETERS; }