Http\Cookie::setDI

public setDI (Phalcon\DiInterface $dependencyInjector) Sets the dependency injector

Http\Cookie::send

public send () Sends the cookie to the HTTP client Stores the cookie definition in session

Http\Cookie::isUsingEncryption

public isUsingEncryption () Check if the cookie is using implicit encryption

Http\Cookie::restore

public restore () 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

Http\Cookie::getValue

public mixed getValue ([string | array $filters], [string $defaultValue]) Returns the cookie’s value

Http\Cookie

implements Phalcon\Http\CookieInterface, Phalcon\Di\InjectionAwareInterface Source on GitHub Provide OO wrappers to manage a HTTP cookie Methods public __construct (string $name, [mixed $value], [int $expire], [string $path], [boolean $secure], [string $domain], [boolean $httpOnly]) Phalcon\Http\Cookie constructor public setDI (Phalcon\DiInterface $dependencyInjector) Sets the dependency injector public getDI () Returns the internal dependency injector public Phalcon\Http\Cookie setValue (strin

Http\Cookie::getDomain

public getDomain () Returns the domain that the cookie is available to

Http\Cookie::getExpiration

public getExpiration () Returns the current expiration time

Http\Cookie::getHttpOnly

public getHttpOnly () Returns if the cookie is accessible only through the HTTP protocol

Http\Cookie::getName

public getName () Returns the current cookie’s name