[ Index ] |
PHP Cross Reference of YOURLS |
[Source view] [Print] [Project Stats]
This file is part of Aura for PHP.
License: | https://opensource.org/licenses/MIT MIT |
File Size: | 202 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
ExtendedPdo:: (6 methods):
__construct()
connect()
lazyConnect()
disconnect()
__debugInfo()
getPdo()
Class: ExtendedPdo - X-Ref
A lazy-connecting PDO with extended methods.__construct(string $dsn,?string $username = null,?string $password = null,array $options = [],array $queries = [],?ProfilerInterface $profiler = null) X-Ref |
Constructor. This overrides the parent so that it can take connection attributes as a constructor parameter, and set them after connection. param: string $dsn The data source name for the connection. param: string|null $username The username for the connection. param: string|null $password The password for the connection. param: array $options Driver-specific options for the connection. param: array $queries Queries to execute after the connection. param: \Aura\Sql\Profiler\ProfilerInterface|null $profiler Tracks and logs query profiles. |
connect(string $dsn,?string $username = null,?string $password = null,?array $options = null,array $queries = [],?ProfilerInterface $profiler = null) X-Ref |
No description |
lazyConnect() X-Ref |
Connects to the database. return: void |
disconnect() X-Ref |
Disconnects from the database. return: void |
__debugInfo() X-Ref |
The purpose of this method is to hide sensitive data from stack traces. return: array |
getPdo() X-Ref |
Return the inner PDO (if any) return: \PDO |
Generated: Mon Mar 31 05:10:02 2025 | Cross-referenced by PHPXref 0.7.1 |