Log/LdapProfilerLogger.php
public function getOperations($domain = null)
    {
        if (!is_null($domain) && !isset($this->opsByDomain[$domain])) {
            return [];
        } elseif (!is_null($domain)) {
            return $this->opsByDomain[$domain];
        }

        return $this->allOperations;
    }
public function getOperations($domain = null)
    {
        if (!is_null($domain) && !isset($this->opsByDomain[$domain])) {
            return [];
        } elseif (!is_null($domain)) {
            return $this->opsByDomain[$domain];
        }

        return $this->allOperations;
    }
Get all of the operations recorded by the profiler. Or get the operations for a specific domain.

@param null|string $domain
@return LogOperation[]