This commit is contained in:
ct
2025-07-15 00:43:37 +08:00
parent e7c6c02785
commit 8bb6705031
9 changed files with 481 additions and 58 deletions

View File

@@ -24033,6 +24033,317 @@ public static function getContainer()
}
}
namespace Maatwebsite\Excel\Facades {
/**
*
*
*/
class Excel {
/**
*
*
* @param object $export
* @param string|null $fileName
* @param string $writerType
* @param array $headers
* @return \Symfony\Component\HttpFoundation\BinaryFileResponse
* @throws \PhpOffice\PhpSpreadsheet\Exception
* @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
* @static
*/
public static function download($export, $fileName, $writerType = null, $headers = [])
{
/** @var \Maatwebsite\Excel\Excel $instance */
return $instance->download($export, $fileName, $writerType, $headers);
}
/**
*
*
* @param string|null $disk Fallback for usage with named properties
* @param object $export
* @param string $filePath
* @param string|null $diskName
* @param string $writerType
* @param mixed $diskOptions
* @return bool
* @throws \PhpOffice\PhpSpreadsheet\Exception
* @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
* @static
*/
public static function store($export, $filePath, $diskName = null, $writerType = null, $diskOptions = [], $disk = null)
{
/** @var \Maatwebsite\Excel\Excel $instance */
return $instance->store($export, $filePath, $diskName, $writerType, $diskOptions, $disk);
}
/**
*
*
* @param object $export
* @param string $filePath
* @param string|null $disk
* @param string $writerType
* @param mixed $diskOptions
* @return \Illuminate\Foundation\Bus\PendingDispatch
* @static
*/
public static function queue($export, $filePath, $disk = null, $writerType = null, $diskOptions = [])
{
/** @var \Maatwebsite\Excel\Excel $instance */
return $instance->queue($export, $filePath, $disk, $writerType, $diskOptions);
}
/**
*
*
* @param object $export
* @param string $writerType
* @return string
* @static
*/
public static function raw($export, $writerType)
{
/** @var \Maatwebsite\Excel\Excel $instance */
return $instance->raw($export, $writerType);
}
/**
*
*
* @param object $import
* @param string|\Symfony\Component\HttpFoundation\File\UploadedFile $filePath
* @param string|null $disk
* @param string|null $readerType
* @return \Maatwebsite\Excel\Reader|\Illuminate\Foundation\Bus\PendingDispatch
* @static
*/
public static function import($import, $filePath, $disk = null, $readerType = null)
{
/** @var \Maatwebsite\Excel\Excel $instance */
return $instance->import($import, $filePath, $disk, $readerType);
}
/**
*
*
* @param object $import
* @param string|\Symfony\Component\HttpFoundation\File\UploadedFile $filePath
* @param string|null $disk
* @param string|null $readerType
* @return array
* @static
*/
public static function toArray($import, $filePath, $disk = null, $readerType = null)
{
/** @var \Maatwebsite\Excel\Excel $instance */
return $instance->toArray($import, $filePath, $disk, $readerType);
}
/**
*
*
* @param object $import
* @param string|\Symfony\Component\HttpFoundation\File\UploadedFile $filePath
* @param string|null $disk
* @param string|null $readerType
* @return \Illuminate\Support\Collection
* @static
*/
public static function toCollection($import, $filePath, $disk = null, $readerType = null)
{
/** @var \Maatwebsite\Excel\Excel $instance */
return $instance->toCollection($import, $filePath, $disk, $readerType);
}
/**
*
*
* @param \Illuminate\Contracts\Queue\ShouldQueue $import
* @param string|\Symfony\Component\HttpFoundation\File\UploadedFile $filePath
* @param string|null $disk
* @param string $readerType
* @return \Illuminate\Foundation\Bus\PendingDispatch
* @static
*/
public static function queueImport($import, $filePath, $disk = null, $readerType = null)
{
/** @var \Maatwebsite\Excel\Excel $instance */
return $instance->queueImport($import, $filePath, $disk, $readerType);
}
/**
* Register a custom macro.
*
* @param string $name
* @param object|callable $macro
* @param-closure-this static $macro
* @return void
* @static
*/
public static function macro($name, $macro)
{
\Maatwebsite\Excel\Excel::macro($name, $macro);
}
/**
* Mix another object into the class.
*
* @param object $mixin
* @param bool $replace
* @return void
* @throws \ReflectionException
* @static
*/
public static function mixin($mixin, $replace = true)
{
\Maatwebsite\Excel\Excel::mixin($mixin, $replace);
}
/**
* Checks if macro is registered.
*
* @param string $name
* @return bool
* @static
*/
public static function hasMacro($name)
{
return \Maatwebsite\Excel\Excel::hasMacro($name);
}
/**
* Flush the existing macros.
*
* @return void
* @static
*/
public static function flushMacros()
{
\Maatwebsite\Excel\Excel::flushMacros();
}
/**
*
*
* @param string $concern
* @param callable $handler
* @param string $event
* @static
*/
public static function extend($concern, $handler, $event = 'Maatwebsite\\Excel\\Events\\BeforeWriting')
{
return \Maatwebsite\Excel\Excel::extend($concern, $handler, $event);
}
/**
* When asserting downloaded, stored, queued or imported, use regular expression
* to look for a matching file path.
*
* @return void
* @static
*/
public static function matchByRegex()
{
/** @var \Maatwebsite\Excel\Fakes\ExcelFake $instance */
$instance->matchByRegex();
}
/**
* When asserting downloaded, stored, queued or imported, use regular string
* comparison for matching file path.
*
* @return void
* @static
*/
public static function doNotMatchByRegex()
{
/** @var \Maatwebsite\Excel\Fakes\ExcelFake $instance */
$instance->doNotMatchByRegex();
}
/**
*
*
* @param string $fileName
* @param callable|null $callback
* @static
*/
public static function assertDownloaded($fileName, $callback = null)
{
/** @var \Maatwebsite\Excel\Fakes\ExcelFake $instance */
return $instance->assertDownloaded($fileName, $callback);
}
/**
*
*
* @param string $filePath
* @param string|callable|null $disk
* @param callable|null $callback
* @static
*/
public static function assertStored($filePath, $disk = null, $callback = null)
{
/** @var \Maatwebsite\Excel\Fakes\ExcelFake $instance */
return $instance->assertStored($filePath, $disk, $callback);
}
/**
*
*
* @param string $filePath
* @param string|callable|null $disk
* @param callable|null $callback
* @static
*/
public static function assertQueued($filePath, $disk = null, $callback = null)
{
/** @var \Maatwebsite\Excel\Fakes\ExcelFake $instance */
return $instance->assertQueued($filePath, $disk, $callback);
}
/**
*
*
* @static
*/
public static function assertQueuedWithChain($chain)
{
/** @var \Maatwebsite\Excel\Fakes\ExcelFake $instance */
return $instance->assertQueuedWithChain($chain);
}
/**
*
*
* @param string $classname
* @param callable|null $callback
* @static
*/
public static function assertExportedInRaw($classname, $callback = null)
{
/** @var \Maatwebsite\Excel\Fakes\ExcelFake $instance */
return $instance->assertExportedInRaw($classname, $callback);
}
/**
*
*
* @param string $filePath
* @param string|callable|null $disk
* @param callable|null $callback
* @static
*/
public static function assertImported($filePath, $disk = null, $callback = null)
{
/** @var \Maatwebsite\Excel\Fakes\ExcelFake $instance */
return $instance->assertImported($filePath, $disk, $callback);
}
}
}
namespace ProtoneMedia\LaravelFFMpeg\Support {
/**
*
@@ -24332,6 +24643,49 @@ public static function getConfig()
}
}
namespace Illuminate\Support {
/**
*
*
* @template TKey of array-key
* @template-covariant TValue
* @implements \ArrayAccess<TKey, TValue>
* @implements \Illuminate\Support\Enumerable<TKey, TValue>
*/
class Collection {
/**
*
*
* @see \Maatwebsite\Excel\Mixins\DownloadCollectionMixin::downloadExcel()
* @param string $fileName
* @param string|null $writerType
* @param mixed $withHeadings
* @param array $responseHeaders
* @static
*/
public static function downloadExcel($fileName, $writerType = null, $withHeadings = false, $responseHeaders = [])
{
return \Illuminate\Support\Collection::downloadExcel($fileName, $writerType, $withHeadings, $responseHeaders);
}
/**
*
*
* @see \Maatwebsite\Excel\Mixins\StoreCollectionMixin::storeExcel()
* @param string $filePath
* @param string|null $disk
* @param string|null $writerType
* @param mixed $withHeadings
* @static
*/
public static function storeExcel($filePath, $disk = null, $writerType = null, $withHeadings = false)
{
return \Illuminate\Support\Collection::storeExcel($filePath, $disk, $writerType, $withHeadings);
}
}
}
namespace Illuminate\Http {
/**
*
@@ -26881,6 +27235,64 @@ public static function mergeConstraintsFrom($from)
return $instance->mergeConstraintsFrom($from);
}
/**
*
*
* @see \Maatwebsite\Excel\Mixins\DownloadQueryMacro::__invoke()
* @param string $fileName
* @param string|null $writerType
* @param mixed $withHeadings
* @static
*/
public static function downloadExcel($fileName, $writerType = null, $withHeadings = false)
{
return \Illuminate\Database\Eloquent\Builder::downloadExcel($fileName, $writerType, $withHeadings);
}
/**
*
*
* @see \Maatwebsite\Excel\Mixins\StoreQueryMacro::__invoke()
* @param string $filePath
* @param string|null $disk
* @param string|null $writerType
* @param mixed $withHeadings
* @static
*/
public static function storeExcel($filePath, $disk = null, $writerType = null, $withHeadings = false)
{
return \Illuminate\Database\Eloquent\Builder::storeExcel($filePath, $disk, $writerType, $withHeadings);
}
/**
*
*
* @see \Maatwebsite\Excel\Mixins\ImportMacro::__invoke()
* @param string $filename
* @param string|null $disk
* @param string|null $readerType
* @static
*/
public static function import($filename, $disk = null, $readerType = null)
{
return \Illuminate\Database\Eloquent\Builder::import($filename, $disk, $readerType);
}
/**
*
*
* @see \Maatwebsite\Excel\Mixins\ImportAsMacro::__invoke()
* @param string $filename
* @param callable $mapping
* @param string|null $disk
* @param string|null $readerType
* @static
*/
public static function importAs($filename, $mapping, $disk = null, $readerType = null)
{
return \Illuminate\Database\Eloquent\Builder::importAs($filename, $mapping, $disk, $readerType);
}
/**
* Set the columns to be selected.
*
@@ -29666,6 +30078,7 @@ class Twitter extends \Artesaos\SEOTools\Facades\TwitterCard {}
class OpenGraph extends \Artesaos\SEOTools\Facades\OpenGraph {}
class Horizon extends \Laravel\Horizon\Horizon {}
class Socialite extends \Laravel\Socialite\Facades\Socialite {}
class Excel extends \Maatwebsite\Excel\Facades\Excel {}
class FFMpeg extends \ProtoneMedia\LaravelFFMpeg\Support\FFMpeg {}
class ResponseCache extends \Spatie\ResponseCache\Facades\ResponseCache {}
class Hashids extends \Vinkla\Hashids\Facades\Hashids {}