Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PdoStore.php

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\Store

Code

private function getDriver() : string {
    return $this->driver ??= $this->getConnection()
        ->getAttribute(\PDO::ATTR_DRIVER_NAME);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal