]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/Phrase.php
README: tiny markdown syntax error
[nominatim.git] / lib / Phrase.php
index e8b31234bb21be37763e6e3c236f42e8476600bd..7cf3f29736d0f7cee944581b558a8bc2658d02cd 100644 (file)
@@ -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
+               );
+    }
 }