PHP 인터페이스 Zend\Diactoros\Response\EmitterInterface

파일 보기 프로젝트 열기: zendframework/zend-diactoros 0 사용 예제들

공개 메소드들

메소드 설명
emit ( Psr\Http\Message\ResponseInterface $response ) Emit a response.

메소드 상세

emit() 공개 메소드

Emits a response, including status line, headers, and the message body, according to the environment. Implementations of this method may be written in such a way as to have side effects, such as usage of header() or pushing output to the output buffer. Implementations MAY raise exceptions if they are unable to emit the response; e.g., if headers have already been sent.
public emit ( Psr\Http\Message\ResponseInterface $response )
$response Psr\Http\Message\ResponseInterface