19 lines
425 B
Plaintext
19 lines
425 B
Plaintext
|
--TEST--
|
||
|
Check for vtiful presence
|
||
|
--SKIPIF--
|
||
|
<?php if (!extension_loaded("xlswriter")) print "skip"; ?>
|
||
|
--FILE--
|
||
|
<?php
|
||
|
$config = ['path' => './tests'];
|
||
|
|
||
|
$excel = new \Vtiful\Kernel\Excel($config);
|
||
|
$handle = $excel->fileName('tutorial01.xlsx')->getHandle();
|
||
|
|
||
|
$format = new \Vtiful\Kernel\Format($handle);
|
||
|
$italicStyle = $format->italic()->toResource();
|
||
|
|
||
|
var_dump($italicStyle);
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
resource(5) of type (xlsx)
|