Exemplo n.º 1
0
 /**
  * @return ObjectStorage
  */
 public function getResult()
 {
     if (count($this->result) === 0) {
         $this->logger->info(sprintf("Command result size is %s bytes", strlen($this->rawResult)), __CLASS__);
         $this->buildResult();
     }
     return $this->result;
 }
 /**
  * @return void
  */
 protected function logToApplicationLog()
 {
     $data = array();
     $this->addTaskLoggerData($data);
     $this->logger->info(sprintf('Scheduler Task "%s" completed.', trim($this->getTaskTitle())), get_class($this), $data);
 }