芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/store.kwesioben.com/vendor/doctrine/dbal/src/Logging/Driver.php
logger = $logger; } /** * {@inheritDoc} */ public function connect( #[SensitiveParameter] array $params ) { $this->logger->info('Connecting with parameters {params}', ['params' => $this->maskPassword($params)]); return new Connection( parent::connect($params), $this->logger, ); } /** * @param array
$params Connection parameters * * @return array
*/ private function maskPassword( #[SensitiveParameter] array $params ): array { if (isset($params['password'])) { $params['password'] = '
'; } if (isset($params['url'])) { $params['url'] = '
'; } return $params; } }