@@ -79,7 +79,6 @@ |
||
79 | 79 | /** |
80 | 80 | * 6. if needed change the connection using the method change |
81 | 81 | * - $connectionManager::change('local'); |
82 | - |
|
83 | 82 | * @return Connection |
84 | 83 | */ |
85 | 84 | $connectionManager::change('local'); |
@@ -37,12 +37,12 @@ |
||
37 | 37 | |
38 | 38 | |
39 | 39 | /** |
40 | - * Add the configurations using the method addConfig, accepts various configurations |
|
41 | - * Arguments: |
|
42 | - * - $connection->addConfig('driver', 'user', 'password', 'host', 'database', 'connectionName', 'port'); |
|
43 | - * - Driver options ['mysql', 'pgsql'] -- Mysql, postgres |
|
44 | - * @return Connection |
|
45 | - */ |
|
40 | + * Add the configurations using the method addConfig, accepts various configurations |
|
41 | + * Arguments: |
|
42 | + * - $connection->addConfig('driver', 'user', 'password', 'host', 'database', 'connectionName', 'port'); |
|
43 | + * - Driver options ['mysql', 'pgsql'] -- Mysql, postgres |
|
44 | + * @return Connection |
|
45 | + */ |
|
46 | 46 | |
47 | 47 | $connectionManager = ConnectionManager::initialize(function ($connection) { |
48 | 48 | $connection->addConfig('mysql', 'root', '', 'localhost', 'local_controlook', 'local', 3306); |