简体   繁体   中英

Where is Validator::make() method in laravel 5.2

I've started learning laravel 5.2, I've used this Validator::make($request, $options) method while following Laravel-5 Quick Start Guide , but I was unable to find this make method in Validator Class or the class it implements, I searched this in all files and found this method in Container Interface, but i don't know how it is hooked to this Validator class. Thanks,

As per the facade class reference:

Facade      Class                           Service Container Binding
Validator   Illuminate\Validation\Factory   validator

Illuminate\\Validation\\Factory@make

Laravel 5.2 - Facade Class Reference

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM