<?php

/**
 * DBLogicBase.php
 * 文件描述
 * Created On 2022/1/11
 * @author yuanb yuanbo0x@gmail.com
 */

namespace Framework\DB;

use Library\DB\IRedis;

class DBLogicBase
{
    public function checkParam(DBCondition $param): bool
    {
        return false;
    }

    public function execute(IRedis $redis): bool
    {
        return false;
    }

    /**
     * @param $des mixed 上层传递的参数，显式申明了数据类型，判断数据是否合法
     * @return bool
     */
    public function dealResult(&$des): bool
    {
        return false;
    }
}