示例#1
0
 /**
  * {@inheritDoc}
  */
 public function addLog($log)
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'addLog', array($log));
     return parent::addLog($log);
 }
示例#2
0
文件: Job.php 项目: patrova/omeka-s
 /**
  * Log to the Job entity.
  *
  * @param array $event
  */
 protected function doWrite(array $event)
 {
     $this->job->addLog($this->formatter->format($event));
 }