src/Connect.php
public function emit()
    {
        if (headers_sent($file, $line)) {
            throw new \LogicException('Headers already sent in %s on line %d', $file, $line);
        }

        if ($this->getResponse()) {
            (new Response\SapiEmitter())->emit($this->getResponse());
            exit();
        }
    }
public function emit()
    {
        if (headers_sent($file, $line)) {
            throw new \LogicException('Headers already sent in %s on line %d', $file, $line);
        }

        if ($this->getResponse()) {
            (new Response\SapiEmitter())->emit($this->getResponse());
            exit();
        }
    }
public function emit ( ) { if ( headers_sent ( $ file , $ line ) ) { throw new \ LogicException ( 'Headers already sent in %s on line %d' , $ file , $ line ) ; } if ( $ this -> getResponse ( ) ) { ( new Response \ SapiEmitter ( ) ) -> emit ( $ this -> getResponse ( ) ) ; exit ( ) ; } }
Emit the client response if exists and die...
Emit the client response if exists and die ...