[ 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: | 163 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
ExtendedPdo:: (5 methods):
__construct()
connect()
disconnect()
__debugInfo()
getPdo()
Class: ExtendedPdo - X-Ref
A lazy-connecting PDO with extended methods.__construct($dsn,$username = null,$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 $username The username for the connection. param: string $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: ProfilerInterface $profiler Tracks and logs query profiles. |
connect() X-Ref |
Connects to the database. return: null |
disconnect() X-Ref |
Disconnects from the database. return: null |
__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: Tue Jan 21 05:10:11 2025 | Cross-referenced by PHPXref 0.7.1 |