public function all($format = null)
	{
		$format = ($format === null) ? $this->format : $format;

		$all = array();

		foreach ($this->messages as $messages)
		{
			$all = array_merge($all, $this->transform($messages, $format));
		}

		return $all;
	}
public function all($format = null)
	{
		$format = ($format === null) ? $this->format : $format;

		$all = array();

		foreach ($this->messages as $messages)
		{
			$all = array_merge($all, $this->transform($messages, $format));
		}

		return $all;
	}
public function all ( $ format = null ) { $ format = ( $ format === null ) ? $ this -> format : $ format ; $ all = array ( ) ; foreach ( $ this -> messages as $ messages ) { $ all = array_merge ( $ all , $ this -> transform ( $ messages , $ format ) ) ; } return $ all ; }
Get all of the messages for every key in the container.

<code>
// Get all of the messages in the collector
$all = $messages->all();

// Format all of the messages in the collector
$all = $messages->all('<p>:message</p>');
</code>

@param  string  $format
@return array
Get all of the messages for every key in the container .