Classes/Controller/JqadmController.php
protected function setPsrResponse( \Psr\Http\Message\ResponseInterface $response )
	{
		$this->response->setStatus( $response->getStatusCode() );

		foreach( $response->getHeaders() as $key => $value ) {
			foreach( (array) $value as $val ) {
				$this->response->setHeader( $key, $val );
			}
		}

		return (string) $response->getBody();
	}
protected function setPsrResponse( \Psr\Http\Message\ResponseInterface $response )
	{
		$this->response->setStatus( $response->getStatusCode() );

		foreach( $response->getHeaders() as $key => $value ) {
			foreach( (array) $value as $val ) {
				$this->response->setHeader( $key, $val );
			}
		}

		return (string) $response->getBody();
	}
protected function setPsrResponse ( \ Psr \ Http \ Message \ ResponseInterface $ response ) { $ this -> response -> setStatus ( $ response -> getStatusCode ( ) ) ; foreach ( $ response -> getHeaders ( ) as $ key => $ value ) { foreach ( ( array ) $ value as $ val ) { $ this -> response -> setHeader ( $ key , $ val ) ; } } return ( string ) $ response -> getBody ( ) ; }
Set the response data from a PSR-7 response object and returns the message content

@param \Psr\Http\Message\ResponseInterface $response PSR-7 response object
@return string Generated output
Set the response data from a PSR - 7 response object and returns the message content