hyperf-view/builder/Office/ExcelPropertyInterface.php

21 lines
635 B
PHP

<?php
declare(strict_types=1);
/**
* MineAdmin is committed to providing solutions for quickly building web applications
* Please view the LICENSE file that was distributed with this source code,
* For the full copyright and license information.
* Thank you very much for using MineAdmin.
*
* @Author X.Mo<root@imoi.cn>
* @Link https://gitee.com/xmo/MineAdmin
*/
namespace Builder\Office;
interface ExcelPropertyInterface
{
public function import(\Builder\BaseModel $model, ?\Closure $closure = null): bool;
public function export(string $filename, array|\Closure $closure): \Psr\Http\Message\ResponseInterface;
}