프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 | |
create ( $status = 200 ) : object | Create an instance or the Status class for chaining | |
header ( ) | Send the status header |