src/Imap.php
protected function getLine()
    {
        $line = fgets($this->socket);

        if ($line === false) {
            $this->disconnect();
        }

        $this->debug('Receiving: '.$line);

        return $line;
    }
protected function getLine()
    {
        $line = fgets($this->socket);

        if ($line === false) {
            $this->disconnect();
        }

        $this->debug('Receiving: '.$line);

        return $line;
    }
protected function getLine ( ) { $ line = fgets ( $ this -> socket ) ; if ( $ line === false ) { $ this -> disconnect ( ) ; } $ this -> debug ( 'Receiving: ' . $ line ) ; return $ line ; }
Returns the response one line at a time

@return string
Returns the response one line at a time