PHP 클래스 System\Response\Status

파일 보기 프로젝트 열기: rwarasaurus/nano 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$messages array Array or possible server status responses
$protocol string The server protocol
$status integer The status code

공개 메소드들

메소드 설명
__construct ( $status = 200 ) Create an instance or the Status class
header ( ) Send the status header

메소드 상세

__construct() 공개 메소드

Create an instance or the Status class
public __construct ( $status = 200 )

header() 공개 메소드

Send the status header
public header ( )

프로퍼티 상세

$messages 공개적으로 프로퍼티

Array or possible server status responses
public array $messages
리턴 array

$protocol 공개적으로 프로퍼티

The server protocol
public string $protocol
리턴 string

$status 공개적으로 프로퍼티

The status code
public int $status
리턴 integer