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