- {propertyPath}
- {error.code}: {error}
- {error.code}: {error}
Показать файл
Открыть проект
Примеры использования класса
Свойство | Тип | Описание | |
---|---|---|---|
$escapeOutput | boolean |
Метод | Описание | |
---|---|---|
render ( string $for = '', string $as = 'validationResults' ) : string | 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 |
Результат | string | Rendered string |