Example #1
0
 public function __construct($app)
 {
     $this->app = $app;
     $this->consoleApp = new Application();
     $this->consoleApp->setApp($app);
     $this->consoleApp->setCatchExceptions(false);
     $this->consoleApp->addTasks([new GenerateTask(), new Boris\InitializeTask(), new CompileTask(), new MigrateTask(), new CreateDatabaseTask(), new SeedTask(), new DumpTask(), new TestTask(), new RenameTask()]);
 }