ResponseEmitter (class)

Class ResponseEmitter

Emits a Response to the PHP Server API.

This emitter offers a few changes from the emitters offered by diactoros:

  • It logs headers sent using CakePHP's logging tools.
  • Cookies are emitted using setcookie() to not conflict with ext/session
Cake\Http\ResponseEmitter implements Zend\Diactoros\Response\EmitterInterface
Namespace: Cake\Http
Location: Http/ResponseEmitter.php

Method Summary