errors = $errors; } /** * Get the errored objects * * @return array Returns an array of associative arrays, each containing * a 'Code', 'Message', and 'Key' key. */ public function getErrors() { return $this->errors; } }