Missing functions in Aws\S3\StreamWrapper #2954
Labels
feature-request
A feature should be added or improved.
p3
This is a minor priority issue
queued
This issues is on the AWS team's backlog
Describe the feature
Add the missing functions:
to match fully implement the streamWrapper wlass
Use Case
As I Wrap a Stream in one of my project the interpreter complain about those two function missing.
Proposed Solution
In the php documentation, the two functions have the return value described as
Returns true on success or false on failure. If option is not implemented, false should be returned.
so we could simply implements the functions like that:see https://www.php.net/manual/en/streamwrapper.stream-set-option.php
and https://www.php.net/manual/en/streamwrapper.stream-metadata.php
Other Information
No response
Acknowledgements
SDK version used
3.316.3
Environment details (Version of PHP (
php -v
)? OS name and version, etc.)PHP 8.1.27
The text was updated successfully, but these errors were encountered: