| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 12 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 54 | View Code Duplication | protected function createSeederFile()  | 
            |
| 55 |     { | 
            ||
| 56 |         $path = $this->config->getSeedDirectory('DatabaseSeeder.php'); | 
            ||
| 57 | |||
| 58 |         if (!file_exists($path)) { | 
            ||
| 59 | $stub = file_get_contents(__DIR__.'/Stubs/seeder.stub');  | 
            ||
| 60 | |||
| 61 | $this->writeFile(  | 
            ||
| 62 |                 $this->config->getSeedDirectory('DatabaseSeeder.php'), | 
            ||
| 63 | $stub  | 
            ||
| 64 | );  | 
            ||
| 65 | |||
| 66 |             $this->output->writeInfo('Created DatabaseSeeder file.'); | 
            ||
| 74 |