Function add "writeItems" for DoctrineWriter.php

I just added a new function "writeItems" to write multiple items at once from the reader.