class Connector (View source)
DetectsLostConnections |
PDO | createConnection(string $dsn, array $config, array $options) Create a new PDO connection. | |
array | getOptions(array $config) Get the PDO options based on the configuration. | |
array | getDefaultOptions() Get the default PDO connection options. | |
void | setDefaultOptions(array $options) Set the default PDO connection options. |
Create a new PDO connection.
Get the PDO options based on the configuration.
Get the default PDO connection options.
Set the default PDO connection options.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/Database/Connectors/Connector.html