X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/1787892d32351988231a60b71900c6a623609c54..8f0c628310e9ad4160eb995f3ba53afa791a3ffc:/lib/Phrase.php?ds=sidebyside 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 + ); + } }