Пример #1
0
 /**
  * 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);
 }
Пример #2
0
 function __construct(File $file, Cache $cache)
 {
     parent::__construct($file, $cache);
     static::$templatesDir = 'migration/';
 }