Core/Http/Response/Response.php
public function status($status = null) {
			if ($status != null) {
				if (array_key_exists($status, $this->_statusCode)) {
					$this->_status = $status;
				}

				return true;
			}
			else {
				return $this->_status;
			}
		}
public function status($status = null) {
			if ($status != null) {
				if (array_key_exists($status, $this->_statusCode)) {
					$this->_status = $status;
				}

				return true;
			}
			else {
				return $this->_status;
			}
		}
public function status ( $ status = null ) { if ( $ status != null ) { if ( array_key_exists ( $ status , $ this -> _statusCode ) ) { $ this -> _status = $ status ; } return true ; } else { return $ this -> _status ; } }
set the status code. If you use 404, 403 or 500, the framework will display an error page
get the status code
@access public
@param $status string
@return mixed
@since 3.0
@package Gcs\Framework\Http\Core\Response
set the status code . If you use 404 403 or 500 the framework will display an error page get the status code