original_string: protected function resolveStrategyClass($strategy)
      {
          if (empty($strategy)) {
              return false;
          }
  
          if ( ! str_contains($strategy, '.')) {
              $strategy = config($this->getAliasesBaseConfigKey() . $strategy, $strategy);
          }
  
          if (class_exists($strategy) && is_a($strategy, $this->getStrategyInterfaceClass(), true)) {
              return $strategy;
          }
  
          $strategy = $this->prefixStrategyNamespace($strategy);
  
          if (class_exists($strategy) && is_a($strategy, $this->getStrategyInterfaceClass(), true)) {
              return $strategy;
          }
  
          return false;
      }
code: protected function resolveStrategyClass($strategy)
      {
          if (empty($strategy)) {
              return false;
          }
  
          if ( ! str_contains($strategy, '.')) {
              $strategy = config($this->getAliasesBaseConfigKey() . $strategy, $strategy);
          }
  
          if (class_exists($strategy) && is_a($strategy, $this->getStrategyInterfaceClass(), true)) {
              return $strategy;
          }
  
          $strategy = $this->prefixStrategyNamespace($strategy);
  
          if (class_exists($strategy) && is_a($strategy, $this->getStrategyInterfaceClass(), true)) {
              return $strategy;
          }
  
          return false;
      }
code_tokens: protected function resolveStrategyClass ( $ strategy ) { if ( empty ( $ strategy ) ) { return false ; } if ( ! str_contains ( $ strategy , '.' ) ) { $ strategy = config ( $ this -> getAliasesBaseConfigKey ( ) . $ strategy , $ strategy ) ; } if ( class_exists ( $ strategy ) && is_a ( $ strategy , $ this -> getStrategyInterfaceClass ( ) , true ) ) { return $ strategy ; } $ strategy = $ this -> prefixStrategyNamespace ( $ strategy ) ; if ( class_exists ( $ strategy ) && is_a ( $ strategy , $ this -> getStrategyInterfaceClass ( ) , true ) ) { return $ strategy ; } return false ; }
docstring: Resolves strategy assuming it is the class name or FQN of an action strategy 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 an action strategy interface implementation or an alias for one .