original_string: public function setInvalidMessage(string $invalidMessage = null, array $invalidMessageParameters = []): void
      {
          $this->invalidMessage = $invalidMessage;
          $this->invalidMessageParameters = $invalidMessageParameters;
      }
code: public function setInvalidMessage(string $invalidMessage = null, array $invalidMessageParameters = []): void
      {
          $this->invalidMessage = $invalidMessage;
          $this->invalidMessageParameters = $invalidMessageParameters;
      }
code_tokens: public function setInvalidMessage ( string $ invalidMessage = null , array $ invalidMessageParameters = [ ] ) : void { $ this -> invalidMessage = $ invalidMessage ; $ this -> invalidMessageParameters = $ invalidMessageParameters ; }
docstring: Sets the message that will be shown to the user.
  
  @param string|null $invalidMessage           The message or message key
  @param array       $invalidMessageParameters Data to be passed into the translator
docstring_tokens: Sets the message that will be shown to the user .