\Symfony\Component\VarDumper\CasterPgSqlCaster

Casts pqsql resources to array representation.

Summary

Methods
Properties
Constants
castLargeObject()
castLink()
castResult()
No public properties found
PARAM_CODES
TRANSACTION_STATUS
RESULT_STATUS
DIAG_CODES
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

PARAM_CODES

PARAM_CODES = ['server_encoding', 'client_encoding', 'is_superuser', 'session_authorization', 'DateStyle', 'TimeZone', 'IntervalStyle', 'integer_datetimes', 'application_name', 'standard_conforming_strings']

TRANSACTION_STATUS

TRANSACTION_STATUS = [\PGSQL_TRANSACTION_IDLE => 'PGSQL_TRANSACTION_IDLE', \PGSQL_TRANSACTION_ACTIVE => 'PGSQL_TRANSACTION_ACTIVE', \PGSQL_TRANSACTION_INTRANS => 'PGSQL_TRANSACTION_INTRANS', \PGSQL_TRANSACTION_INERROR => 'PGSQL_TRANSACTION_INERROR', \PGSQL_TRANSACTION_UNKNOWN => 'PGSQL_TRANSACTION_UNKNOWN']

RESULT_STATUS

RESULT_STATUS = [\PGSQL_EMPTY_QUERY => 'PGSQL_EMPTY_QUERY', \PGSQL_COMMAND_OK => 'PGSQL_COMMAND_OK', \PGSQL_TUPLES_OK => 'PGSQL_TUPLES_OK', \PGSQL_COPY_OUT => 'PGSQL_COPY_OUT', \PGSQL_COPY_IN => 'PGSQL_COPY_IN', \PGSQL_BAD_RESPONSE => 'PGSQL_BAD_RESPONSE', \PGSQL_NONFATAL_ERROR => 'PGSQL_NONFATAL_ERROR', \PGSQL_FATAL_ERROR => 'PGSQL_FATAL_ERROR']

DIAG_CODES

DIAG_CODES = ['severity' => \PGSQL_DIAG_SEVERITY, 'sqlstate' => \PGSQL_DIAG_SQLSTATE, 'message' => \PGSQL_DIAG_MESSAGE_PRIMARY, 'detail' => \PGSQL_DIAG_MESSAGE_DETAIL, 'hint' => \PGSQL_DIAG_MESSAGE_HINT, 'statement position' => \PGSQL_DIAG_STATEMENT_POSITION, 'internal position' => \PGSQL_DIAG_INTERNAL_POSITION, 'internal query' => \PGSQL_DIAG_INTERNAL_QUERY, 'context' => \PGSQL_DIAG_CONTEXT, 'file' => \PGSQL_DIAG_SOURCE_FILE, 'line' => \PGSQL_DIAG_SOURCE_LINE, 'function' => \PGSQL_DIAG_SOURCE_FUNCTION]

Methods

castLargeObject()

castLargeObject(mixed  $lo, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

mixed $lo
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castLink()

castLink(mixed  $link, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

mixed $link
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castResult()

castResult(mixed  $result, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

mixed $result
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —