SilverStripe\SpellCheck\Data\SpellProvider::getSuggestions
Returns suggestions of for a specific word.
Signature
public function getSuggestions(string
$locale,
string
$word )
Parameters
$locale
— string- Locale code to check
$word
— string- Specific word to get suggestions for.
Returns
- array
- List of suggestions for the specified word.