Tabla de Contenidos

Tema anterior

< Class Phalcon\Http\Response

Próximo tema

Class Phalcon\Http\Response\Exception >

Esta página

Class Phalcon\Http\Response\Cookies

implements Phalcon\DI\InjectionAwareInterface

This class is a bag to manage the cookies

Methods

public __construct ()

Phalcon\Http\Response\Cookies constructor

public setDI (Phalcon\DiInterface $dependencyInjector)

Sets the dependency injector

public Phalcon\DiInterface getDI ()

Returns the internal dependency injector

public set (string $name, [mixed $value], [int $expire], [string $path])

Sets a header to be sent at the end of the request

public Phalcon\Http\Cookie get (string $name)

Gets a cookie from the bag

public reset ()

Reset set cookies