for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Laravel\ExtraFieldsValidator;
use Illuminate\Validation\Factory;
class ValidationFactory extends Factory
{
protected function resolve(array $data, array $rules, array $messages, array $customAttributes)
if (is_null($this->resolver)) {
return new Validator($this->translator, $data, $rules, $messages, $customAttributes);
}
return call_user_func($this->resolver, $this->translator, $data, $rules, $messages, $customAttributes);