public function suggest($word) 
    {
        if(!enchant_dict_check($this->enchantBroker, $word)) {
            return enchant_dict_suggest($this->enchantBroker, $word);
        } else {
            return [$word];
        }        
    }
public function suggest($word) 
    {
        if(!enchant_dict_check($this->enchantBroker, $word)) {
            return enchant_dict_suggest($this->enchantBroker, $word);
        } else {
            return [$word];
        }        
    }
public function suggest ( $ word ) { if ( ! enchant_dict_check ( $ this -> enchantBroker , $ word ) ) { return enchant_dict_suggest ( $ this -> enchantBroker , $ word ) ; } else { return [ $ word ] ; } }
Use enchant to get word suggestions
@param string $word
@return array
Use enchant to get word suggestions