implements Phalcon\Http\CookieInterface, Phalcon\Di\InjectionAwareInterface
Provide OO wrappers to manage a HTTP cookie
Phalcon\Http\Cookie constructor
Sets the dependency injector
Returns the internal dependency injector
Sets the cookie’s value
Returns the cookie’s value
Sends the cookie to the HTTP client Stores the cookie definition in session
Reads the cookie-related info from the SESSION to restore the cookie as it was set This method is automatically called internally so normally you don’t need to call it
Deletes the cookie by setting an expire time in the past
Sets if the cookie must be encrypted/decrypted automatically
Check if the cookie is using implicit encryption
Sets the cookie’s expiration time
Returns the current expiration time
Sets the cookie’s expiration time
Returns the current cookie’s name
Returns the current cookie’s path
Sets the domain that the cookie is available to
Returns the domain that the cookie is available to
Sets if the cookie must only be sent when the connection is secure (HTTPS)
Returns whether the cookie must only be sent when the connection is secure (HTTPS)
Sets if the cookie is accessible only through the HTTP protocol
Returns if the cookie is accessible only through the HTTP protocol
Magic __toString method converts the cookie’s value to string
© 2011–2016 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0.
https://docs.phalconphp.com/en/latest/api/Phalcon_Http_Cookie.html