original_string: public function setListItemCssClass($class)
      {
          if (!is_string($class)) {
              throw new \InvalidArgumentException(
                  'Breadcrumbs::setListItemCssClass() only accepts strings, but '
                  . (is_object($class) ? get_class($class) : gettype($class))
                  . ' given: ' . print_r($class, true)
              );
          }
  
          $this->listItemCssClass = $class;
  
          return $this;
      }
code: public function setListItemCssClass($class)
      {
          if (!is_string($class)) {
              throw new \InvalidArgumentException(
                  'Breadcrumbs::setListItemCssClass() only accepts strings, but '
                  . (is_object($class) ? get_class($class) : gettype($class))
                  . ' given: ' . print_r($class, true)
              );
          }
  
          $this->listItemCssClass = $class;
  
          return $this;
      }
code_tokens: public function setListItemCssClass ( $ class ) { if ( ! is_string ( $ class ) ) { throw new \ InvalidArgumentException ( 'Breadcrumbs::setListItemCssClass() only accepts strings, but ' . ( is_object ( $ class ) ? get_class ( $ class ) : gettype ( $ class ) ) . ' given: ' . print_r ( $ class , true ) ) ; } $ this -> listItemCssClass = $ class ; return $ this ; }
docstring: Set the list item CSS class.
  
  This CSS class will be added to all list items.
  
  @param string $class
  @return $this
docstring_tokens: Set the list item CSS class .