Skip to content

Commit

Permalink
Add Isolated interface to migrate command
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver committed Oct 26, 2022
1 parent a56be42 commit ba24120
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions src/Illuminate/Contracts/Console/Isolated.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

declare(strict_types=1);

namespace Illuminate\Contracts\Console;

interface Isolated
{

}
4 changes: 2 additions & 2 deletions src/Illuminate/Database/Console/Migrations/MigrateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Illuminate\Database\Console\Migrations;

use Illuminate\Console\ConfirmableTrait;
use Illuminate\Console\View\Components\Task;
use Illuminate\Contracts\Console\Isolated;
use Illuminate\Contracts\Events\Dispatcher;
use Illuminate\Database\Events\SchemaLoaded;
use Illuminate\Database\Migrations\Migrator;
Expand All @@ -12,7 +12,7 @@
use PDOException;
use Throwable;

class MigrateCommand extends BaseCommand
class MigrateCommand extends BaseCommand implements Isolated
{
use ConfirmableTrait;

Expand Down

0 comments on commit ba24120

Please sign in to comment.