| Total Complexity | 6 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class MysqlConnection extends \Illuminate\Database\MySqlConnection |
||
| 8 | { |
||
| 9 | 40 | public function __construct($pdo, $database = '', $tablePrefix = '', array $config = []) |
|
| 28 | } |
||
| 29 | } |
||
| 30 | 40 | } |
|
| 31 | |||
| 32 | 13 | public function getSchemaBuilder() |
|
| 33 | { |
||
| 34 | 13 | if (is_null($this->schemaGrammar)) { |
|
| 35 | 13 | $this->useDefaultSchemaGrammar(); |
|
| 36 | } |
||
| 37 | |||
| 38 | 13 | return new Schema\Builder($this); |
|
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Get the default schema grammar instance. |
||
| 43 | * |
||
| 44 | * @return \Illuminate\Database\Grammar |
||
| 45 | */ |
||
| 46 | 13 | protected function getDefaultSchemaGrammar() |
|
| 49 | } |
||
| 50 | } |
||
| 51 |