public function setStatus(int $code, string $status)
    {
        return $this
            ->set('code', $code)
            ->setHeader('Status', $status);
    }
public function setStatus(int $code, string $status)
    {
        return $this
            ->set('code', $code)
            ->setHeader('Status', $status);
    }
public function setStatus ( int $ code , string $ status ) { return $ this -> set ( 'code' , $ code ) -> setHeader ( 'Status' , $ status ) ; }
Sets a status code

@param *int    $code   Status code
@param *string $status The string literal code for header

@return StatusTrait
Sets a status code