LdapTools\Operation\Handler\OperationHandlerTrait::setOperationDefaults PHP Method

setOperationDefaults() public method

public setOperationDefaults ( LdapTools\Operation\LdapOperationInterface $operation )
$operation LdapTools\Operation\LdapOperationInterface
    public function setOperationDefaults(LdapOperationInterface $operation)
    {
        if (is_null($operation->getServer())) {
            $operation->setServer($this->connection->getServer());
        }
    }