php-ext-xlswriter/tests/008.phpt

19 lines
425 B
Plaintext
Raw Normal View History

2024-03-05 10:01:08 +08:00
--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)