LdapTools\Query\OperatorCollection::__clone PHP Method

__clone() public method

When an operation collection is cloned, we want to make sure the operator objects are cloned as well.
public __clone ( )
    public function __clone()
    {
        foreach ($this->operators as $type => $operators) {
            foreach ($operators as $i => $operator) {
                $this->operators[$type][$i] = clone $operator;
            }
        }
    }