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