ValidatesRequests (Foundation\Validation)

ValidatesRequests

trait ValidatesRequests (View source)

Methods

void validateWith( Validator|array $validator, Request $request = null)

Run the validation routine against the given validator.

void validate( 登录查看完整内容