src/Session.php
public function setFlash($key, $value) {
		if (!$this->started) {
			return $this;
		}

		$_SESSION[$this->nextFlashSessionKey][$key] = $value;
		return $this;
	}
public function setFlash($key, $value) {
		if (!$this->started) {
			return $this;
		}

		$_SESSION[$this->nextFlashSessionKey][$key] = $value;
		return $this;
	}
public function setFlash ( $ key , $ value ) { if ( ! $ this -> started ) { return $ this ; } $ _SESSION [ $ this -> nextFlashSessionKey ] [ $ key ] = $ value ; return $ this ; }
Set data to the flash messages bag for the next request.

@param string $key
@param mixed $value
@return self
Set data to the flash messages bag for the next request .