Метод |
Описание |
|
delete ( string $name ) : boolean |
Deletes a cookie by its name
This method does not removes cookies from the $_COOKIE |
|
get ( string $name ) : mixed |
Gets a cookie from the bag |
|
has ( string $name ) : boolean |
Check if a cookie is defined in the bag or exists in the $_COOKIE |
|
send ( ) |
Sends the cookies to the client |
|
set ( string $name, mixed $value, integer $expire, string $path = null, string $domain = null, boolean $secure = false, boolean $httpOnly = true ) : static |
Sets a cookie to be sent at the end of the request |
|