Copied!

TranslatableNotificationHandlerInterface

TranslatableNotificationHandlerInterface.php : 14

Generates user notifications with translatable message.

Methods

publicerror()

TranslatableNotificationHandlerInterface.php : 22
public error(string $message[, array<string|int, mixed> $parameters = [] ][, string|null $domain = null ][, string|null $locale = null ]) : void

Parameters

Name Type Default value Description
$message string - -
$parameters array<string|int, mixed> [] -
$domain string|null null -
$locale string|null null -

publicinfo()

TranslatableNotificationHandlerInterface.php : 16
public info(string $message[, array<string|int, mixed> $parameters = [] ][, string|null $domain = null ][, string|null $locale = null ]) : void

Parameters

Name Type Default value Description
$message string - -
$parameters array<string|int, mixed> [] -
$domain string|null null -
$locale string|null null -

publicsuccess()

TranslatableNotificationHandlerInterface.php : 18
public success(string $message[, array<string|int, mixed> $parameters = [] ][, string|null $domain = null ][, string|null $locale = null ]) : void

Parameters

Name Type Default value Description
$message string - -
$parameters array<string|int, mixed> [] -
$domain string|null null -
$locale string|null null -

publicwarning()

TranslatableNotificationHandlerInterface.php : 20
public warning(string $message[, array<string|int, mixed> $parameters = [] ][, string|null $domain = null ][, string|null $locale = null ]) : void

Parameters

Name Type Default value Description
$message string - -
$parameters array<string|int, mixed> [] -
$domain string|null null -
$locale string|null null -