public function build()
    {
        $headers = array();
        foreach (get_object_vars($this) as $header => $value) {
            $headers[] = $header . ": " . (string)$value;
        }
        return $headers;
    }
public function build()
    {
        $headers = array();
        foreach (get_object_vars($this) as $header => $value) {
            $headers[] = $header . ": " . (string)$value;
        }
        return $headers;
    }
public function build ( ) { $ headers = array ( ) ; foreach ( get_object_vars ( $ this ) as $ header => $ value ) { $ headers [ ] = $ header . ": " . ( string ) $ value ; } return $ headers ; }
Build the headers
Build the headers