Skip to content

Commit 4ee07ae

Browse files
committed
docs: add guidance on new UploadedFileFactoryInterface and UriFactoryInterface discovery methods.
1 parent 2dbfc61 commit 4ee07ae

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ $responseFactory = Discover::httpResponseFactory();
6363
// Returns a PSR-17 StreamFactoryInterface instance
6464
$streamFactory = Discover::httpStreamFactory();
6565

66+
// Returns a PSR-17 UploadedFileFactoryInterface instance
67+
$uploadedFileFactory = Discover::httpUploadedFileFactory();
68+
69+
// Returns a PSR-17 UriFactoryInterface instance
70+
$uriFactory = Discover::httpUriFactory();
71+
6672
// Returns a PSR-7 RequestInterface instance
6773
$request = $requestFactory->createRequest('GET', 'https://example.com');
6874
```

0 commit comments

Comments
 (0)