ConnectionEstablished.php
2 weeks ago
ConnectionEvent.php
2 years ago
DatabaseBusy.php
2 weeks ago
DatabaseRefreshed.php
2 years ago
MigrationEnded.php
2 years ago
MigrationEvent.php
2 years ago
MigrationStarted.php
2 years ago
MigrationsEnded.php
2 years ago
MigrationsEvent.php
2 years ago
MigrationsStarted.php
2 years ago
ModelsPruned.php
2 years ago
NoPendingMigrations.php
2 years ago
QueryExecuted.php
2 years ago
SchemaDumped.php
2 years ago
SchemaLoaded.php
2 years ago
StatementPrepared.php
2 years ago
TransactionBeginning.php
2 years ago
TransactionCommitted.php
2 years ago
TransactionCommitting.php
2 weeks ago
TransactionRolledBack.php
2 years ago
MigrationsEvent.php
26 lines
| 1 | <?php |
| 2 | |
| 3 | namespace IAWPSCOPED\Illuminate\Database\Events; |
| 4 | |
| 5 | use IAWPSCOPED\Illuminate\Contracts\Database\Events\MigrationEvent as MigrationEventContract; |
| 6 | /** @internal */ |
| 7 | abstract class MigrationsEvent implements MigrationEventContract |
| 8 | { |
| 9 | /** |
| 10 | * The migration method that was invoked. |
| 11 | * |
| 12 | * @var string |
| 13 | */ |
| 14 | public $method; |
| 15 | /** |
| 16 | * Create a new event instance. |
| 17 | * |
| 18 | * @param string $method |
| 19 | * @return void |
| 20 | */ |
| 21 | public function __construct($method) |
| 22 | { |
| 23 | $this->method = $method; |
| 24 | } |
| 25 | } |
| 26 |