public function Server::setEmitter in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-diactoros/src/Server.php \Zend\Diactoros\Server::setEmitter()
Set alternate response emitter to use.
Parameters
Response\EmitterInterface $emitter:
File
- vendor/
zendframework/ zend-diactoros/ src/ Server.php, line 85
Class
- Server
- "Serve" incoming HTTP requests
Namespace
Zend\DiactorosCode
public function setEmitter(Response\EmitterInterface $emitter) {
$this->emitter = $emitter;
}