src/Validators/AbstractValidator.php
protected function make(array $data)
    {
        $validator = $this->validatorFactory->make(
            $data,
            $this->getRules(),
            $this->getMessages(),
            $this->getAttributes()
        );

        $this->configureValidator($validator);

        return $validator;
    }
protected function make(array $data)
    {
        $validator = $this->validatorFactory->make(
            $data,
            $this->getRules(),
            $this->getMessages(),
            $this->getAttributes()
        );

        $this->configureValidator($validator);

        return $validator;
    }
Create a validator instance to validate the supplied data.

@param array $data
the data to validate.
@return Validator