/** * {@inheritDoc} */ public function addLog($log) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addLog', array($log)); return parent::addLog($log); }
/** * Log to the Job entity. * * @param array $event */ protected function doWrite(array $event) { $this->job->addLog($this->formatter->format($event)); }