ValidationException deprecated

class ValidationException extends ValidationException (View source)

deprecated

since 5.2.7. Use Illuminate\Validation\ValidationException.

Properties

Validator $validator The validator instance. from ValidationException
Response|null $response The recommended response to send to the client. from ValidationException

Methods

void __construct(Validator $validator, Response $response = null)

Create a new exception instance.

from ValidationException
Response getResponse()

Get the underlying response instance.

from ValidationException

Details

void __construct(Validator $validator, Response $response = null)

Create a new exception instance.

Parameters

Validator $validator
Response $response

Return Value

void

Response getResponse()

Get the underlying response instance.

Return Value

Response

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