public function addCacheControl(string $name, string $value = null): Response
    {
        $this->cacheControl[$name] = $value;

        return $this;
    }
public function addCacheControl(string $name, string $value = null): Response
    {
        $this->cacheControl[$name] = $value;

        return $this;
    }
public function addCacheControl ( string $ name , string $ value = null ) : Response { $ this -> cacheControl [ $ name ] = $ value ; return $ this ; }
Set a response cache control.

@param string $name  Cache control name
@param string $value [optional] Cache control value

@return \Valkyrja\Http\Response
Set a response cache control .