protected function createObject($path, $format, $throwException = true)
 {
     $options = array('throwException' => $throwException);
     $factory = new WriterFactory();
     return $factory->createGenericFileWriter($path, $format, $options);
 }
 protected function createObject($path, array $options = array())
 {
     $factory = new WriterFactory();
     return $factory->createLineWriter($path, $options);
 }