Iterates through selected errors of the request.
public render ( string $for = '', string $as = 'validationResults' ) : string | ||
$for | string | The name of the error name (e.g. argument name or property name). This can also be a property path (like blog.title), and will then only display the validation errors of that property. |
$as | string | The name of the variable to store the current error |
return | string | Rendered string |