public function fire() { $path = $this->getPath($this->argument('connection')); if ($path) { $this->tailLogFile($path, $this->argument('connection')); } else { $this->error('Could not determine path to log file.'); } }