public function add($key, $message)
	{
		if ($this->unique($key, $message)) $this->messages[$key][] = $message;
	}
public function add($key, $message)
	{
		if ($this->unique($key, $message)) $this->messages[$key][] = $message;
	}
public function add ( $ key , $ message ) { if ( $ this -> unique ( $ key , $ message ) ) $ this -> messages [ $ key ] [ ] = $ message ; }
Add a message to the collector.

<code>
// Add a message for the e-mail attribute
$messages->add('email', 'The e-mail address is invalid.');
</code>

@param  string  $key
@param  string  $message
@return void
Add a message to the collector .