diff options
Diffstat (limited to 'REFLECTION')
-rw-r--r-- | REFLECTION | 187 |
1 files changed, 116 insertions, 71 deletions
@@ -1,4 +1,4 @@ -Extension [ <persistent> extension #120 openswoole version 22.0.0 ] { +Extension [ <persistent> extension #88 openswoole version 22.1.0 ] { - Dependencies { Dependency [ swoole (Conflicts) ] @@ -23,10 +23,10 @@ Extension [ <persistent> extension #120 openswoole version 22.0.0 ] { } - Constants [357] { - Constant [ string OPENSWOOLE_VERSION ] { 22.0.0 } - Constant [ int OPENSWOOLE_VERSION_ID ] { 220000 } + Constant [ string OPENSWOOLE_VERSION ] { 22.1.0 } + Constant [ int OPENSWOOLE_VERSION_ID ] { 220100 } Constant [ int OPENSWOOLE_MAJOR_VERSION ] { 22 } - Constant [ int OPENSWOOLE_MINOR_VERSION ] { 0 } + Constant [ int OPENSWOOLE_MINOR_VERSION ] { 1 } Constant [ int OPENSWOOLE_RELEASE_VERSION ] { 0 } Constant [ string OPENSWOOLE_EXTRA_VERSION ] { } Constant [ int SWOOLE_SOCK_TCP ] { 1 } @@ -732,7 +732,7 @@ Extension [ <persistent> extension #120 openswoole version 22.0.0 ] { } } - - Classes [49] { + - Classes [50] { Class [ <internal:openswoole> final class OpenSwoole\Constant ] { - Constants [411] { @@ -7552,16 +7552,7 @@ Extension [ <persistent> extension #120 openswoole version 22.0.0 ] { Class [ <internal:openswoole> class OpenSwoole\Coroutine\PostgreSQL ] { - - Constants [17] { - Constant [ public int PGSQL_ASSOC ] { 1 } - Constant [ public int PGSQL_NUM ] { 2 } - Constant [ public int PGSQL_BOTH ] { 3 } - Constant [ public int PGRES_EMPTY_QUERY ] { 0 } - Constant [ public int PGRES_COMMAND_OK ] { 1 } - Constant [ public int PGRES_TUPLES_OK ] { 2 } - Constant [ public int PGRES_BAD_RESPONSE ] { 5 } - Constant [ public int PGRES_NONFATAL_ERROR ] { 6 } - Constant [ public int PGRES_FATAL_ERROR ] { 7 } + - Constants [8] { Constant [ public int PG_CONNECTION_OK ] { 0 } Constant [ public int PG_CONNECTION_BAD ] { 1 } Constant [ public int PG_CONNECTION_STARTED ] { 2 } @@ -7586,7 +7577,7 @@ Extension [ <persistent> extension #120 openswoole version 22.0.0 ] { Property [ public $notices = NULL ] } - - Methods [20] { + - Methods [14] { Method [ <internal:openswoole, ctor> public method __construct ] { - Parameters [0] { @@ -7595,144 +7586,198 @@ Extension [ <persistent> extension #120 openswoole version 22.0.0 ] { Method [ <internal:openswoole> public method connect ] { - - Parameters [1] { - Parameter #0 [ <required> $conninfo ] + - Parameters [2] { + Parameter #0 [ <required> string $conninfo ] + Parameter #1 [ <optional> float $timeout = 2 ] } + - Return [ bool ] } Method [ <internal:openswoole> public method query ] { - Parameters [1] { - Parameter #0 [ <optional> $query = <default> ] + Parameter #0 [ <required> string $query ] } + - Return [ OpenSwoole\Coroutine\PostgreSQLStatement|false ] } Method [ <internal:openswoole> public method prepare ] { - - Parameters [2] { - Parameter #0 [ <required> $stmtname ] - Parameter #1 [ <required> $query ] + - Parameters [1] { + Parameter #0 [ <required> string $query ] } + - Return [ OpenSwoole\Coroutine\PostgreSQLStatement|false ] } - Method [ <internal:openswoole> public method execute ] { + Method [ <internal:openswoole> public method metaData ] { - - Parameters [2] { - Parameter #0 [ <required> $stmtname ] - Parameter #1 [ <required> $pv_param_arr ] + - Parameters [1] { + Parameter #0 [ <required> string $table_name ] } + - Return [ array|false ] } - Method [ <internal:openswoole> public method fetchAll ] { + Method [ <internal:openswoole> public method escape ] { - - Parameters [2] { - Parameter #0 [ <optional> $result = <default> ] - Parameter #1 [ <optional> $result_type = <default> ] + - Parameters [1] { + Parameter #0 [ <required> string $string ] } + - Return [ string|false ] } - Method [ <internal:openswoole> public method affectedRows ] { + Method [ <internal:openswoole> public method escapeLiteral ] { - Parameters [1] { - Parameter #0 [ <optional> $result = <default> ] + Parameter #0 [ <required> string $string ] } + - Return [ string|false ] } - Method [ <internal:openswoole> public method numRows ] { + Method [ <internal:openswoole> public method escapeIdentifier ] { - Parameters [1] { - Parameter #0 [ <optional> $result = <default> ] + Parameter #0 [ <required> string $string ] } + - Return [ string|false ] } - Method [ <internal:openswoole> public method fieldCount ] { + Method [ <internal:openswoole> public method createLOB ] { - - Parameters [1] { - Parameter #0 [ <optional> $result = <default> ] + - Parameters [0] { } + - Return [ int|false ] } - Method [ <internal:openswoole> public method metaData ] { + Method [ <internal:openswoole> public method openLOB ] { + + - Parameters [2] { + Parameter #0 [ <required> int $oid ] + Parameter #1 [ <optional> string $mode = "rb" ] + } + } + + Method [ <internal:openswoole> public method unlinkLOB ] { - Parameters [1] { - Parameter #0 [ <required> $table_name ] + Parameter #0 [ <required> int $oid ] } + - Return [ bool ] } - Method [ <internal:openswoole> public method escape ] { + Method [ <internal:openswoole> public method status ] { + + - Parameters [0] { + } + - Return [ int|false ] + } + + Method [ <internal:openswoole> public method reset ] { - Parameters [1] { - Parameter #0 [ <required> $string ] + Parameter #0 [ <optional> float $timeout = 0 ] } + - Return [ bool ] } - Method [ <internal:openswoole> public method escapeLiteral ] { + Method [ <internal:openswoole> public method __destruct ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:openswoole> class OpenSwoole\Coroutine\PostgreSQLStatement ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [5] { + Property [ public $error = NULL ] + Property [ public $errCode = 0 ] + Property [ public $resultStatus = 0 ] + Property [ public $resultDiag = NULL ] + Property [ public $notices = NULL ] + } + + - Methods [9] { + Method [ <internal:openswoole> public method execute ] { - Parameters [1] { - Parameter #0 [ <required> $string ] + Parameter #0 [ <optional> array $params = [] ] } + - Return [ bool ] } - Method [ <internal:openswoole> public method escapeIdentifier ] { + Method [ <internal:openswoole> public method fetchAll ] { - Parameters [1] { - Parameter #0 [ <required> $string ] + Parameter #0 [ <optional> int $result_type = OPENSWOOLE_PGSQL_ASSOC ] } + - Return [ array|false ] } - Method [ <internal:openswoole> public method fetchObject ] { + Method [ <internal:openswoole> public method affectedRows ] { - - Parameters [5] { - Parameter #0 [ <required> $result ] - Parameter #1 [ <optional> $row = <default> ] - Parameter #2 [ <optional> $class_name = <default> ] - Parameter #3 [ <optional> $l = <default> ] - Parameter #4 [ <optional> $ctor_params = <default> ] + - Parameters [0] { } + - Return [ int|false ] } - Method [ <internal:openswoole> public method fetchAssoc ] { + Method [ <internal:openswoole> public method numRows ] { - - Parameters [2] { - Parameter #0 [ <required> $result ] - Parameter #1 [ <optional> $row = <default> ] + - Parameters [0] { } + - Return [ int|false ] } - Method [ <internal:openswoole> public method fetchArray ] { + Method [ <internal:openswoole> public method fieldCount ] { - - Parameters [3] { - Parameter #0 [ <required> $result ] - Parameter #1 [ <optional> $row = <default> ] - Parameter #2 [ <optional> $result_type = <default> ] + - Parameters [0] { } + - Return [ int|false ] } - Method [ <internal:openswoole> public method fetchRow ] { + Method [ <internal:openswoole> public method fetchObject ] { - Parameters [3] { - Parameter #0 [ <required> $result ] - Parameter #1 [ <optional> $row = <default> ] - Parameter #2 [ <optional> $result_type = <default> ] + Parameter #0 [ <optional> int $row = null ] + Parameter #1 [ <optional> ?string $class_name = null ] + Parameter #2 [ <optional> array $ctor_params = [] ] } + - Return [ object|false ] } - Method [ <internal:openswoole> public method status ] { + Method [ <internal:openswoole> public method fetchAssoc ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <optional> int $row = null ] } + - Return [ array|false ] } - Method [ <internal:openswoole> public method reset ] { + Method [ <internal:openswoole> public method fetchArray ] { - - Parameters [0] { + - Parameters [2] { + Parameter #0 [ <optional> int $row = null ] + Parameter #1 [ <optional> int $result_type = OPENSWOOLE_PGSQL_BOTH ] } + - Return [ array|false ] } - Method [ <internal:openswoole> public method __destruct ] { + Method [ <internal:openswoole> public method fetchRow ] { - - Parameters [0] { + - Parameters [2] { + Parameter #0 [ <optional> int $row = null ] + Parameter #1 [ <optional> int $result_type = OPENSWOOLE_PGSQL_NUM ] } + - Return [ array|false ] } } } |