send() public method

Finalize the request and send the response.
public send ( integer $code = 200, array $headers = null ) : void
$code integer
$headers array
return void
Example #1
0
 public function testSendException()
 {
     $this->setExpectedException('Pop\\Mvc\\Exception');
     $c = new Controller();
     $c->send();
 }