Solar_Session::addFlash()

public void Solar_Session::addFlash ( string $key , mixed $val )

Appends a flash value to a key; this will start the session if needed.

Parameters

  • (string) $key: The flash key.

  • (mixed) $val: The flash value to add to the key; this will result in the flash becoming an array.

Returns

  • (void)

Description

Appends a flash value to a key; this will start the session if needed.



Local