errors[] = $errorString; //error_log($errorString); } public function getErrors() { if(sizeof($this->errors) > 0) { return "" . PHP_EOL; } } }