This commit is contained in:
2021-09-29 15:41:13 +08:00
parent be4cb23bb9
commit 42abe70f99
9 changed files with 189 additions and 615 deletions
+11
View File
@@ -194,6 +194,17 @@ trait Message
}
/**
* @param array $headers
* @return static
*/
public function withHeaders(array $headers): static
{
$this->headers = $headers;
return $this;
}
/**
* @param $name
* @param $value