mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
MongoID constructor accepts a MongoId instance
https://jira.mongodb.org/browse/PHP-966 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335992 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
7070675e39
commit
cb0077d0d5
1 changed files with 3 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
|||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier> <methodname>MongoId::__construct</methodname>
|
||||
<methodparam choice="opt"><type>string</type><parameter>id</parameter><initializer>&null;</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>string|MongoId</type><parameter>id</parameter><initializer>&null;</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
</refsect1>
|
||||
|
||||
|
@ -25,7 +25,8 @@
|
|||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
A string to use as the id. Must be 24 hexidecimal characters.
|
||||
A string (must be 24 hexadecimal characters) or a
|
||||
<classname>MongoId</classname> instance.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
Loading…
Reference in a new issue