\Symfony\Component\VarDumper\CasterPdoCaster

Casts PDO related classes to array representation.

Summary

Methods
Properties
Constants
castPdo()
castPdoStatement()
No public properties found
PDO_ATTRIBUTES
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

PDO_ATTRIBUTES

PDO_ATTRIBUTES = ['CASE' => [\PDO::CASE_LOWER => 'LOWER', \PDO::CASE_NATURAL => 'NATURAL', \PDO::CASE_UPPER => 'UPPER'], 'ERRMODE' => [\PDO::ERRMODE_SILENT => 'SILENT', \PDO::ERRMODE_WARNING => 'WARNING', \PDO::ERRMODE_EXCEPTION => 'EXCEPTION'], 'TIMEOUT', 'PREFETCH', 'AUTOCOMMIT', 'PERSISTENT', 'DRIVER_NAME', 'SERVER_INFO', 'ORACLE_NULLS' => [\PDO::NULL_NATURAL => 'NATURAL', \PDO::NULL_EMPTY_STRING => 'EMPTY_STRING', \PDO::NULL_TO_STRING => 'TO_STRING'], 'CLIENT_VERSION', 'SERVER_VERSION', 'STATEMENT_CLASS', 'EMULATE_PREPARES', 'CONNECTION_STATUS', 'STRINGIFY_FETCHES', 'DEFAULT_FETCH_MODE' => [\PDO::FETCH_ASSOC => 'ASSOC', \PDO::FETCH_BOTH => 'BOTH', \PDO::FETCH_LAZY => 'LAZY', \PDO::FETCH_NUM => 'NUM', \PDO::FETCH_OBJ => 'OBJ']]

Methods

castPdo()

castPdo(\PDO  $c, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

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

Returns

mixed —

castPdoStatement()

castPdoStatement(\PDOStatement  $c, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

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

Returns

mixed —