src/Hyphenator.php
public function addDictionary($dictionary)
    {
        if (! $dictionary instanceof \Org\Heigl\Hyphenator\Dictionary\Dictionary) {
            \Org\Heigl\Hyphenator\Dictionary\Dictionary::setFileLocation($this->getHomePath() . '/files/dictionaries');
            $dictionary = \Org\Heigl\Hyphenator\Dictionary\Dictionary::factory($dictionary);
        }
        $this->dicts->add($dictionary);

        return $this;
    }
public function addDictionary($dictionary)
    {
        if (! $dictionary instanceof \Org\Heigl\Hyphenator\Dictionary\Dictionary) {
            \Org\Heigl\Hyphenator\Dictionary\Dictionary::setFileLocation($this->getHomePath() . '/files/dictionaries');
            $dictionary = \Org\Heigl\Hyphenator\Dictionary\Dictionary::factory($dictionary);
        }
        $this->dicts->add($dictionary);

        return $this;
    }
Add a Dictionary to the Hyphenator

@param \Org\Heigl\Hyphenator\Dictionary\Dictionary $dictionary The
Dictionary wit hyphenation-Patterns to add to this Hyphenator

@return Org\Heigl\Hyphenator\Hyphenator