src/Tokenizer/TokenizerRegistry.php
public function add(Tokenizer $tokenizer)
    {
        if (! in_array($tokenizer, $this->registry)) {
            $this->registry[] = $tokenizer;
        }

        return $this;
    }
public function add(Tokenizer $tokenizer)
    {
        if (! in_array($tokenizer, $this->registry)) {
            $this->registry[] = $tokenizer;
        }

        return $this;
    }
Add an item to the registry

@param \Org\Heigl\Hyphenator\Tokenizer\Tokenizer $tokenizer The tokeniter
to be added

@return \Org\Heigl\Hyphenator\Tokenizer\TokenizerRegistry