File tree Expand file tree Collapse file tree 3 files changed +13
-8
lines changed Expand file tree Collapse file tree 3 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 171
171
},
172
172
{
173
173
"name" : " psr/http-factory" ,
174
- "version" : " 1.0.0 " ,
175
- "version_normalized" : " 1.0.0 .0" ,
174
+ "version" : " 1.0.1 " ,
175
+ "version_normalized" : " 1.0.1 .0" ,
176
176
"source" : {
177
177
"type" : " git" ,
178
178
"url" : " https://github.com/php-fig/http-factory.git" ,
179
- "reference" : " 378bfe27931ecc54ff824a20d6f6bfc303bbd04c "
179
+ "reference" : " 12ac7fcd07e5b077433f5f2bee95b3a771bf61be "
180
180
},
181
181
"dist" : {
182
182
"type" : " zip" ,
183
- "url" : " https://api.github.com/repos/php-fig/http-factory/zipball/378bfe27931ecc54ff824a20d6f6bfc303bbd04c " ,
184
- "reference" : " 378bfe27931ecc54ff824a20d6f6bfc303bbd04c " ,
183
+ "url" : " https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be " ,
184
+ "reference" : " 12ac7fcd07e5b077433f5f2bee95b3a771bf61be " ,
185
185
"shasum" : " "
186
186
},
187
187
"require" : {
188
188
"php" : " >=7.0.0" ,
189
189
"psr/http-message" : " ^1.0"
190
190
},
191
- "time" : " 2018-07-30T21:54:04 +00:00" ,
191
+ "time" : " 2019-04-30T12:38:16 +00:00" ,
192
192
"type" : " library" ,
193
193
"extra" : {
194
194
"branch-alias" : {
Original file line number Diff line number Diff line change 1
1
HTTP Factories
2
2
==============
3
3
4
- This is the implementation of [ PSR-17 (HTTP Message Factories)] [ psr-17 ] . Please refer to the
5
- specification for a description.
4
+ This repository holds all interfaces related to [ PSR-17 (HTTP Message Factories)] [ psr-17 ] .
5
+ Please refer to the specification for a description.
6
+
7
+ You can find implementations of the specification by looking for packages providing the
8
+ [ psr/http-factory-implementation] ( https://packagist.org/providers/psr/http-factory-implementation ) virtual package.
6
9
7
10
[ psr-17 ] : https://www.php-fig.org/psr/psr-17/
Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ public function createStream(string $content = ''): StreamInterface;
27
27
* @param string $mode Mode with which to open the underlying filename/stream.
28
28
*
29
29
* @return StreamInterface
30
+ * @throws \RuntimeException If the file cannot be opened.
31
+ * @throws \InvalidArgumentException If the mode is invalid.
30
32
*/
31
33
public function createStreamFromFile (string $ filename , string $ mode = 'r ' ): StreamInterface ;
32
34
You can’t perform that action at this time.
0 commit comments