MongoGridFS::storeFile() supports a stream argument

https://jira.mongodb.org/browse/PHP-1447


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336874 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jeremy Mikola 2015-06-04 21:12:35 +00:00
parent 6ade71e2b3
commit 2695aaaa20

View file

@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>mixed</type><methodname>MongoGridFS::storeFile</methodname>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
<methodparam><type>string|resource</type><parameter>filename</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>metadata</parameter><initializer>array()</initializer></methodparam>
<methodparam choice="opt"><type>array</type><parameter>options</parameter><initializer>array()</initializer></methodparam>
</methodsynopsis>
@ -27,7 +27,7 @@
</term>
<listitem>
<para>
Name of the file to store.
Name of the file or a readable stream to store.
</para>
</listitem>
</varlistentry>