original_string: public function onTable($type = null)
      {
          if (!is_null($type)) {
              Breadcrumbs::register('notifications-' . $type, function($breadcrumbs) use($type) {
                  $breadcrumbs->push('Notifications ' . ucfirst($type), handles('antares::notifications/index'));
              });
              view()->share('breadcrumbs', Breadcrumbs::render('notifications-' . $type));
          }
      }
code: public function onTable($type = null)
      {
          if (!is_null($type)) {
              Breadcrumbs::register('notifications-' . $type, function($breadcrumbs) use($type) {
                  $breadcrumbs->push('Notifications ' . ucfirst($type), handles('antares::notifications/index'));
              });
              view()->share('breadcrumbs', Breadcrumbs::render('notifications-' . $type));
          }
      }
code_tokens: public function onTable ( $ type = null ) { if ( ! is_null ( $ type ) ) { Breadcrumbs :: register ( 'notifications-' . $ type , function ( $ breadcrumbs ) use ( $ type ) { $ breadcrumbs -> push ( 'Notifications ' . ucfirst ( $ type ) , handles ( 'antares::notifications/index' ) ) ; } ) ; view ( ) -> share ( 'breadcrumbs' , Breadcrumbs :: render ( 'notifications-' . $ type ) ) ; } }
docstring: when shows notifications list
  
  @param type $type
docstring_tokens: when shows notifications list