original_string: protected function getUrl($lowercase = true)
      {
          if ($lowercase) {
              $url = '/' . rtrim(implode('/',
                      array_map('snake_case', explode('/', $this->getArgumentPath(true)))), '/');
              $url = (implode('/', array_map('str_slug', explode('/', $url))));
  
              return $url;
          }
  
          return '/' . rtrim(implode('/', explode('/', $this->getArgumentPath(true))), '/');
      }
code: protected function getUrl($lowercase = true)
      {
          if ($lowercase) {
              $url = '/' . rtrim(implode('/',
                      array_map('snake_case', explode('/', $this->getArgumentPath(true)))), '/');
              $url = (implode('/', array_map('str_slug', explode('/', $url))));
  
              return $url;
          }
  
          return '/' . rtrim(implode('/', explode('/', $this->getArgumentPath(true))), '/');
      }
code_tokens: protected function getUrl ( $ lowercase = true ) { if ( $ lowercase ) { $ url = '/' . rtrim ( implode ( '/' , array_map ( 'snake_case' , explode ( '/' , $ this -> getArgumentPath ( true ) ) ) ) , '/' ) ; $ url = ( implode ( '/' , array_map ( 'str_slug' , explode ( '/' , $ url ) ) ) ) ; return $ url ; } return '/' . rtrim ( implode ( '/' , explode ( '/' , $ this -> getArgumentPath ( true ) ) ) , '/' ) ; }
docstring: Get the url for the given name
  
  @param bool $lowercase
  @return string
docstring_tokens: Get the url for the given name