Previous Page
_exception()

Solar_Session
add()

Next Page
addFlash()

add()

public void add ( string $key, mixed $val )

Appends a normal value to a key.

Parameters

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

Returns

  • (void)

Description

Appends a normal value to a key.