mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-12 05:44:06 +00:00
@@ -114,4 +114,9 @@ class AddressDetails
|
|||||||
}
|
}
|
||||||
return $aAddress;
|
return $aAddress;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function debugInfo()
|
||||||
|
{
|
||||||
|
return $this->aAddressLines;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -153,6 +153,8 @@ class Debug
|
|||||||
$sPre = ', ';
|
$sPre = ', ';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} elseif (is_object($mVar) && method_exists($mVar, 'debugInfo')) {
|
||||||
|
Debug::outputVar($mVar->debugInfo(), $sPreNL);
|
||||||
} else {
|
} else {
|
||||||
Debug::outputSimpleVar($mVar);
|
Debug::outputSimpleVar($mVar);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user