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

        $this->datas = $datas;

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

        $this->datas = $datas;

        return $this;
    }
设置验证数据.

@param array $datas

@return $this