Example #1
0
 /**
  * @return Application
  */
 public function getApplication()
 {
     if (null === $this->application) {
         $this->setApplication(new Application($this->getConfig(), $this->getProcess(), null, $this->container->getJobLogger()));
     }
     try {
         $this->application->getWorker()->getWorker();
     } catch (Exception $e) {
         null;
     }
     return $this->application;
 }