DataCollector/LdapToolsDataCollector.php
public function collect(Request $request, Response $response, \Exception $exception = null)
    {
        if (!$this->ldap) {
            return;
        }
        $this->data['domains'] = $this->ldap->getDomains();

        $this->data['operations_by_domain'] = [];
        foreach ($this->data['domains'] as $domain) {
            $this->data['operations_by_domain'][$domain] = $this->addOperationToData(...$this->logger->getOperations($domain));
        }
        $this->data['operations'] = $this->addOperationToData(...$this->logger->getOperations());
        $this->data['errors'] = $this->addOperationToData(...$this->logger->getErrors());
    }
public function collect(Request $request, Response $response, \Exception $exception = null)
    {
        if (!$this->ldap) {
            return;
        }
        $this->data['domains'] = $this->ldap->getDomains();

        $this->data['operations_by_domain'] = [];
        foreach ($this->data['domains'] as $domain) {
            $this->data['operations_by_domain'][$domain] = $this->addOperationToData(...$this->logger->getOperations($domain));
        }
        $this->data['operations'] = $this->addOperationToData(...$this->logger->getOperations());
        $this->data['errors'] = $this->addOperationToData(...$this->logger->getErrors());
    }
{@inheritdoc}