Phalcon\Http\Response\CookiesInterface initializer
abstract public Phalcon\Http\Response\CookiesInterface useEncryption (boolean $useEncryption)
Set if cookies in the bag must be automatically encrypted/decrypted
abstract public boolean isUsingEncryption ()
Returns if the bag is automatically encrypting/decrypting cookies
abstract public Phalcon\Http\Response\CookiesInterface set (string $name, [mixed $value], [int $expire], [string $path], [boolean $secure], [string $domain], [boolean $httpOnly])
Sets a cookie to be sent at the end of the request
abstract public Phalcon\Http\Cookie get (string $name)
Gets a cookie from the bag
abstract public boolean has (string $name)
Check if a cookie is defined in the bag or exists in the $_COOKIE superglobal
abstract public boolean delete (string $name)
Deletes a cookie by its name This method does not removes cookies from the $_COOKIE superglobal
abstract public boolean send ()
Sends the cookies to the client
abstract public Phalcon\Http\Response\CookiesInterface reset ()
Reset set cookies