src/Leevel/Validate/Validator.php
public function addData(array $datas): IValidator
    {
        if ($this->checkFlowControl()) {
            return $this;
        }

        $this->datas = array_merge($this->datas, $datas);

        return $this;
    }
public function addData(array $datas): IValidator
    {
        if ($this->checkFlowControl()) {
            return $this;
        }

        $this->datas = array_merge($this->datas, $datas);

        return $this;
    }
添加验证数据.

@param array $datas

@return $this