Model.php
public function with() {
        if(func_num_args()>0)
        {
            $this->_fetchStyle = \PDO::FETCH_NUM;
            $with=func_get_args();

            foreach($with as $name) {
                if (!array_key_exists($name, $this->relations())) {
                    throw new Exception('没有这个关系'.$name);
                }
            }

            $this->getCriteria()->with = $with;
        }

        return $this;
    }
public function with() {
        if(func_num_args()>0)
        {
            $this->_fetchStyle = \PDO::FETCH_NUM;
            $with=func_get_args();

            foreach($with as $name) {
                if (!array_key_exists($name, $this->relations())) {
                    throw new Exception('没有这个关系'.$name);
                }
            }

            $this->getCriteria()->with = $with;
        }

        return $this;
    }
[with description]
->with('关系名', '关系名')
@return [type] [description]