1 | <?php |
||
23 | class MongoPool |
||
24 | { |
||
25 | /** |
||
26 | * Returns an array of information about all connection pools. |
||
27 | * |
||
28 | * @link http://php.net/manual/en/mongopool.info.php |
||
29 | * @return array |
||
30 | */ |
||
31 | public static function info() |
||
36 | |||
37 | /** |
||
38 | * Sets the max number of connections new pools will be able to create. |
||
39 | * |
||
40 | * @link http://php.net/manual/en/mongopool.setsize.php |
||
41 | * @param int $size |
||
42 | * @return boolean Returns the former value of pool size |
||
43 | */ |
||
44 | public static function setSize($size) |
||
49 | |||
50 | /** |
||
51 | * Get pool size for connection pools |
||
52 | * |
||
53 | * @link http://php.net/manual/en/mongopool.getsize.php |
||
54 | * @return int Returns the current pool size |
||
55 | */ |
||
56 | public static function getSize() |
||
61 | } |
||
62 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.