src/Hyphenator.php
public function getPatternForToken(Tokenizer\WordToken $token)
    {
        foreach ($this->getDictionaries() as $dictionary) {
            $token->addPattern($dictionary->getPatternsForWord($token->get()));
        }

        return $token;
    }
public function getPatternForToken(Tokenizer\WordToken $token)
    {
        foreach ($this->getDictionaries() as $dictionary) {
            $token->addPattern($dictionary->getPatternsForWord($token->get()));
        }

        return $token;
    }
Hyphenate a Token-Object

@param Tokenizer\Token $token The token to hyphenate

@return Tokenizer\Token