We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12414a0 commit 903bcbcCopy full SHA for 903bcbc
src/Header.php
@@ -761,4 +761,26 @@ public function getAttributes(): array {
761
return $this->attributes;
762
}
763
764
+ /**
765
+ * Set all header attributes
766
+ * @param array $attributes
767
+ *
768
+ * @return Header
769
+ */
770
+ public function setAttributes(array $attributes): Header {
771
+ $this->attributes = $attributes;
772
+ return $this;
773
+ }
774
+
775
776
+ * Set the configuration used for parsing a raw header
777
+ * @param array $config
778
779
780
781
+ public function setConfig(array $config): Header {
782
+ $this->config = $config;
783
784
785
786
0 commit comments