code: private function getCfgParams()
      {
          $result = [];
          $order = [
              ECfgParam::A_SCHEME . ' ASC',
              ECfgParam::A_LEG_MAX . ' DESC',
              ECfgParam::A_LEG_MEDIUM . ' DESC',
              ECfgParam::A_LEG_MIN . ' DESC'
          ];
          $data = $this->daoCfgParam->get(null, $order);
          /** @var ECfgParam $one */
          foreach ($data as $one) {
              $scheme = $one->getScheme();
              $rankId = $one->getRankId();
              $result[$scheme][$rankId] = $one;
          }
          return $result;
      }
docs: Get configuration for Override & Infinity bonuses ordered by scheme and leg max/medium/min desc.
  
  @return array [$scheme=>[$rankId=>[...], ...], ...]
  
  TODO: move this func closer to \Praxigento\BonusHybrid\Service\Calc\Bonus\Z\Proc\Compress\Phase2\IsQualified