protected function getReadStream(ConnectionInterface $connection) { $read = new ReadStream(); $this->addLogging($read, $connection); $read->on('invalid', $this->getOutputLogCallback($connection, 'notice', 'Parser unable to parse line: ')); return $read; }