src/Filter/FilterRegistry.php
public function filter(\Org\Heigl\Hyphenator\Tokenizer\TokenRegistry $tokens)
    {
        foreach ($this as $filter) {
            $tokens = $filter->run($tokens);
        }

        return $tokens;
    }
public function filter(\Org\Heigl\Hyphenator\Tokenizer\TokenRegistry $tokens)
    {
        foreach ($this as $filter) {
            $tokens = $filter->run($tokens);
        }

        return $tokens;
    }
Pass the given string through the given Filter

@param \Org\Heigl\Hyphenator\Tokenizer\TokenRegistry $tokens The
Registry to filter

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