Esempio n. 1
0
 /**
  * @expectedException \Box\Spout\Common\Exception\UnsupportedTypeException
  *
  * @return void
  */
 public function testCreateWriterShouldThrowWithUnsupportedType()
 {
     WriterFactory::create('unsupportedType');
 }
Esempio n. 2
0
File: client.php Progetto: JJmaz/dp
<?php

include_once './Factory/WriterFactory.class.php';
$php = WriterFactory::create('php');
//$txt = WriterFactory::create('txt');
echo $php->writeHelloWorld();