public function getErrors() { if (0 === $this->key()) { // Iterator has not yet been processed, so do that now foreach ($this as $row) { /* noop */ } } return $this->errors; }