$c
->value(val
)
Gets or sets the cookie's value. With no parameter, returns the current value; otherwise sets the new value. In array context, returns the current value as an array. In scalar context, returns the first value of a multivalued cookie.