/** * Log a message to this writer. * * @param array $event log data event * @return void */ public function write(array $event) { if (!$this->isEnabled()) { return; } parent::write($event); }
/** * @param string $file * @param string $content * * @throws \Exception * @return void */ public function write($file, $content) { if ($this->contentWithPhpTags) { $content = '<?php' . PHP_EOL . $content; } parent::write($file, $content); }