UserFrosting API

UserMessage

UserMessage.

A user-viewable message, consisting of a message string or message token, and zero or more parameters for the message. Parameters can be used, for example, to fill in placeholders in dynamically generated messages.

Tags
author

Alexander Weissman (https://alexanderweissman.com)

Table of Contents

$message string
$parameters array
__construct() Public constructor. mixed

Properties

Methods

__construct()

Public constructor.

public __construct( $message : string [, $parameters : array = [] ] ) : mixed
Parameters
$message : string
$parameters : array = []

The parameters to be filled in for any placeholders in the message.

Return values
mixed

Search results