nicer formatting for Geocode debug output

This commit is contained in:
Sarah Hoffmann
2018-03-24 17:44:13 +01:00
parent 1787892d32
commit 2c42bda9ce
10 changed files with 305 additions and 48 deletions

View 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
);
}
}