original_string: public function getList()
      {
          $routes = &gplcart_static('cli.route.list');
  
          if (isset($routes)) {
              return $routes;
          }
  
          $routes = (array) gplcart_config_get(GC_FILE_CONFIG_ROUTE_CLI);
  
          $this->hook->attach('cli.route.list', $routes, $this);
          $this->setAliases($routes);
          return $routes;
      }
code: public function getList()
      {
          $routes = &gplcart_static('cli.route.list');
  
          if (isset($routes)) {
              return $routes;
          }
  
          $routes = (array) gplcart_config_get(GC_FILE_CONFIG_ROUTE_CLI);
  
          $this->hook->attach('cli.route.list', $routes, $this);
          $this->setAliases($routes);
          return $routes;
      }
code_tokens: public function getList ( ) { $ routes = & gplcart_static ( 'cli.route.list' ) ; if ( isset ( $ routes ) ) { return $ routes ; } $ routes = ( array ) gplcart_config_get ( GC_FILE_CONFIG_ROUTE_CLI ) ; $ this -> hook -> attach ( 'cli.route.list' , $ routes , $ this ) ; $ this -> setAliases ( $ routes ) ; return $ routes ; }
docstring: Returns an array of CLI routes
  @return array
docstring_tokens: Returns an array of CLI routes