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

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