original_string: protected function resolveStrategyClass($strategy)
      {
          if (    ! str_contains($strategy, '.')
              &&  $aliasStrategy = config(
                  'cms-models.strategies.show.aliases.' . $strategy,
                  config('cms-models.strategies.list.aliases.' . $strategy)
              )
          ) {
              $strategy = $aliasStrategy;
          }
  
          if (class_exists($strategy) && is_a($strategy, ShowFieldInterface::class, true)) {
              return $strategy;
          }
  
          $strategy = $this->prefixStrategyNamespace($strategy);
  
          if (class_exists($strategy) && is_a($strategy, ShowFieldInterface::class, true)) {
              return $strategy;
          }
  
          return false;
      }
code: protected function resolveStrategyClass($strategy)
      {
          if (    ! str_contains($strategy, '.')
              &&  $aliasStrategy = config(
                  'cms-models.strategies.show.aliases.' . $strategy,
                  config('cms-models.strategies.list.aliases.' . $strategy)
              )
          ) {
              $strategy = $aliasStrategy;
          }
  
          if (class_exists($strategy) && is_a($strategy, ShowFieldInterface::class, true)) {
              return $strategy;
          }
  
          $strategy = $this->prefixStrategyNamespace($strategy);
  
          if (class_exists($strategy) && is_a($strategy, ShowFieldInterface::class, true)) {
              return $strategy;
          }
  
          return false;
      }
code_tokens: protected function resolveStrategyClass ( $ strategy ) { if ( ! str_contains ( $ strategy , '.' ) && $ aliasStrategy = config ( 'cms-models.strategies.show.aliases.' . $ strategy , config ( 'cms-models.strategies.list.aliases.' . $ strategy ) ) ) { $ strategy = $ aliasStrategy ; } if ( class_exists ( $ strategy ) && is_a ( $ strategy , ShowFieldInterface :: class , true ) ) { return $ strategy ; } $ strategy = $ this -> prefixStrategyNamespace ( $ strategy ) ; if ( class_exists ( $ strategy ) && is_a ( $ strategy , ShowFieldInterface :: class , true ) ) { return $ strategy ; } return false ; }
docstring: Resolves strategy assuming it is the class name or FQN of a show field interface
  implementation or an alias for one.
  
  @param string $strategy
  @return string|false     returns full class namespace if it was resolved succesfully
docstring_tokens: Resolves strategy assuming it is the class name or FQN of a show field interface implementation or an alias for one .