public function make(array $data, array $rules, array $messages = [], array $customAttributes = [])
{
// The presence verifier is responsible for checking the unique and exists data
// for the validator. It is behind an interface so that multiple versions of
// it may be written besides database. We'll inject it into the validator.
$validator = $this->resolve($data, $rules, $messages, $customAttributes);
if (!is_null($this->verifier)) {
$validator->setPresenceVerifier($this->verifier);
}
$this->addExtensions($validator);
return $validator;
}