Skip to content
PHP Ecosystem
Explore

Message

API reference › Selectize › exception › Message

enumyii2\extensions\selectize\exception\Message
Backed bystring
Sourcesrc/exception/Message.php

Defines widget exception message templates.

Use Message::getMessage() to format the template with sprintf() arguments.

CaseValueDescription
INVALID_TYPE'Invalid type "%s".'Error when the widget type is not supported.
MethodDescriptionDefined by
getMessage()Returns the formatted message string for the error case.Message
public function getMessage(int|string ...$argument): string

Returns the formatted message string for the error case.

Parameters

ParameterTypeDescription
...$argumentint|stringValues to insert into the message template.

Returns

string: Formatted error message with interpolated arguments.