function PdoStore::getDriver
4 calls to PdoStore::getDriver()
- PdoStore::createTable in vendor/
symfony/ lock/ Store/ PdoStore.php - Creates the table to store lock keys which can be called once for setup.
- PdoStore::getCurrentTimestampStatement in vendor/
symfony/ lock/ Store/ PdoStore.php - Provides an SQL function to get the current timestamp regarding the current connection's driver.
- PdoStore::isTableMissing in vendor/
symfony/ lock/ Store/ PdoStore.php - PdoStore::save in vendor/
symfony/ lock/ Store/ PdoStore.php - Stores the resource if it's not locked by someone else.
File
-
vendor/
symfony/ lock/ Store/ PdoStore.php, line 212
Class
- PdoStore
- PdoStore is a PersistingStoreInterface implementation using a PDO connection.
Namespace
Symfony\Component\Lock\StoreCode
private function getDriver() : string {
return $this->driver ??= $this->getConnection()
->getAttribute(\PDO::ATTR_DRIVER_NAME);
}