public function make(string $name = null, string $value = null): \BearFramework\App\Response\Header
    {
        if ($this->newHeaderCache === null) {
            $this->newHeaderCache = new \BearFramework\App\Response\Header();
        }
        $object = clone($this->newHeaderCache);
        if ($name !== null) {
            $object->name = $name;
        }
        if ($value !== null) {
            $object->value = $value;
        }
        return $object;
    }
public function make(string $name = null, string $value = null): \BearFramework\App\Response\Header
    {
        if ($this->newHeaderCache === null) {
            $this->newHeaderCache = new \BearFramework\App\Response\Header();
        }
        $object = clone($this->newHeaderCache);
        if ($name !== null) {
            $object->name = $name;
        }
        if ($value !== null) {
            $object->value = $value;
        }
        return $object;
    }
public function make ( string $ name = null , string $ value = null ) : \ BearFramework \ App \ Response \ Header { if ( $ this -> newHeaderCache === null ) { $ this -> newHeaderCache = new \ BearFramework \ App \ Response \ Header ( ) ; } $ object = clone ( $ this -> newHeaderCache ) ; if ( $ name !== null ) { $ object -> name = $ name ; } if ( $ value !== null ) { $ object -> value = $ value ; } return $ object ; }
Constructs a new header and returns it.

@param string|null $name The name of the header.
@param string|null $value The value of the header.
@return \BearFramework\App\Response\Header Returns a new header.
Constructs a new header and returns it .