LdapTools\Operation\Invoker\LdapOperationInvoker::getLogObject PHP Метод

getLogObject() защищенный Метод

Construct the LogOperation object for the operation.
protected getLogObject ( LdapTools\Operation\LdapOperationInterface $operation ) : LogOperation | null
$operation LdapTools\Operation\LdapOperationInterface
Результат LdapTools\Log\LogOperation | null
    protected function getLogObject(LdapOperationInterface $operation)
    {
        if (!$this->logger) {
            return null;
        }
        return (new LogOperation($operation))->setDomain($this->connection->getConfig()->getDomainName());
    }