Paperyard
Public Member Functions | List of all members
Paperyard\Helpers\PaperyardMassages Class Reference
Inheritance diagram for Paperyard\Helpers\PaperyardMassages:

Public Member Functions

 addMessages ($key, $messages)
 

Detailed Description

Definition at line 8 of file PaperyardMassages.php.

Member Function Documentation

Paperyard\Helpers\PaperyardMassages::addMessages (   $key,
  $messages 
)

Adds an array of messages to a single key.

Parameters
$keystring
$messagesarray

Definition at line 16 of file PaperyardMassages.php.

17  {
18  foreach ($messages as $message) {
19  $this->addMessage($key, $message[0]);
20  }
21  }

The documentation for this class was generated from the following file: