Skip to content

Instantly share code, notes, and snippets.

@plcosta
Created November 19, 2015 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save plcosta/1283ef7e9dd0c4ea6d44 to your computer and use it in GitHub Desktop.
Save plcosta/1283ef7e9dd0c4ea6d44 to your computer and use it in GitHub Desktop.
<?php
namespace LaravelDoctrine\ORM\Configuration\Connections;
use Illuminate\Support\Str;
class OpensqlConnection extends Connection
{
/**
* @param array $settings
*
* @return array
*/
public function resolve(array $settings = [])
{
return [
'driver' => 'pdo_open',
'path' => array_get($settings, 'path')
];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment