original_string: public function setValue($value)
      {
          foreach ((array)$this as $element) {
              if ($value == $element->getElement()->getValue()) {
                  $element->getElement()->check();
              } else {
                  $element->getElement()->check(false);
              }
          }
      }
code: public function setValue($value)
      {
          foreach ((array)$this as $element) {
              if ($value == $element->getElement()->getValue()) {
                  $element->getElement()->check();
              } else {
                  $element->getElement()->check(false);
              }
          }
      }
code_tokens: public function setValue ( $ value ) { foreach ( ( array ) $ this as $ element ) { if ( $ value == $ element -> getElement ( ) -> getValue ( ) ) { $ element -> getElement ( ) -> check ( ) ; } else { $ element -> getElement ( ) -> check ( false ) ; } } }
docstring: Sets the element where the value matches to `checked`.
  
  @param mixed $value
docstring_tokens: Sets the element where the value matches to checked .