original_string: public static function get_active_route_name($match, $active = 'active')
      {
          $route_name = Route::currentRouteName();
          return (strcasecmp(static::get_base_route_name($route_name), $match) == 0) ? $active : '';
      }
code: public static function get_active_route_name($match, $active = 'active')
      {
          $route_name = Route::currentRouteName();
          return (strcasecmp(static::get_base_route_name($route_name), $match) == 0) ? $active : '';
      }
code_tokens: public static function get_active_route_name ( $ match , $ active = 'active' ) { $ route_name = Route :: currentRouteName ( ) ; return ( strcasecmp ( static :: get_base_route_name ( $ route_name ) , $ match ) == 0 ) ? $ active : '' ; }
docstring: Check if route name is the same as the current url and returns active state
  @param $match
  @param $active
docstring_tokens: Check if route name is the same as the current url and returns active state