Project Versions

Table Of Contents

Previous topic

Class Phalcon\Http\Response

Next topic

Class Phalcon\Http\Response\Exception

This Page

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