private function convertResultBuiltin($results, AbstractPlatform $platform, CaseSensor $sensor) { return array_reduce(array_keys($results), function (array &$tmp, $k) use($results, $platform, $sensor) { $n = $sensor->convert($k); return $tmp + [$n => $this->child->convertResults($results[$k], $platform, $sensor)]; }, []); }
protected function convertResults($results, DomainBase $domain, CaseSensor $sensor) { return $domain->convertResults($results, $this->conn->getDatabasePlatform(), $sensor); }
protected function convertResultsInternal($results, AbstractPlatform $platform, CaseSensor $sensor) { return $this->domain->convertResults([$this->getValues($results)], $platform, $sensor); }