original_string: public static function renderStatic(
          array $arguments,
          \Closure $renderChildrenClosure,
          RenderingContextInterface $renderingContext
      ) {
          $content = trim($renderChildrenClosure());
  
          return preg_match('%^https?\:\/\/%', $content) ?
              htmlspecialchars($content) : '{{ path \'/'.ltrim($content, '/').'\' }}';
      }
code: public static function renderStatic(
          array $arguments,
          \Closure $renderChildrenClosure,
          RenderingContextInterface $renderingContext
      ) {
          $content = trim($renderChildrenClosure());
  
          return preg_match('%^https?\:\/\/%', $content) ?
              htmlspecialchars($content) : '{{ path \'/'.ltrim($content, '/').'\' }}';
      }
code_tokens: public static function renderStatic ( array $ arguments , \ Closure $ renderChildrenClosure , RenderingContextInterface $ renderingContext ) { $ content = trim ( $ renderChildrenClosure ( ) ) ; return preg_match ( '%^https?\:\/\/%' , $ content ) ? htmlspecialchars ( $ content ) : '{{ path \'/' . ltrim ( $ content , '/' ) . '\' }}' ; }
docstring: Render a resource URL for Fractal, possibly treated with the `path` view helper
  
  @param array $arguments
  @param \Closure $renderChildrenClosure
  @param RenderingContextInterface $renderingContext
  
  @return string
docstring_tokens: Render a resource URL for Fractal possibly treated with the path view helper