public function setOptions(Options $options)
    {
        $this->options = $options;
        $this->tokenizers->cleanup();
        foreach ($this->options->getTokenizers() as $tokenizer) {
            $this->addTokenizer($tokenizer);
        }

        return $this;
    }
public function setOptions(Options $options)
    {
        $this->options = $options;
        $this->tokenizers->cleanup();
        foreach ($this->options->getTokenizers() as $tokenizer) {
            $this->addTokenizer($tokenizer);
        }

        return $this;
    }
public function setOptions ( Options $ options ) { $ this -> options = $ options ; $ this -> tokenizers -> cleanup ( ) ; foreach ( $ this -> options -> getTokenizers ( ) as $ tokenizer ) { $ this -> addTokenizer ( $ tokenizer ) ; } return $ this ; }
Set the Options

@param \Org\Heigl\Hyphenator\Options $options The options to set

@return \Org\Heigl\Hyphenator\Hyphenator
Set the Options