protected function parseMultiLine($line, \SplFileObject $file, &$lineBreaks)
    {
        while ($this->isMultiLine($line) && $file->valid()) {
            $lineBreaks[] = strlen($line);

            $line2 = $file->getCurrentLine();

            // trim the ending slash
            $line = rtrim($line, '\\');
            // concatenate with next line
            $line = trim($line . $line2);

        }
        return $line;
    }
protected function parseMultiLine($line, \SplFileObject $file, &$lineBreaks)
    {
        while ($this->isMultiLine($line) && $file->valid()) {
            $lineBreaks[] = strlen($line);

            $line2 = $file->getCurrentLine();

            // trim the ending slash
            $line = rtrim($line, '\\');
            // concatenate with next line
            $line = trim($line . $line2);

        }
        return $line;
    }
protected function parseMultiLine ( $ line , \ SplFileObject $ file , & $ lineBreaks ) { while ( $ this -> isMultiLine ( $ line ) && $ file -> valid ( ) ) { $ lineBreaks [ ] = strlen ( $ line ) ; $ line2 = $ file -> getCurrentLine ( ) ; // trim the ending slash $ line = rtrim ( $ line , '\\' ) ; // concatenate with next line $ line = trim ( $ line . $ line2 ) ; } return $ line ; }
Parse a Multi Line

@param $line
@param \SplFileObject $file
@param $lineBreaks
@return string
Parse a Multi Line