comparison core/lib/Drupal/Core/Database/Database.php @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents a9cd425dd02b
children
comparison
equal deleted inserted replaced
4:a9cd425dd02b 5:12f9dff5fda9
38 * An nested array of all active connections. It is keyed by database name 38 * An nested array of all active connections. It is keyed by database name
39 * and target. 39 * and target.
40 * 40 *
41 * @var array 41 * @var array
42 */ 42 */
43 static protected $connections = []; 43 protected static $connections = [];
44 44
45 /** 45 /**
46 * A processed copy of the database connection information from settings.php. 46 * A processed copy of the database connection information from settings.php.
47 * 47 *
48 * @var array 48 * @var array
49 */ 49 */
50 static protected $databaseInfo = []; 50 protected static $databaseInfo = [];
51 51
52 /** 52 /**
53 * A list of key/target credentials to simply ignore. 53 * A list of key/target credentials to simply ignore.
54 * 54 *
55 * @var array 55 * @var array
56 */ 56 */
57 static protected $ignoreTargets = []; 57 protected static $ignoreTargets = [];
58 58
59 /** 59 /**
60 * The key of the currently active database connection. 60 * The key of the currently active database connection.
61 * 61 *
62 * @var string 62 * @var string
63 */ 63 */
64 static protected $activeKey = 'default'; 64 protected static $activeKey = 'default';
65 65
66 /** 66 /**
67 * An array of active query log objects. 67 * An array of active query log objects.
68 * 68 *
69 * Every connection has one and only one logger object for all targets and 69 * Every connection has one and only one logger object for all targets and
73 * '$db_key' => DatabaseLog object. 73 * '$db_key' => DatabaseLog object.
74 * ); 74 * );
75 * 75 *
76 * @var array 76 * @var array
77 */ 77 */
78 static protected $logs = []; 78 protected static $logs = [];
79 79
80 /** 80 /**
81 * Starts logging a given logging key on the specified connection. 81 * Starts logging a given logging key on the specified connection.
82 * 82 *
83 * @param string $logging_key 83 * @param string $logging_key