ValidationException (Contracts)

ValidationException

class ValidationException extends RuntimeException (View source)

Methods

void __construct(MessageProvider $provider)

Create a new validation exception instance.

MessageBag errors()

Get the validation error message provider.

MessageProvider getMessageProvider()

Get the validation error message provider.

Details

void __construct(MessageProvider $provider)

Create a new validation exception instance.

Parameters

MessageProvider $provider

Return Value

void

MessageBag errors()

Get the validation error message provider.

Return Value

MessageBag

MessageProvider getMessageProvider()

Get the validation error message provider.

Return Value

MessageProvider

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Contracts/Validation/ValidationException.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部