code: public function buildItem(ItemInterface $item, array $options)
      {
          $item
              ->setUri($options['uri'])
              ->setLabel($options['label'])
              ->setAttributes($options['attributes'])
              ->setLinkAttributes($options['linkAttributes'])
              ->setChildrenAttributes($options['childrenAttributes'])
              ->setLabelAttributes($options['labelAttributes'])
              ->setCurrent($options['current'])
              ->setDisplay($options['display'])
              ->setDisplayChildren($options['displayChildren'])
          ;
  
          $this->buildExtras($item, $options);
      }
docs: Configures the newly created item with the passed options
  
  @param ItemInterface $item
  @param array         $options