original_string: public function getCrumbs($separator = '&raquo;', $startText = false)
      {
          deprecationWarning(
              'HtmlHelper::getCrumbs() is deprecated. ' .
              'Use the BreadcrumbsHelper instead.'
          );
  
          $crumbs = $this->_prepareCrumbs($startText);
          if (!empty($crumbs)) {
              $out = [];
              foreach ($crumbs as $crumb) {
                  if (!empty($crumb[1])) {
                      $out[] = $this->link($crumb[0], $crumb[1], $crumb[2]);
                  } else {
                      $out[] = $crumb[0];
                  }
              }
  
              return implode($separator, $out);
          }
  
          return null;
      }
code: public function getCrumbs($separator = '&raquo;', $startText = false)
      {
          deprecationWarning(
              'HtmlHelper::getCrumbs() is deprecated. ' .
              'Use the BreadcrumbsHelper instead.'
          );
  
          $crumbs = $this->_prepareCrumbs($startText);
          if (!empty($crumbs)) {
              $out = [];
              foreach ($crumbs as $crumb) {
                  if (!empty($crumb[1])) {
                      $out[] = $this->link($crumb[0], $crumb[1], $crumb[2]);
                  } else {
                      $out[] = $crumb[0];
                  }
              }
  
              return implode($separator, $out);
          }
  
          return null;
      }
code_tokens: public function getCrumbs ( $ separator = '&raquo;' , $ startText = false ) { deprecationWarning ( 'HtmlHelper::getCrumbs() is deprecated. ' . 'Use the BreadcrumbsHelper instead.' ) ; $ crumbs = $ this -> _prepareCrumbs ( $ startText ) ; if ( ! empty ( $ crumbs ) ) { $ out = [ ] ; foreach ( $ crumbs as $ crumb ) { if ( ! empty ( $ crumb [ 1 ] ) ) { $ out [ ] = $ this -> link ( $ crumb [ 0 ] , $ crumb [ 1 ] , $ crumb [ 2 ] ) ; } else { $ out [ ] = $ crumb [ 0 ] ; } } return implode ( $ separator , $ out ) ; } return null ; }
docstring: Returns the breadcrumb trail as a sequence of &raquo;-separated links.
  
  If `$startText` is an array, the accepted keys are:
  
  - `text` Define the text/content for the link.
  - `url` Define the target of the created link.
  
  All other keys will be passed to HtmlHelper::link() as the `$options` parameter.
  
  @param string $separator Text to separate crumbs.
  @param string|array|bool $startText This will be the first crumb, if false it defaults to first crumb in array. Can
  also be an array, see above for details.
  @return string|null Composed bread crumbs
  @link https://book.cakephp.org/3.0/en/views/helpers/html.html#creating-breadcrumb-trails-with-htmlhelper
  @deprecated 3.3.6 Use the BreadcrumbsHelper instead
docstring_tokens: Returns the breadcrumb trail as a sequence of &raquo ; - separated links .