Exemplo n.º 1
0
 public function execute($appId, AppListener $listener)
 {
     $repository = $this->repository->unInstallRepository($appId);
     $this->log->info('App UnInstalled', $repository->toArray());
     return $listener->appRedirect($repository);
 }
Exemplo n.º 2
0
 public function execute($appId, $appData, AppListener $listener)
 {
     $app = $this->repository->updateRepository($appId, $appData);
     $this->log->info('Branch Updated', $app->toArray());
     return $listener->appRedirect($app);
 }
Exemplo n.º 3
0
 public function execute($domainId, $repositoryData, AppListener $listener)
 {
     $repository = $this->repository->addNewRepository($domainId, $repositoryData);
     $this->log->info('Repository created for DomainID: ' . $domainId, $repository->toArray());
     return $listener->appRedirect($repository);
 }