LdapTools\Operation\Invoker\LdapOperationInvoker::setLdapControls PHP Method

setLdapControls() protected method

Set any specific LDAP controls for this operation.
protected setLdapControls ( LdapTools\Operation\LdapOperationInterface $operation )
$operation LdapTools\Operation\LdapOperationInterface
    protected function setLdapControls(LdapOperationInterface $operation)
    {
        foreach ($operation->getControls() as $control) {
            $this->connection->setControl($control);
        }
    }