PHP Class Namshi\Notificator\Notification

Inheritance: implements Namshi\Notificator\NotificationInterface
Afficher le fichier Open project: namshi/notificator Class Usage Examples

Protected Properties

Свойство Type Description
$message
$parameters

Méthodes publiques

Méthode Description
__construct ( $message, array $parameters = [] ) Constructor
getMessage ( )
getParameter ( string $id ) : mixed Returns a parameter.
getParameters ( )
setMessage ( string $message ) Sets the message transported by this notification.

Method Details

__construct() public méthode

Constructor
public __construct ( $message, array $parameters = [] )
$message
$parameters array

getMessage() public méthode

public getMessage ( )

getParameter() public méthode

Returns a parameter.
public getParameter ( string $id ) : mixed
$id string
Résultat mixed

getParameters() public méthode

public getParameters ( )

setMessage() public méthode

Sets the message transported by this notification.
public setMessage ( string $message )
$message string

Property Details

$message protected_oe property

protected $message

$parameters protected_oe property

protected $parameters