src/LdapTools/Operation/LdapOperationTrait.php
public function addControl(LdapControl ...$controls)
    {
        foreach ($controls as $control) {
            $this->controls[] = $control;
        }

        return $this;
    }
public function addControl(LdapControl ...$controls)
    {
        foreach ($controls as $control) {
            $this->controls[] = $control;
        }

        return $this;
    }
public function addControl ( LdapControl ... $ controls ) { foreach ( $ controls as $ control ) { $ this -> controls [ ] = $ control ; } return $ this ; }
Add a control to the operation.

@param LdapControl[] ...$controls
@return $this
Add a control to the operation .