public function setFlashes($values) { if (false === $this->started) { $this->start(); } $this->flashes = $values; $this->oldFlashes = array(); }