original_string: protected function _routerPrefixes()
      {
          $cache = static::cache('_routerPrefixes');
          if (!$cache) {
              $prefixes = [];
              foreach (Router::routes() as $route) {
                  if (empty($route->defaults['prefix'])) {
                      continue;
                  } else {
                      $prefix = Inflector::camelize($route->defaults['prefix']);
                      if (!in_array($prefix, $prefixes)) {
                          $prefixes[] = $prefix;
                      }
                  }
              }
  
              $cache = static::cache('_routerPrefixes', $prefixes);
          }
  
          return $cache;
      }
code: protected function _routerPrefixes()
      {
          $cache = static::cache('_routerPrefixes');
          if (!$cache) {
              $prefixes = [];
              foreach (Router::routes() as $route) {
                  if (empty($route->defaults['prefix'])) {
                      continue;
                  } else {
                      $prefix = Inflector::camelize($route->defaults['prefix']);
                      if (!in_array($prefix, $prefixes)) {
                          $prefixes[] = $prefix;
                      }
                  }
              }
  
              $cache = static::cache('_routerPrefixes', $prefixes);
          }
  
          return $cache;
      }
code_tokens: protected function _routerPrefixes ( ) { $ cache = static :: cache ( '_routerPrefixes' ) ; if ( ! $ cache ) { $ prefixes = [ ] ; foreach ( Router :: routes ( ) as $ route ) { if ( empty ( $ route -> defaults [ 'prefix' ] ) ) { continue ; } else { $ prefix = Inflector :: camelize ( $ route -> defaults [ 'prefix' ] ) ; if ( ! in_array ( $ prefix , $ prefixes ) ) { $ prefixes [ ] = $ prefix ; } } } $ cache = static :: cache ( '_routerPrefixes' , $ prefixes ) ; } return $ cache ; }
docstring: Gets a CamelizedList of all existing router prefixes.
  
  @return array
docstring_tokens: Gets a CamelizedList of all existing router prefixes .