File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ You can also generate the Link `tag` and/or `header` depending on how you want y
163
163
$uri = Uri::new('https://example.com/my/css/v1.3');
164
164
echo $uri->toLinkTag(['rel' => 'stylesheet']);
165
165
//display '<link href =" https://example.com/my/css/v1.3" rel =" stylesheet" >
166
- echo $uri->toLinkFieldValue (['rel' => 'stylesheet']);
166
+ echo $uri->toLinkHeaderValue (['rel' => 'stylesheet']);
167
167
//display 'https://example.com/my/css/v1.3 ;rel=stylesheet'
168
168
```
169
169
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ public function toLinkTag(iterable $attributes = []): string;
85
85
*
86
86
* @see https://www.rfc-editor.org/rfc/rfc7230.html#section-3.2.6
87
87
*/
88
- public function toLinkFieldValue (iterable $ parameters = []): string ;
88
+ public function toLinkHeaderValue (iterable $ parameters = []): string ;
89
89
90
90
/**
91
91
* Returns the Unix filesystem path. The method returns null for any other scheme except the file scheme.
Original file line number Diff line number Diff line change @@ -1159,7 +1159,7 @@ public function toLinkTag(iterable $attributes = []): string
1159
1159
*
1160
1160
* @see https://www.rfc-editor.org/rfc/rfc7230.html#section-3.2.6
1161
1161
*/
1162
- public function toLinkFieldValue (iterable $ parameters = []): string
1162
+ public function toLinkHeaderValue (iterable $ parameters = []): string
1163
1163
{
1164
1164
$ value = '< ' .$ this ->toString ().'> ' ;
1165
1165
if (!is_array ($ parameters )) {
You can’t perform that action at this time.
0 commit comments