/** * @param array $stats */ public function setStats(array $stats) { $this->resultSummary->setStatistics(new StatementStatistics($stats)); }