original_string: public function shortcodeUrl(Event $event, array $atts, $content, $tag)
      {
          try {
              $url = Router::url($content, true);
          } catch (\Exception $e) {
              $url = '';
          }
  
          return $url;
      }
code: public function shortcodeUrl(Event $event, array $atts, $content, $tag)
      {
          try {
              $url = Router::url($content, true);
          } catch (\Exception $e) {
              $url = '';
          }
  
          return $url;
      }
code_tokens: public function shortcodeUrl ( Event $ event , array $ atts , $ content , $ tag ) { try { $ url = Router :: url ( $ content , true ) ; } catch ( \ Exception $ e ) { $ url = '' ; } return $ url ; }
docstring: Implements the "url" shortcode.
  
  {url}/some/url/on/my/site{/url}
  
  @param \Cake\Event\Event $event The event that was fired
  @param array $atts An associative array of attributes, or an empty string if
  no attributes are given
  @param string $content The enclosed content (if the shortcode is used in its
  enclosing form)
  @param string $tag The shortcode tag
  @return string
docstring_tokens: Implements the url shortcode .