src/mako/redis/Connection.php
public function readLine(): string
	{
		$line = fgets($this->connection);

		if($line === false || $line === '')
		{
			throw new RedisException($this->appendReadErrorReason('Failed to read line from the server.'));
		}

		return $line;
	}
public function readLine(): string
	{
		$line = fgets($this->connection);

		if($line === false || $line === '')
		{
			throw new RedisException($this->appendReadErrorReason('Failed to read line from the server.'));
		}

		return $line;
	}
public function readLine ( ) : string { $ line = fgets ( $ this -> connection ) ; if ( $ line === false || $ line === '' ) { throw new RedisException ( $ this -> appendReadErrorReason ( 'Failed to read line from the server.' ) ) ; } return $ line ; }
Gets line from the server.

@throws \mako\redis\RedisException
@return string
Gets line from the server .