src/LdapTools/Operation/Invoker/LdapOperationInvoker.php
protected function getLogObject(LdapOperationInterface $operation)
    {
        if (!$this->logger) {
            return null;
        }

        return (new LogOperation($operation))->setDomain($this->connection->getConfig()->getDomainName());
    }
protected function getLogObject(LdapOperationInterface $operation)
    {
        if (!$this->logger) {
            return null;
        }

        return (new LogOperation($operation))->setDomain($this->connection->getConfig()->getDomainName());
    }
protected function getLogObject ( LdapOperationInterface $ operation ) { if ( ! $ this -> logger ) { return null ; } return ( new LogOperation ( $ operation ) ) -> setDomain ( $ this -> connection -> getConfig ( ) -> getDomainName ( ) ) ; }
Construct the LogOperation object for the operation.

@param LdapOperationInterface $operation
@return LogOperation|null
Construct the LogOperation object for the operation .