public function status($code)
    {
        if (in_array((int) $code, array_keys(self::$header), true)) {
            $this->code = $code;

            @header('HTTP/1.1 '. $code .' '. self::$header[$code], $this->override, $code);
        }

        return $this;
    }
public function status($code)
    {
        if (in_array((int) $code, array_keys(self::$header), true)) {
            $this->code = $code;

            @header('HTTP/1.1 '. $code .' '. self::$header[$code], $this->override, $code);
        }

        return $this;
    }
public function status ( $ code ) { if ( in_array ( ( int ) $ code , array_keys ( self :: $ header ) , true ) ) { $ this -> code = $ code ; @ header ( 'HTTP/1.1 ' . $ code . ' ' . self :: $ header [ $ code ] , $ this -> override , $ code ) ; } return $ this ; }
Modify http headers

@param  int $code
@return mixed
Modify http headers