| Conditions | 3 |
| Paths | 3 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 36 | public function fire() |
||
| 37 | { |
||
| 38 | $files = $this->laravel->make('files'); |
||
| 39 | |||
| 40 | foreach ($files->files($this->getPackageMigrationsPath()) as $file) { |
||
| 41 | if (!file_exists($destination = $this->makeMigrationPath($file))) { |
||
| 42 | $files->copy($file, $destination); |
||
| 43 | |||
| 44 | $this->info("Migration created: $destination"); |
||
| 45 | } |
||
| 46 | } |
||
| 47 | } |
||
| 48 | |||
| 85 |