original_string: protected function findController($controller, $action, $inPath)
      {
          /*
           * Workaround: Composer does not support case insensitivity.
           */
          if (!class_exists($controller)) {
              $controller = Str::normalizeClassName($controller);
              $controllerFile = $inPath.strtolower(str_replace('\\', '/', $controller)) . '.php';
              if ($controllerFile = File::existsInsensitive($controllerFile)) {
                  include_once $controllerFile;
              }
          }
  
          if (!class_exists($controller)) {
              return false;
          }
  
          $controllerObj = App::make($controller);
  
          if ($controllerObj->actionExists($action)) {
              return $controllerObj;
          }
  
          return false;
      }
code: protected function findController($controller, $action, $inPath)
      {
          /*
           * Workaround: Composer does not support case insensitivity.
           */
          if (!class_exists($controller)) {
              $controller = Str::normalizeClassName($controller);
              $controllerFile = $inPath.strtolower(str_replace('\\', '/', $controller)) . '.php';
              if ($controllerFile = File::existsInsensitive($controllerFile)) {
                  include_once $controllerFile;
              }
          }
  
          if (!class_exists($controller)) {
              return false;
          }
  
          $controllerObj = App::make($controller);
  
          if ($controllerObj->actionExists($action)) {
              return $controllerObj;
          }
  
          return false;
      }
code_tokens: protected function findController ( $ controller , $ action , $ inPath ) { /*
           * Workaround: Composer does not support case insensitivity.
           */ if ( ! class_exists ( $ controller ) ) { $ controller = Str :: normalizeClassName ( $ controller ) ; $ controllerFile = $ inPath . strtolower ( str_replace ( '\\' , '/' , $ controller ) ) . '.php' ; if ( $ controllerFile = File :: existsInsensitive ( $ controllerFile ) ) { include_once $ controllerFile ; } } if ( ! class_exists ( $ controller ) ) { return false ; } $ controllerObj = App :: make ( $ controller ) ; if ( $ controllerObj -> actionExists ( $ action ) ) { return $ controllerObj ; } return false ; }
docstring: This method is used internally.
  Finds a backend controller with a callable action method.
  @param string $controller Specifies a method name to execute.
  @param string $action Specifies a method name to execute.
  @param string $inPath Base path for class file location.
  @return ControllerBase Returns the backend controller object
docstring_tokens: This method is used internally . Finds a backend controller with a callable action method .