Quellcode durchsuchen

Add "path" in phpdoc of connections supporting UNIX domain sockets.

Daniele Alessandri vor 11 Jahren
Ursprung
Commit
3fbc012c03

+ 1 - 0
lib/Predis/Connection/PhpiredisSocketConnection.php

@@ -34,6 +34,7 @@ use Predis\Response;
  *  - scheme: it can be either 'tcp' or 'unix'.
  *  - host: hostname or IP address of the server.
  *  - port: TCP port of the server.
+ *  - path: path of a UNIX domain socket when scheme is 'unix'.
  *  - timeout: timeout to perform the connection.
  *  - read_write_timeout: timeout of read / write operations.
  *

+ 1 - 0
lib/Predis/Connection/PhpiredisStreamConnection.php

@@ -34,6 +34,7 @@ use Predis\Response;
  *  - scheme: it can be either 'tcp' or 'unix'.
  *  - host: hostname or IP address of the server.
  *  - port: TCP port of the server.
+ *  - path: path of a UNIX domain socket when scheme is 'unix'.
  *  - timeout: timeout to perform the connection.
  *  - read_write_timeout: timeout of read / write operations.
  *  - async_connect: performs the connection asynchronously.

+ 1 - 0
lib/Predis/Connection/StreamConnection.php

@@ -21,6 +21,7 @@ use Predis\Response;
  *  - scheme: it can be either 'tcp' or 'unix'.
  *  - host: hostname or IP address of the server.
  *  - port: TCP port of the server.
+ *  - path: path of a UNIX domain socket when scheme is 'unix'.
  *  - timeout: timeout to perform the connection.
  *  - read_write_timeout: timeout of read / write operations.
  *  - async_connect: performs the connection asynchronously.