aResponses = $aResponses; } } /** * @return array */ public function GetResponses() { return $this->aResponses; } /** * @return \MailSo\Smtp\Response | null */ public function GetLastResponse() { return 0 < count($this->aResponses) ? $this->aResponses[count($this->aResponses) - 1] : null; } }