Total Complexity | 3 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | trait Migrationable |
||
10 | { |
||
11 | protected $connection; |
||
12 | |||
13 | protected $table; |
||
14 | |||
15 | 8 | public function __construct() |
|
16 | { |
||
17 | 8 | $this->connection = config('short_url.connection'); |
|
18 | |||
19 | 8 | $this->table = config('short_url.table', 'shorts'); |
|
20 | 8 | } |
|
21 | |||
22 | 8 | protected function createTable(Closure $callback): void |
|
25 | 8 | } |
|
26 | |||
27 | 8 | protected function tableConnection(): Builder |
|
30 | } |
||
31 | } |
||
32 |