protected getMessageByRcode ( integer $rcode ) : string | ||
$rcode | integer | |
Результат | string |
protected function getMessageByRcode($rcode)
{
if (isset($this->rcodeMessages[$rcode])) {
return $this->rcodeMessages[$rcode];
} else {
return 'UNKNOWN ERROR';
}
}