MigrationsEvent.php 504 B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace Illuminate\Database\Events;
  3. use Illuminate\Contracts\Database\Events\MigrationEvent as MigrationEventContract;
  4. abstract class MigrationsEvent implements MigrationEventContract
  5. {
  6. /**
  7. * The migration method that was invoked.
  8. *
  9. * @var string
  10. */
  11. public $method;
  12. /**
  13. * Create a new event instance.
  14. *
  15. * @param string $method
  16. * @return void
  17. */
  18. public function __construct($method)
  19. {
  20. $this->method = $method;
  21. }
  22. }