original_string: protected function registerBreadcrumbs($container, array $item = [])
      {
          $this->setBreadcrumbsContainer($container);
  
          breadcrumbs()->register('main', function(Builder $bc) use ($item) {
              if (empty($item)) {
                  $item = $this->getBreadcrumbsHomeItem();
              }
  
              $bc->push($item['title'], $item['url'], $item['data'] ?? []);
          });
      }
code: protected function registerBreadcrumbs($container, array $item = [])
      {
          $this->setBreadcrumbsContainer($container);
  
          breadcrumbs()->register('main', function(Builder $bc) use ($item) {
              if (empty($item)) {
                  $item = $this->getBreadcrumbsHomeItem();
              }
  
              $bc->push($item['title'], $item['url'], $item['data'] ?? []);
          });
      }
code_tokens: protected function registerBreadcrumbs ( $ container , array $ item = [ ] ) { $ this -> setBreadcrumbsContainer ( $ container ) ; breadcrumbs ( ) -> register ( 'main' , function ( Builder $ bc ) use ( $ item ) { if ( empty ( $ item ) ) { $ item = $ this -> getBreadcrumbsHomeItem ( ) ; } $ bc -> push ( $ item [ 'title' ] , $ item [ 'url' ] , $ item [ 'data' ] ?? [ ] ) ; } ) ; }
docstring: Register a breadcrumb.
  
  @param  string  $container
  @param  array   $item
docstring_tokens: Register a breadcrumb .