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;
    }
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;
    }
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 ; }
Returns an array of CLI routes
@return array
Returns an array of CLI routes