protected function readNext($handle, $chunkSize)
    {
        if (feof($handle)) {
            return null;
        }

        $line = $this->readLine($handle, $chunkSize);

        return $line === '' ? $this->readNext($handle, $chunkSize) : $line;
    }
protected function readNext($handle, $chunkSize)
    {
        if (feof($handle)) {
            return null;
        }

        $line = $this->readLine($handle, $chunkSize);

        return $line === '' ? $this->readNext($handle, $chunkSize) : $line;
    }
protected function readNext ( $ handle , $ chunkSize ) { if ( feof ( $ handle ) ) { return null ; } $ line = $ this -> readLine ( $ handle , $ chunkSize ) ; return $ line === '' ? $ this -> readNext ( $ handle , $ chunkSize ) : $ line ; }
Read the next line and return it. Skip empty lines. The line breaks
will be removed.

@param resource $handle
@param int      $chunkSize

@return string|null
Read the next line and return it . Skip empty lines . The line breaks will be removed .