Repo/Dao/Downline.php
public function getByCalcId($calcId)
    {
        $where = Entity::A_CALC_REF . '=' . (int)$calcId;
        $result = $this->get($where);
        return $result;
    }
public function getByCalcId($calcId)
    {
        $where = Entity::A_CALC_REF . '=' . (int)$calcId;
        $result = $this->get($where);
        return $result;
    }
Get downline tree by calculation ID.

@param int $calcId
@return \Praxigento\BonusHybrid\Repo\Data\Downline[]