src/Validation/AbstractValidators.php
protected function validatorForDelete(
        array $data,
        array $rules,
        array $messages = [],
        array $customAttributes = []
    ): ValidatorInterface
    {
        return $this->createValidator(
            $data,
            $rules,
            $messages,
            $customAttributes
        );
    }
protected function validatorForDelete(
        array $data,
        array $rules,
        array $messages = [],
        array $customAttributes = []
    ): ValidatorInterface
    {
        return $this->createValidator(
            $data,
            $rules,
            $messages,
            $customAttributes
        );
    }
protected function validatorForDelete ( array $ data , array $ rules , array $ messages = [ ] , array $ customAttributes = [ ] ) : ValidatorInterface { return $ this -> createValidator ( $ data , $ rules , $ messages , $ customAttributes ) ; }
Create a validator for a delete request.

@param array $data
@param array $rules
@param array $messages
@param array $customAttributes
@return ValidatorInterface
Create a validator for a delete request .