original_string: public function setUsername($value)
      {
          $this->assertValidString($value, false);
  
          $this->username = $value;
          if ($this->username !== '') {
              $this->flags |= 64;
          } else {
              $this->flags &= ~64;
          }
      }
code: public function setUsername($value)
      {
          $this->assertValidString($value, false);
  
          $this->username = $value;
          if ($this->username !== '') {
              $this->flags |= 64;
          } else {
              $this->flags &= ~64;
          }
      }
code_tokens: public function setUsername ( $ value ) { $ this -> assertValidString ( $ value , false ) ; $ this -> username = $ value ; if ( $ this -> username !== '' ) { $ this -> flags |= 64 ; } else { $ this -> flags &= ~ 64 ; } }
docstring: Sets the username.
  
  @param string $value
  
  @throws \InvalidArgumentException
docstring_tokens: Sets the username .