src/main/php/filter/FilteredOutputStream.php
public function writeLines(array $bytes): int
    {
        $bytesWritten = 0;
        foreach ($bytes as $line) {
            $bytesWritten += $this->writeLine($line);
        }

        return $bytesWritten;
    }
public function writeLines(array $bytes): int
    {
        $bytesWritten = 0;
        foreach ($bytes as $line) {
            $bytesWritten += $this->writeLine($line);
        }

        return $bytesWritten;
    }
public function writeLines ( array $ bytes ) : int { $ bytesWritten = 0 ; foreach ( $ bytes as $ line ) { $ bytesWritten += $ this -> writeLine ( $ line ) ; } return $ bytesWritten ; }
writes given bytes and appends a line break after each one

@param   string[]  $bytes
@return  int       amount of written bytes
@since   3.2.0
writes given bytes and appends a line break after each one