[ Index ]

PHP Cross Reference of YOURLS

title

Body

[close]

/includes/vendor/aura/sql/src/ -> DecoratedPdo.php (summary)

This file is part of Aura for PHP.

License: https://opensource.org/licenses/MIT MIT
File Size: 86 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

DecoratedPdo:: (4 methods):
  __construct()
  connect()
  lazyConnect()
  disconnect()


Class: DecoratedPdo  - X-Ref

Decorates an existing PDO instance with the extended methods.

__construct(PDO $pdo, ?ProfilerInterface $profiler = null)   X-Ref
Constructor.

This overrides the parent so that it can take an existing PDO instance
and decorate it with the extended methods.

param: PDO $pdo An existing PDO instance to decorate.
param: ProfilerInterface|null $profiler Tracks and logs query profiles.

connect(string $dsn,?string $username = null,?string $password = null,?array $options = null,?ProfilerInterface $profiler = null)   X-Ref
No description

lazyConnect()   X-Ref
Connects to the database.

return: void

disconnect()   X-Ref
Disconnects from the database; disallowed with decorated PDO connections.

return: void



Generated: Mon Mar 31 05:10:02 2025 Cross-referenced by PHPXref 0.7.1