/**
* 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
*/ publicfunctionsetInvalidMessage(string $invalidMessage = null, array $invalidMessageParameters = []): void { if(1 > \func_num_args()){