Set the PDO database connection
Usage
$backup->setDatabase($database);
Arguments
Name | Type(s) | Description |
---|---|---|
database | \PDO, WireDatabasePDO |
Exceptions
Method can throw exceptions on error:
\PDOException
- on invalid connection
$backup methods and properties
API reference based on ProcessWire core version 3.0.236