Gets flash message for a given type.
string $type Message category type.:
array $default Default value if $type doee not exist.:
string
Overrides FlashBagInterface::peek
public function peek($type, array $default = array()) {
return $this
->has($type) ? $this->flashes['display'][$type] : $default;
}