Answer the question
In order to leave comments, you need to log in
How does this ::class() construct work?
How does this design work? I read this manual batpyiiikob.ru/%D0%B0%D0%B2%D1%82%D0%BE%D1%80%D0%B...
use Respect\Validation\Validator as v;
v::with('App\\Validation\\Rules\\');
Answer the question
In order to leave comments, you need to log in
The Validator class has a static with method. It takes a string with path '\\' - this is a slash escape, the output is a string with a single \;
based on the name and what the author writes, validation rules are stored along this path
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question