original_string: public function render($options = [])
      {
          $items = $this->getStack();
          $options = Hash::merge([
              'breadcrumbGuessing' => false,
              'class' => 'breadcrumb',
              'templates' => [
                  'root' => '<ol{{attrs}}>{{content}}</ol>',
              ],
              'formatter' => function ($entity, $info) {
                  $options = [];
                  if ($info['index'] === $info['total']) {
                      $options['childAttrs'] = ['class' => 'active'];
                      $options['templates']['link'] = '{{content}}';
                  }
  
                  return $this->Menu->formatter($entity, $info, $options);
              }
          ], $options);
  
          return $this->Menu->render($items, $options);
      }
code: public function render($options = [])
      {
          $items = $this->getStack();
          $options = Hash::merge([
              'breadcrumbGuessing' => false,
              'class' => 'breadcrumb',
              'templates' => [
                  'root' => '<ol{{attrs}}>{{content}}</ol>',
              ],
              'formatter' => function ($entity, $info) {
                  $options = [];
                  if ($info['index'] === $info['total']) {
                      $options['childAttrs'] = ['class' => 'active'];
                      $options['templates']['link'] = '{{content}}';
                  }
  
                  return $this->Menu->formatter($entity, $info, $options);
              }
          ], $options);
  
          return $this->Menu->render($items, $options);
      }
code_tokens: public function render ( $ options = [ ] ) { $ items = $ this -> getStack ( ) ; $ options = Hash :: merge ( [ 'breadcrumbGuessing' => false , 'class' => 'breadcrumb' , 'templates' => [ 'root' => '<ol{{attrs}}>{{content}}</ol>' , ] , 'formatter' => function ( $ entity , $ info ) { $ options = [ ] ; if ( $ info [ 'index' ] === $ info [ 'total' ] ) { $ options [ 'childAttrs' ] = [ 'class' => 'active' ] ; $ options [ 'templates' ] [ 'link' ] = '{{content}}' ; } return $ this -> Menu -> formatter ( $ entity , $ info , $ options ) ; } ] , $ options ) ; return $ this -> Menu -> render ( $ items , $ options ) ; }
docstring: Renders a breadcrumb menu list.
  
  This methods renders an `<ol>` HTML menu using `MenuHelper` class, check this
  class for more information about valid options.
  
  @param array $options Array of options for `MenuHelper::render()` method
  @return string HTML
  @see \Menu\View\Helper\MenuHelper::render()
docstring_tokens: Renders a breadcrumb menu list .