Свойство | Тип | Описание | |
---|---|---|---|
$bag | array | Array of cookie to be written by the response class |
Метод | Описание | |
---|---|---|
erase ( $name, $path = '/', $domain = null, $secure = false ) | Remove a cookie from the bag | |
read ( $name, $fallback = null ) : mixed | Reads a cookie name from the globals cookies or the class cookie bag | |
write ( $name, $value, $expiration, $path = '/', $domain = null, $secure = false, $HttpOnly = true ) | Adds a cookie to the bag to be written |
public static erase ( $name, $path = '/', $domain = null, $secure = false ) |
public static write ( $name, $value, $expiration, $path = '/', $domain = null, $secure = false, $HttpOnly = true ) |
public static array $bag | ||
Результат | array |