X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/27bc8d4f7bb907699dbb974e8159f75bead831c9..d9e0ef0ebfbc2860e7c0b7e7510a4014300074be:/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 + ); + } }