src/Logging/LogInterpreter.php
private function accumulate(string $method)
    {
        return array_reduce($this->readers, function ($result, $reader) use ($method) {
            $result += $reader->$method();

            return $result;
        }, 0);
    }
private function accumulate(string $method)
    {
        return array_reduce($this->readers, function ($result, $reader) use ($method) {
            $result += $reader->$method();

            return $result;
        }, 0);
    }
private function accumulate ( string $ method ) { return array_reduce ( $ this -> readers , function ( $ result , $ reader ) use ( $ method ) { $ result += $ reader -> $ method ( ) ; return $ result ; } , 0 ) ; }
Reduces a collection of readers down to a single
result based on an accessor.

@param $method

@return mixed
Reduces a collection of readers down to a single result based on an accessor .