public function value($value, $rules, string $key, string $group = null, array $messages = []): self
    {
        return $this->validateInput($value, new Configuration($rules, $key, $group), $messages);
    }