File tree 1 file changed +13
-4
lines changed
reference/memcached/memcached
1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 40
40
<varlistentry >
41
41
<term ><parameter >callback</parameter ></term >
42
42
<listitem >
43
- <para >
44
- <!-- TODO Document constructor params -->
45
- </para >
43
+ <methodsynopsis >
44
+ <type >void</type ><methodname ><replaceable >callback</replaceable ></methodname >
45
+ <methodparam ><type >Memcached</type ><parameter >memcached</parameter ></methodparam >
46
+ <methodparam ><type >string</type ><parameter >persistent_id</parameter ></methodparam >
47
+ </methodsynopsis >
48
+ <simpara >
49
+ The <parameter >callback</parameter > parameter is called when the
50
+ connection is established. It should be a valid PHP <type >callable</type >
51
+ that receive the <classname >Memcached</classname > object as its first
52
+ parameter, and <parameter >persistent_id</parameter > as its second.
53
+ </simpara >
46
54
</listitem >
47
55
</varlistentry >
48
56
<varlistentry >
49
57
<term ><parameter >connection_str</parameter ></term >
50
58
<listitem >
51
59
<para >
52
- <!-- TODO Document constructor params -->
60
+ This parameter is used to pass additional connection options to
61
+ the memcache servers, such as a server weight in a cluster.
53
62
</para >
54
63
</listitem >
55
64
</varlistentry >
You can’t perform that action at this time.
0 commit comments