--TEST-- Check for vtiful presence --SKIPIF-- --FILE-- './tests' ]; $fileObject = new \Vtiful\Kernel\Excel($config); $fileObject = $fileObject->fileName('protection_password.xlsx'); $filePath = $fileObject->header(['name', 'age']) ->data([ ['viest', 21], ['wjx', 21] ]) ->protection('password') ->output(); var_dump($filePath); ?> --CLEAN-- --EXPECT-- string(32) "./tests/protection_password.xlsx"