public function setDictionaryPath(string $path): void
    {
        $this->customDictPath = $path;
        $this->supportedLanguages = null; // Clear cache because $path can contain new languages
    }
public function setDictionaryPath(string $path): void
    {
        $this->customDictPath = $path;
        $this->supportedLanguages = null; // Clear cache because $path can contain new languages
    }
public function setDictionaryPath ( string $ path ) : void { $ this -> customDictPath = $ path ; $ this -> supportedLanguages = null ; // Clear cache because $path can contain new languages }
Set additional dictionaries path.

Set path using DICPATH environment variable. See hunspell(1) man page for details.

@param string $path Path to dictionaries folder (e. g. "/some/path")

@link  setCustomDictionaries()
@since 1.0
Set additional dictionaries path .