Class

eZ\Publish\API\Repository\Values\Translation\Message

class Message extends Translation

Class for translatable messages, which only occur in singular form.

The message might include replacements, in the form %[A-Za-z]%. Those are replaced by the values provided. A raw % can be escaped like %%.

Methods

__construct(string $message, array $values = array())

Construct singular only message from string and optional value array.

Details

at line 43
public __construct(string $message, array $values = array())

Construct singular only message from string and optional value array.

Parameters

string $message
array $values