protected function toCheckableLines($firstLines)
    {

        $lines = explode("\n", $this->charsetGuard->withoutBOM($firstLines));

        if (count($lines) < 2) {
            throw new DetectionFailedException('No lines found to detect separator');
        }

        return $lines;
    }
protected function toCheckableLines($firstLines)
    {

        $lines = explode("\n", $this->charsetGuard->withoutBOM($firstLines));

        if (count($lines) < 2) {
            throw new DetectionFailedException('No lines found to detect separator');
        }

        return $lines;
    }
protected function toCheckableLines ( $ firstLines ) { $ lines = explode ( "\n" , $ this -> charsetGuard -> withoutBOM ( $ firstLines ) ) ; if ( count ( $ lines ) < 2 ) { throw new DetectionFailedException ( 'No lines found to detect separator' ) ; } return $ lines ; }
Read each line into an array. If there is only one or zero lines fail.

@param string $firstLines

@return array
Read each line into an array . If there is only one or zero lines fail .