コード例 #1
0
ファイル: Forge.php プロジェクト: nova-framework/system
 /**
  * Get the forge console instance.
  *
  * @return \Nova\Console\Application
  */
 protected function getForge()
 {
     if (!is_null($this->forge)) {
         return $this->forge;
     }
     $this->app->loadDeferredProviders();
     $this->forge = ConsoleApplication::make($this->app);
     return $this->forge->boot();
 }