Source of file SpellProvider.php
Size: 0,646 Bytes - Last Modified: 2021-12-23T10:34:43+00:00
/var/www/docs.ssmods.com/process/src/src/Data/SpellProvider.php
12345678910111213141516171819202122232425 | <?php namespace SilverStripe\SpellCheck\Data; interface SpellProvider { /** * Spellchecks an array of words. * * @param string $locale Locale code to check * @param array $words List of words to spellcheck. * @return array List of misspelled words. */ public function checkWords($locale, $words); /** * Returns suggestions of for a specific word. * * @param string $locale Locale code to check * @param string $word Specific word to get suggestions for. * @return array List of suggestions for the specified word. */ public function getSuggestions($locale, $word); } |