common\models\CartGoods::getGoods PHP Method

getGoods() public method

public getGoods ( ) : ActiveQuery
return yii\db\ActiveQuery
    public function getGoods()
    {
        return $this->hasOne(Goods::className(), ['id' => 'goods_id']);
    }