예제 #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));
 }