original_string: public function dropDown(array $links)
      {
          if (is_array($links[0])) {
              foreach ($links as $link) {
                  call_user_func([$this, 'dropDown'], $link);
              }
  
              return $this;
          }
  
          $this->data['dropDown'][] = [
              'name' => $links[0],
              'href' => $links[1],
          ];
  
          return $this;
      }
code: public function dropDown(array $links)
      {
          if (is_array($links[0])) {
              foreach ($links as $link) {
                  call_user_func([$this, 'dropDown'], $link);
              }
  
              return $this;
          }
  
          $this->data['dropDown'][] = [
              'name' => $links[0],
              'href' => $links[1],
          ];
  
          return $this;
      }
code_tokens: public function dropDown ( array $ links ) { if ( is_array ( $ links [ 0 ] ) ) { foreach ( $ links as $ link ) { call_user_func ( [ $ this , 'dropDown' ] , $ link ) ; } return $ this ; } $ this -> data [ 'dropDown' ] [ ] = [ 'name' => $ links [ 0 ] , 'href' => $ links [ 1 ] , ] ; return $ this ; }
docstring: Set drop-down items.
  
  @param array $links
  
  @return $this
docstring_tokens: Set drop - down items .