X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/1787892d32351988231a60b71900c6a623609c54..9e35e5c2b02887e361972ffbb20e65bbba0d02c7:/lib/Phrase.php diff --git a/lib/Phrase.php b/lib/Phrase.php index e8b31234..7cf3f297 100644 --- a/lib/Phrase.php +++ b/lib/Phrase.php @@ -113,4 +113,14 @@ class Phrase return $aResult; } + + public function debugInfo() + { + return array( + 'Type' => $this->sPhraseType, + 'Phrase' => $this->sPhrase, + 'Words' => $this->aWords, + 'WordSets' => $this->aWordSets + ); + } }