original_string: public function checkboxes($name, array $list = [], $checked = null, array $options = [], $separator = '<br>')
      {
          $group = [];
          $name = \str_replace('[]', '', $name);
  
          foreach ($list as $id => $label) {
              $group[] = $this->generateCheckboxByGroup($id, $label, $name, $checked, $options);
          }
  
          return \implode($separator, $group);
      }
code: public function checkboxes($name, array $list = [], $checked = null, array $options = [], $separator = '<br>')
      {
          $group = [];
          $name = \str_replace('[]', '', $name);
  
          foreach ($list as $id => $label) {
              $group[] = $this->generateCheckboxByGroup($id, $label, $name, $checked, $options);
          }
  
          return \implode($separator, $group);
      }
code_tokens: public function checkboxes ( $ name , array $ list = [ ] , $ checked = null , array $ options = [ ] , $ separator = '<br>' ) { $ group = [ ] ; $ name = \ str_replace ( '[]' , '' , $ name ) ; foreach ( $ list as $ id => $ label ) { $ group [ ] = $ this -> generateCheckboxByGroup ( $ id , $ label , $ name , $ checked , $ options ) ; } return \ implode ( $ separator , $ group ) ; }
docstring: Create a checkboxes input field.
  
  @param  string  $name
  @param  array  $list
  @param  bool|array  $checked
  @param  array  $options
  @param  string  $separator
  
  @return string
docstring_tokens: Create a checkboxes input field .