Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 621
Zeile 5... Zeile 5...
5
use Doctrine\DBAL\Driver\API\ExceptionConverter;
5
use Doctrine\DBAL\Driver\API\ExceptionConverter;
6
use Doctrine\DBAL\Driver\Connection as DriverConnection;
6
use Doctrine\DBAL\Driver\Connection as DriverConnection;
7
use Doctrine\DBAL\Driver\Exception;
7
use Doctrine\DBAL\Driver\Exception;
8
use Doctrine\DBAL\Platforms\AbstractPlatform;
8
use Doctrine\DBAL\Platforms\AbstractPlatform;
9
use Doctrine\DBAL\Schema\AbstractSchemaManager;
9
use Doctrine\DBAL\Schema\AbstractSchemaManager;
-
 
10
use SensitiveParameter;
Zeile 10... Zeile 11...
10
 
11
 
11
/**
12
/**
12
 * Driver interface.
13
 * Driver interface.
-
 
14
 * Interface that all DBAL drivers must implement.
-
 
15
 *
13
 * Interface that all DBAL drivers must implement.
16
 * @psalm-import-type Params from DriverManager
14
 */
17
 */
15
interface Driver
18
interface Driver
16
{
19
{
17
    /**
20
    /**
18
     * Attempts to create a connection with the database.
21
     * Attempts to create a connection with the database.
-
 
22
     *
19
     *
23
     * @param array<string, mixed> $params All connection parameters.
20
     * @param mixed[] $params All connection parameters.
24
     * @psalm-param Params $params All connection parameters.
21
     *
25
     *
22
     * @return DriverConnection The database connection.
26
     * @return DriverConnection The database connection.
23
     *
27
     *
24
     * @throws Exception
28
     * @throws Exception
25
     */
29
     */
-
 
30
    public function connect(
-
 
31
        #[SensitiveParameter]
-
 
32
        array $params
Zeile 26... Zeile 33...
26
    public function connect(array $params);
33
    );
27
 
34
 
28
    /**
35
    /**
29
     * Gets the DatabasePlatform instance that provides all the metadata about
36
     * Gets the DatabasePlatform instance that provides all the metadata about