Overrides FlashBagInterface::get
public function get(string $type, array $default = []) : array { if (!$this->has($type)) { return $default; } $return = $this->flashes[$type]; unset($this->flashes[$type]); return $return; }