1 | <?php |
||
8 | class Doctrine2PersistenceConfigurator extends PersistenceConfigurator |
||
9 | { |
||
10 | /** |
||
11 | * The connection parameters are the same as described in the Doctrine DBAL documentation |
||
12 | * |
||
13 | * @see http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html |
||
14 | * |
||
15 | * @param array $connectionParameters |
||
16 | * |
||
17 | * @return Doctrine2PersistenceConfigurator |
||
18 | */ |
||
19 | 1 | public function useConnectionParameters(array $connectionParameters) |
|
24 | |||
25 | /** |
||
26 | * Instead of the connection parameters one can use an already set up connection object. |
||
27 | * |
||
28 | * @param Connection $dbalConnection |
||
29 | * |
||
30 | * @return Doctrine2PersistenceConfigurator |
||
31 | */ |
||
32 | 1 | public function useConnection(Connection $dbalConnection) |
|
37 | |||
38 | /** |
||
39 | * @param string $tableName |
||
40 | * |
||
41 | * @return Doctrine2PersistenceConfigurator |
||
42 | */ |
||
43 | 1 | public function useOutboxMessagesTableName($tableName) |
|
48 | |||
49 | /** |
||
50 | * @param string $tableName |
||
51 | * |
||
52 | * @return Doctrine2PersistenceConfigurator |
||
53 | */ |
||
54 | 1 | public function useOutboxEndpointsTableName($tableName) |
|
59 | } |
||
60 |