$errors $errors : array Errors array. Type array<string, array<string|int, string>> — Holds an array of validation errors.
$sessionName $sessionName : string Session name. Type string — Holds the name of the session where validation errors should be stored.
setErrors() setErrors(array $errors) : $this Set the validation errors. Parameters array $errors Holds an array containing validation errors. Returns $this —
getErrors() getErrors() : array<string,string[]> Get the validation errors. Returns array — An array of validation errors.
setSessionName() setSessionName(string $sessionName) : $this Set the session name for storing validation errors. Parameters string $sessionName Holds the name of the session where validation errors should be stored. Returns $this —
getSessionName() getSessionName() : string Get the session name for storing validation errors. Returns string — Return the name of the session where validation errors are stored.