original_string: public function createActiveItem($text, $title = '')
      {
          $breadcrumb = new BreadcrumbObject();
  
          $breadcrumb->setText($text);
          $breadcrumb->setActive(true);
  
          if ($title) {
              $breadcrumb->setTitle($title);
          }
  
          $this->breadcrumbs[] = $breadcrumb;
  
          return $breadcrumb;
      }
code: public function createActiveItem($text, $title = '')
      {
          $breadcrumb = new BreadcrumbObject();
  
          $breadcrumb->setText($text);
          $breadcrumb->setActive(true);
  
          if ($title) {
              $breadcrumb->setTitle($title);
          }
  
          $this->breadcrumbs[] = $breadcrumb;
  
          return $breadcrumb;
      }
code_tokens: public function createActiveItem ( $ text , $ title = '' ) { $ breadcrumb = new BreadcrumbObject ( ) ; $ breadcrumb -> setText ( $ text ) ; $ breadcrumb -> setActive ( true ) ; if ( $ title ) { $ breadcrumb -> setTitle ( $ title ) ; } $ this -> breadcrumbs [ ] = $ breadcrumb ; return $ breadcrumb ; }
docstring: Creates an active breadcrumb object and adds it to the crumbs list.
  
  @param string $text Text to show
  @param string $title Title to use
  
  @return \Core\Html\Bootstrap\Breadcrumb\BreadcrumbObject
docstring_tokens: Creates an active breadcrumb object and adds it to the crumbs list .