Ejemplo n.º 1
0
 public function execute(InputInterface $input, OutputInterface $output)
 {
     try {
         $objSfInbound = new SfInboundService($this->getContainer(), $output);
         $objSfInbound->run();
     } catch (\Exception $objException) {
         $this->output->writeln($objException->getMessage());
     }
 }
 /**
  * Get Order
  * @Rest\Get( "/sync/database" )
  */
 public function getDatabaseSyncAction()
 {
     $objSfInbound = new SfInboundService($this->container);
     $objSfInbound->run();
     return ['status_updates' => $objSfInbound->getOutput()];
 }