original_string: protected function _underscore($url)
      {
          if (!empty($url['controller'])) {
              $url['controller'] = Inflector::underscore($url['controller']);
          }
          if (!empty($url['plugin'])) {
              $url['plugin'] = Inflector::underscore($url['plugin']);
          }
  
          return $url;
      }
code: protected function _underscore($url)
      {
          if (!empty($url['controller'])) {
              $url['controller'] = Inflector::underscore($url['controller']);
          }
          if (!empty($url['plugin'])) {
              $url['plugin'] = Inflector::underscore($url['plugin']);
          }
  
          return $url;
      }
code_tokens: protected function _underscore ( $ url ) { if ( ! empty ( $ url [ 'controller' ] ) ) { $ url [ 'controller' ] = Inflector :: underscore ( $ url [ 'controller' ] ) ; } if ( ! empty ( $ url [ 'plugin' ] ) ) { $ url [ 'plugin' ] = Inflector :: underscore ( $ url [ 'plugin' ] ) ; } return $ url ; }
docstring: Helper method for underscoring keys in a URL array.
  
  @param array $url An array of URL keys.
  @return array
docstring_tokens: Helper method for underscoring keys in a URL array .