/** * Execute the console command. * * @return void */ public function fire() { $path = $this->getPath(); $template = $this->option('template'); $this->generator->setOptions($this->option()); $this->printResult($this->generator->make($path, $template, $finalPath), $path, $finalPath); }
function __construct(File $file, Cache $cache) { parent::__construct($file, $cache); static::$templatesDir = 'migration/'; }