Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fill Memcached::__construct() parameters description #4263

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions reference/memcached/memcached/construct.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,25 @@
<varlistentry>
<term><parameter>callback</parameter></term>
<listitem>
<para>
<!-- TODO Document constructor params -->
</para>
<methodsynopsis>
<type>void</type><methodname><replaceable>callback</replaceable></methodname>
<methodparam><type>Memcached</type><parameter>memcached</parameter></methodparam>
<methodparam><type>string|null</type><parameter>persistent_id</parameter></methodparam>
</methodsynopsis>
<simpara>
The <parameter>callback</parameter> parameter is called when the
connection is established. It should be a valid PHP <type>callable</type>
that receive the <classname>Memcached</classname> object as its first
parameter, and <parameter>persistent_id</parameter> as its second.
alexandre-daubois marked this conversation as resolved.
Show resolved Hide resolved
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>connection_str</parameter></term>
<listitem>
<para>
<!-- TODO Document constructor params -->
This parameter is used to pass additional connection options to
the memcache servers, such as a server weight in a cluster.
</para>
</listitem>
</varlistentry>
Expand Down
Loading