stubs
3 weeks ago
DatabaseMigrationRepository.php
3 weeks ago
Migration.php
2 years ago
MigrationCreator.php
3 weeks ago
MigrationRepositoryInterface.php
2 years ago
Migrator.php
3 weeks ago
Migration.php
30 lines
| 1 | <?php |
| 2 | |
| 3 | namespace IAWPSCOPED\Illuminate\Database\Migrations; |
| 4 | |
| 5 | /** @internal */ |
| 6 | abstract class Migration |
| 7 | { |
| 8 | /** |
| 9 | * The name of the database connection to use. |
| 10 | * |
| 11 | * @var string|null |
| 12 | */ |
| 13 | protected $connection; |
| 14 | /** |
| 15 | * Enables, if supported, wrapping the migration within a transaction. |
| 16 | * |
| 17 | * @var bool |
| 18 | */ |
| 19 | public $withinTransaction = \true; |
| 20 | /** |
| 21 | * Get the migration connection name. |
| 22 | * |
| 23 | * @return string|null |
| 24 | */ |
| 25 | public function getConnection() |
| 26 | { |
| 27 | return $this->connection; |
| 28 | } |
| 29 | } |
| 30 |