File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 * Accepts seven parameters, or you can submit an associative
2626 * array in the first parameter containing all the values.
2727 *
28- * @param array|string $name Cookie name or array containing binds
29- * @param string $value The value of the cookie
30- * @param string $expire The number of seconds until expiration
31- * @param string $domain For site-wide cookie. Usually: .yourdomain.com
32- * @param string $path The cookie path
33- * @param string $prefix The cookie prefix ('': the default prefix)
34- * @param bool|null $secure True makes the cookie secure
35- * @param bool|null $httpOnly True makes the cookie accessible via http(s) only (no javascript)
36- * @param string|null $sameSite The cookie SameSite value
28+ * @param array|Cookie| string $name Cookie name / array containing binds / Cookie object
29+ * @param string $value The value of the cookie
30+ * @param string $expire The number of seconds until expiration
31+ * @param string $domain For site-wide cookie. Usually: .yourdomain.com
32+ * @param string $path The cookie path
33+ * @param string $prefix The cookie prefix ('': the default prefix)
34+ * @param bool|null $secure True makes the cookie secure
35+ * @param bool|null $httpOnly True makes the cookie accessible via http(s) only (no javascript)
36+ * @param string|null $sameSite The cookie SameSite value
3737 *
3838 * @see \CodeIgniter\HTTP\Response::setCookie()
3939 */
You can’t perform that action at this time.
0 commit comments