Lines Matching defs:dsn
38 * @param string|null $dsn
43 public function getPDO($dsn = null, $user = null, $pass = null)
45 $dsn = $dsn ?: $this->getConf('dsn');
48 $conid = md5($dsn . $user . $pass);
58 $this->pdo[$conid] = new PDO($dsn, $user, $pass, $opts);
76 [$dsn, $user, $pass] = $this->getDSN($dsnalias);
77 $pdo = $this->getPDO($dsn, $user, $pass);
158 $this->getConf('dsn'),
170 return [$aliases[$alias]['dsn'], $aliases[$alias]['user'], $aliases[$alias]['pass']];
192 'dsn' => $parts[1],
202 'dsn' => $parts[1],