Skip to content

Commit e303188

Browse files
Update MessageInterface.php
Moved in docs in php-fig#86
1 parent efd67d1 commit e303188

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/MessageInterface.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,6 @@ public function withProtocolVersion($version);
4646
* The keys represent the header name as it will be sent over the wire, and
4747
* each value is an array of strings associated with the header.
4848
*
49-
* // Represent the headers as a string
50-
* foreach ($message->getHeaders() as $name => $values) {
51-
* echo $name . ": " . implode(", ", $values);
52-
* }
53-
*
54-
* // Emit headers iteratively:
55-
* foreach ($message->getHeaders() as $name => $values) {
56-
* foreach ($values as $value) {
57-
* header(sprintf('%s: %s', $name, $value), false);
58-
* }
59-
* }
60-
*
6149
* While header names are not case-sensitive, getHeaders() will preserve the
6250
* exact case in which headers were originally specified.
6351
*

0 commit comments

Comments
 (0)