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

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

        return $this;
    }
Add an item to the registry

@param \Org\Heigl\Hyphenator\Filter\Filter $filter The Filter
to be added

@return \Org\Heigl\Hyphenator\Filter\FilterRegistry