|
@@ -5135,7 +5135,7 @@ namespace Illuminate\Support\Facades {
|
|
|
*/
|
|
*/
|
|
|
public static function lock($name, $seconds = 0, $owner = null)
|
|
public static function lock($name, $seconds = 0, $owner = null)
|
|
|
{
|
|
{
|
|
|
- /** @var \Illuminate\Cache\RedisStore $instance */
|
|
|
|
|
|
|
+ /** @var \Illuminate\Cache\DatabaseStore $instance */
|
|
|
return $instance->lock($name, $seconds, $owner);
|
|
return $instance->lock($name, $seconds, $owner);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -5149,96 +5149,60 @@ namespace Illuminate\Support\Facades {
|
|
|
*/
|
|
*/
|
|
|
public static function restoreLock($name, $owner)
|
|
public static function restoreLock($name, $owner)
|
|
|
{
|
|
{
|
|
|
- /** @var \Illuminate\Cache\RedisStore $instance */
|
|
|
|
|
|
|
+ /** @var \Illuminate\Cache\DatabaseStore $instance */
|
|
|
return $instance->restoreLock($name, $owner);
|
|
return $instance->restoreLock($name, $owner);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * Remove all items from the cache.
|
|
|
|
|
|
|
+ * Remove an item from the cache if it is expired.
|
|
|
*
|
|
*
|
|
|
|
|
+ * @param string $key
|
|
|
* @return bool
|
|
* @return bool
|
|
|
* @static
|
|
* @static
|
|
|
*/
|
|
*/
|
|
|
- public static function flush()
|
|
|
|
|
|
|
+ public static function forgetIfExpired($key)
|
|
|
{
|
|
{
|
|
|
- /** @var \Illuminate\Cache\RedisStore $instance */
|
|
|
|
|
- return $instance->flush();
|
|
|
|
|
|
|
+ /** @var \Illuminate\Cache\DatabaseStore $instance */
|
|
|
|
|
+ return $instance->forgetIfExpired($key);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * Remove all expired tag set entries.
|
|
|
|
|
- *
|
|
|
|
|
- * @return void
|
|
|
|
|
- * @static
|
|
|
|
|
- */
|
|
|
|
|
- public static function flushStaleTags()
|
|
|
|
|
- {
|
|
|
|
|
- /** @var \Illuminate\Cache\RedisStore $instance */
|
|
|
|
|
- $instance->flushStaleTags();
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /**
|
|
|
|
|
- * Get the Redis connection instance.
|
|
|
|
|
- *
|
|
|
|
|
- * @return \Illuminate\Redis\Connections\Connection
|
|
|
|
|
- * @static
|
|
|
|
|
- */
|
|
|
|
|
- public static function connection()
|
|
|
|
|
- {
|
|
|
|
|
- /** @var \Illuminate\Cache\RedisStore $instance */
|
|
|
|
|
- return $instance->connection();
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /**
|
|
|
|
|
- * Get the Redis connection instance that should be used to manage locks.
|
|
|
|
|
|
|
+ * Remove all items from the cache.
|
|
|
*
|
|
*
|
|
|
- * @return \Illuminate\Redis\Connections\Connection
|
|
|
|
|
|
|
+ * @return bool
|
|
|
* @static
|
|
* @static
|
|
|
*/
|
|
*/
|
|
|
- public static function lockConnection()
|
|
|
|
|
|
|
+ public static function flush()
|
|
|
{
|
|
{
|
|
|
- /** @var \Illuminate\Cache\RedisStore $instance */
|
|
|
|
|
- return $instance->lockConnection();
|
|
|
|
|
|
|
+ /** @var \Illuminate\Cache\DatabaseStore $instance */
|
|
|
|
|
+ return $instance->flush();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * Specify the name of the connection that should be used to store data.
|
|
|
|
|
|
|
+ * Get the underlying database connection.
|
|
|
*
|
|
*
|
|
|
- * @param string $connection
|
|
|
|
|
- * @return void
|
|
|
|
|
|
|
+ * @return \Illuminate\Database\PostgresConnection
|
|
|
* @static
|
|
* @static
|
|
|
*/
|
|
*/
|
|
|
- public static function setConnection($connection)
|
|
|
|
|
|
|
+ public static function getConnection()
|
|
|
{
|
|
{
|
|
|
- /** @var \Illuminate\Cache\RedisStore $instance */
|
|
|
|
|
- $instance->setConnection($connection);
|
|
|
|
|
|
|
+ /** @var \Illuminate\Cache\DatabaseStore $instance */
|
|
|
|
|
+ return $instance->getConnection();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* Specify the name of the connection that should be used to manage locks.
|
|
* Specify the name of the connection that should be used to manage locks.
|
|
|
*
|
|
*
|
|
|
- * @param string $connection
|
|
|
|
|
- * @return \Illuminate\Cache\RedisStore
|
|
|
|
|
|
|
+ * @param \Illuminate\Database\ConnectionInterface $connection
|
|
|
|
|
+ * @return \Illuminate\Cache\DatabaseStore
|
|
|
* @static
|
|
* @static
|
|
|
*/
|
|
*/
|
|
|
public static function setLockConnection($connection)
|
|
public static function setLockConnection($connection)
|
|
|
{
|
|
{
|
|
|
- /** @var \Illuminate\Cache\RedisStore $instance */
|
|
|
|
|
|
|
+ /** @var \Illuminate\Cache\DatabaseStore $instance */
|
|
|
return $instance->setLockConnection($connection);
|
|
return $instance->setLockConnection($connection);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- /**
|
|
|
|
|
- * Get the Redis database instance.
|
|
|
|
|
- *
|
|
|
|
|
- * @return \Illuminate\Contracts\Redis\Factory
|
|
|
|
|
- * @static
|
|
|
|
|
- */
|
|
|
|
|
- public static function getRedis()
|
|
|
|
|
- {
|
|
|
|
|
- /** @var \Illuminate\Cache\RedisStore $instance */
|
|
|
|
|
- return $instance->getRedis();
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
/**
|
|
/**
|
|
|
* Get the cache key prefix.
|
|
* Get the cache key prefix.
|
|
|
*
|
|
*
|
|
@@ -5247,7 +5211,7 @@ namespace Illuminate\Support\Facades {
|
|
|
*/
|
|
*/
|
|
|
public static function getPrefix()
|
|
public static function getPrefix()
|
|
|
{
|
|
{
|
|
|
- /** @var \Illuminate\Cache\RedisStore $instance */
|
|
|
|
|
|
|
+ /** @var \Illuminate\Cache\DatabaseStore $instance */
|
|
|
return $instance->getPrefix();
|
|
return $instance->getPrefix();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -5260,7 +5224,7 @@ namespace Illuminate\Support\Facades {
|
|
|
*/
|
|
*/
|
|
|
public static function setPrefix($prefix)
|
|
public static function setPrefix($prefix)
|
|
|
{
|
|
{
|
|
|
- /** @var \Illuminate\Cache\RedisStore $instance */
|
|
|
|
|
|
|
+ /** @var \Illuminate\Cache\DatabaseStore $instance */
|
|
|
$instance->setPrefix($prefix);
|
|
$instance->setPrefix($prefix);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -22818,207 +22782,414 @@ namespace Illuminate\Support\Facades {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-namespace Illuminate\Http {
|
|
|
|
|
|
|
+namespace Maatwebsite\Excel\Facades {
|
|
|
/**
|
|
/**
|
|
|
*/
|
|
*/
|
|
|
- class Request extends \Symfony\Component\HttpFoundation\Request {
|
|
|
|
|
|
|
+ class Excel {
|
|
|
/**
|
|
/**
|
|
|
- * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestValidation()
|
|
|
|
|
- * @param array $rules
|
|
|
|
|
- * @param mixed $params
|
|
|
|
|
|
|
+ * @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
|
|
* @static
|
|
|
*/
|
|
*/
|
|
|
- public static function validate($rules, ...$params)
|
|
|
|
|
|
|
+ public static function download($export, $fileName, $writerType = null, $headers = [])
|
|
|
{
|
|
{
|
|
|
- return \Illuminate\Http\Request::validate($rules, ...$params);
|
|
|
|
|
|
|
+ /** @var \Maatwebsite\Excel\Excel $instance */
|
|
|
|
|
+ return $instance->download($export, $fileName, $writerType, $headers);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestValidation()
|
|
|
|
|
- * @param string $errorBag
|
|
|
|
|
- * @param array $rules
|
|
|
|
|
- * @param mixed $params
|
|
|
|
|
|
|
+ * @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
|
|
* @static
|
|
|
*/
|
|
*/
|
|
|
- public static function validateWithBag($errorBag, $rules, ...$params)
|
|
|
|
|
|
|
+ public static function store($export, $filePath, $diskName = null, $writerType = null, $diskOptions = [], $disk = null)
|
|
|
{
|
|
{
|
|
|
- return \Illuminate\Http\Request::validateWithBag($errorBag, $rules, ...$params);
|
|
|
|
|
|
|
+ /** @var \Maatwebsite\Excel\Excel $instance */
|
|
|
|
|
+ return $instance->store($export, $filePath, $diskName, $writerType, $diskOptions, $disk);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestSignatureValidation()
|
|
|
|
|
- * @param mixed $absolute
|
|
|
|
|
|
|
+ * @param object $export
|
|
|
|
|
+ * @param string $filePath
|
|
|
|
|
+ * @param string|null $disk
|
|
|
|
|
+ * @param string $writerType
|
|
|
|
|
+ * @param mixed $diskOptions
|
|
|
|
|
+ * @return \Illuminate\Foundation\Bus\PendingDispatch
|
|
|
* @static
|
|
* @static
|
|
|
*/
|
|
*/
|
|
|
- public static function hasValidSignature($absolute = true)
|
|
|
|
|
|
|
+ public static function queue($export, $filePath, $disk = null, $writerType = null, $diskOptions = [])
|
|
|
{
|
|
{
|
|
|
- return \Illuminate\Http\Request::hasValidSignature($absolute);
|
|
|
|
|
|
|
+ /** @var \Maatwebsite\Excel\Excel $instance */
|
|
|
|
|
+ return $instance->queue($export, $filePath, $disk, $writerType, $diskOptions);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestSignatureValidation()
|
|
|
|
|
|
|
+ * @param object $export
|
|
|
|
|
+ * @param string $writerType
|
|
|
|
|
+ * @return string
|
|
|
* @static
|
|
* @static
|
|
|
*/
|
|
*/
|
|
|
- public static function hasValidRelativeSignature()
|
|
|
|
|
|
|
+ public static function raw($export, $writerType)
|
|
|
{
|
|
{
|
|
|
- return \Illuminate\Http\Request::hasValidRelativeSignature();
|
|
|
|
|
|
|
+ /** @var \Maatwebsite\Excel\Excel $instance */
|
|
|
|
|
+ return $instance->raw($export, $writerType);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestSignatureValidation()
|
|
|
|
|
- * @param mixed $ignoreQuery
|
|
|
|
|
- * @param mixed $absolute
|
|
|
|
|
|
|
+ * @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
|
|
* @static
|
|
|
*/
|
|
*/
|
|
|
- public static function hasValidSignatureWhileIgnoring($ignoreQuery = [], $absolute = true)
|
|
|
|
|
|
|
+ public static function import($import, $filePath, $disk = null, $readerType = null)
|
|
|
{
|
|
{
|
|
|
- return \Illuminate\Http\Request::hasValidSignatureWhileIgnoring($ignoreQuery, $absolute);
|
|
|
|
|
|
|
+ /** @var \Maatwebsite\Excel\Excel $instance */
|
|
|
|
|
+ return $instance->import($import, $filePath, $disk, $readerType);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestSignatureValidation()
|
|
|
|
|
- * @param mixed $ignoreQuery
|
|
|
|
|
|
|
+ * @param object $import
|
|
|
|
|
+ * @param string|\Symfony\Component\HttpFoundation\File\UploadedFile $filePath
|
|
|
|
|
+ * @param string|null $disk
|
|
|
|
|
+ * @param string|null $readerType
|
|
|
|
|
+ * @return array
|
|
|
* @static
|
|
* @static
|
|
|
*/
|
|
*/
|
|
|
- public static function hasValidRelativeSignatureWhileIgnoring($ignoreQuery = [])
|
|
|
|
|
|
|
+ public static function toArray($import, $filePath, $disk = null, $readerType = null)
|
|
|
{
|
|
{
|
|
|
- return \Illuminate\Http\Request::hasValidRelativeSignatureWhileIgnoring($ignoreQuery);
|
|
|
|
|
|
|
+ /** @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);
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
-namespace Illuminate\Database\Schema {
|
|
|
|
|
- /**
|
|
|
|
|
- */
|
|
|
|
|
- class Blueprint {
|
|
|
|
|
/**
|
|
/**
|
|
|
- * @see \Kalnoy\Nestedset\NestedSetServiceProvider::register()
|
|
|
|
|
|
|
+ * @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
|
|
* @static
|
|
|
*/
|
|
*/
|
|
|
- public static function nestedSet()
|
|
|
|
|
|
|
+ public static function queueImport($import, $filePath, $disk = null, $readerType = null)
|
|
|
{
|
|
{
|
|
|
- return \Illuminate\Database\Schema\Blueprint::nestedSet();
|
|
|
|
|
|
|
+ /** @var \Maatwebsite\Excel\Excel $instance */
|
|
|
|
|
+ return $instance->queueImport($import, $filePath, $disk, $readerType);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * @see \Kalnoy\Nestedset\NestedSetServiceProvider::register()
|
|
|
|
|
|
|
+ * Register a custom macro.
|
|
|
|
|
+ *
|
|
|
|
|
+ * @param string $name
|
|
|
|
|
+ * @param object|callable $macro
|
|
|
|
|
+ * @param-closure-this static $macro
|
|
|
|
|
+ * @return void
|
|
|
* @static
|
|
* @static
|
|
|
*/
|
|
*/
|
|
|
- public static function dropNestedSet()
|
|
|
|
|
|
|
+ public static function macro($name, $macro)
|
|
|
{
|
|
{
|
|
|
- return \Illuminate\Database\Schema\Blueprint::dropNestedSet();
|
|
|
|
|
|
|
+ \Maatwebsite\Excel\Excel::macro($name, $macro);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * @see \Pgvector\Laravel\Schema::register()
|
|
|
|
|
- * @param string $column
|
|
|
|
|
- * @param mixed|null $dimensions
|
|
|
|
|
- * @return \Illuminate\Database\Schema\ColumnDefinition
|
|
|
|
|
|
|
+ * Mix another object into the class.
|
|
|
|
|
+ *
|
|
|
|
|
+ * @param object $mixin
|
|
|
|
|
+ * @param bool $replace
|
|
|
|
|
+ * @return void
|
|
|
|
|
+ * @throws \ReflectionException
|
|
|
* @static
|
|
* @static
|
|
|
*/
|
|
*/
|
|
|
- public static function halfvec($column, $dimensions = null)
|
|
|
|
|
|
|
+ public static function mixin($mixin, $replace = true)
|
|
|
{
|
|
{
|
|
|
- return \Illuminate\Database\Schema\Blueprint::halfvec($column, $dimensions);
|
|
|
|
|
|
|
+ \Maatwebsite\Excel\Excel::mixin($mixin, $replace);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * @see \Pgvector\Laravel\Schema::register()
|
|
|
|
|
- * @param string $column
|
|
|
|
|
- * @param mixed|null $length
|
|
|
|
|
- * @return \Illuminate\Database\Schema\ColumnDefinition
|
|
|
|
|
|
|
+ * Checks if macro is registered.
|
|
|
|
|
+ *
|
|
|
|
|
+ * @param string $name
|
|
|
|
|
+ * @return bool
|
|
|
* @static
|
|
* @static
|
|
|
*/
|
|
*/
|
|
|
- public static function bit($column, $length = null)
|
|
|
|
|
|
|
+ public static function hasMacro($name)
|
|
|
{
|
|
{
|
|
|
- return \Illuminate\Database\Schema\Blueprint::bit($column, $length);
|
|
|
|
|
|
|
+ return \Maatwebsite\Excel\Excel::hasMacro($name);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * @see \Pgvector\Laravel\Schema::register()
|
|
|
|
|
- * @param string $column
|
|
|
|
|
- * @param mixed|null $dimensions
|
|
|
|
|
- * @return \Illuminate\Database\Schema\ColumnDefinition
|
|
|
|
|
|
|
+ * 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
|
|
* @static
|
|
|
*/
|
|
*/
|
|
|
- public static function sparsevec($column, $dimensions = null)
|
|
|
|
|
|
|
+ public static function doNotMatchByRegex()
|
|
|
{
|
|
{
|
|
|
- return \Illuminate\Database\Schema\Blueprint::sparsevec($column, $dimensions);
|
|
|
|
|
|
|
+ /** @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 Illuminate\Database\Schema\Grammars {
|
|
|
|
|
|
|
+namespace Illuminate\Support {
|
|
|
/**
|
|
/**
|
|
|
|
|
+ * @template TKey of array-key
|
|
|
|
|
+ * @template-covariant TValue
|
|
|
|
|
+ * @implements \ArrayAccess<TKey, TValue>
|
|
|
|
|
+ * @implements \Illuminate\Support\Enumerable<TKey, TValue>
|
|
|
*/
|
|
*/
|
|
|
- class PostgresGrammar extends \Illuminate\Database\Schema\Grammars\Grammar {
|
|
|
|
|
- }
|
|
|
|
|
- /**
|
|
|
|
|
- */
|
|
|
|
|
- class Grammar extends \Illuminate\Database\Grammar {
|
|
|
|
|
|
|
+ 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\Database {
|
|
|
|
|
|
|
+namespace Illuminate\Http {
|
|
|
/**
|
|
/**
|
|
|
*/
|
|
*/
|
|
|
- class Grammar {
|
|
|
|
|
|
|
+ class Request extends \Symfony\Component\HttpFoundation\Request {
|
|
|
/**
|
|
/**
|
|
|
- * @see \Pgvector\Laravel\Schema::register()
|
|
|
|
|
- * @param \Illuminate\Database\Schema\ColumnDefinition $column
|
|
|
|
|
- * @return string
|
|
|
|
|
|
|
+ * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestValidation()
|
|
|
|
|
+ * @param array $rules
|
|
|
|
|
+ * @param mixed $params
|
|
|
* @static
|
|
* @static
|
|
|
*/
|
|
*/
|
|
|
- public static function typeVector($column)
|
|
|
|
|
|
|
+ public static function validate($rules, ...$params)
|
|
|
{
|
|
{
|
|
|
- return \Illuminate\Database\Grammar::typeVector($column);
|
|
|
|
|
|
|
+ return \Illuminate\Http\Request::validate($rules, ...$params);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * @see \Pgvector\Laravel\Schema::register()
|
|
|
|
|
- * @param \Illuminate\Database\Schema\ColumnDefinition $column
|
|
|
|
|
- * @return string
|
|
|
|
|
|
|
+ * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestValidation()
|
|
|
|
|
+ * @param string $errorBag
|
|
|
|
|
+ * @param array $rules
|
|
|
|
|
+ * @param mixed $params
|
|
|
* @static
|
|
* @static
|
|
|
*/
|
|
*/
|
|
|
- public static function typeHalfvec($column)
|
|
|
|
|
|
|
+ public static function validateWithBag($errorBag, $rules, ...$params)
|
|
|
{
|
|
{
|
|
|
- return \Illuminate\Database\Grammar::typeHalfvec($column);
|
|
|
|
|
|
|
+ return \Illuminate\Http\Request::validateWithBag($errorBag, $rules, ...$params);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * @see \Pgvector\Laravel\Schema::register()
|
|
|
|
|
- * @param \Illuminate\Database\Schema\ColumnDefinition $column
|
|
|
|
|
- * @return string
|
|
|
|
|
|
|
+ * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestSignatureValidation()
|
|
|
|
|
+ * @param mixed $absolute
|
|
|
* @static
|
|
* @static
|
|
|
*/
|
|
*/
|
|
|
- public static function typeBit($column)
|
|
|
|
|
|
|
+ public static function hasValidSignature($absolute = true)
|
|
|
{
|
|
{
|
|
|
- return \Illuminate\Database\Grammar::typeBit($column);
|
|
|
|
|
|
|
+ return \Illuminate\Http\Request::hasValidSignature($absolute);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * @see \Pgvector\Laravel\Schema::register()
|
|
|
|
|
- * @param \Illuminate\Database\Schema\ColumnDefinition $column
|
|
|
|
|
- * @return string
|
|
|
|
|
|
|
+ * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestSignatureValidation()
|
|
|
* @static
|
|
* @static
|
|
|
*/
|
|
*/
|
|
|
- public static function typeSparsevec($column)
|
|
|
|
|
|
|
+ public static function hasValidRelativeSignature()
|
|
|
{
|
|
{
|
|
|
- return \Illuminate\Database\Grammar::typeSparsevec($column);
|
|
|
|
|
|
|
+ return \Illuminate\Http\Request::hasValidRelativeSignature();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestSignatureValidation()
|
|
|
|
|
+ * @param mixed $ignoreQuery
|
|
|
|
|
+ * @param mixed $absolute
|
|
|
|
|
+ * @static
|
|
|
|
|
+ */
|
|
|
|
|
+ public static function hasValidSignatureWhileIgnoring($ignoreQuery = [], $absolute = true)
|
|
|
|
|
+ {
|
|
|
|
|
+ return \Illuminate\Http\Request::hasValidSignatureWhileIgnoring($ignoreQuery, $absolute);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestSignatureValidation()
|
|
|
|
|
+ * @param mixed $ignoreQuery
|
|
|
|
|
+ * @static
|
|
|
|
|
+ */
|
|
|
|
|
+ public static function hasValidRelativeSignatureWhileIgnoring($ignoreQuery = [])
|
|
|
|
|
+ {
|
|
|
|
|
+ return \Illuminate\Http\Request::hasValidRelativeSignatureWhileIgnoring($ignoreQuery);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-namespace Illuminate\Database\Query\Grammars {
|
|
|
|
|
- /**
|
|
|
|
|
- */
|
|
|
|
|
- class PostgresGrammar extends \Illuminate\Database\Query\Grammars\Grammar {
|
|
|
|
|
- }
|
|
|
|
|
|
|
+namespace Illuminate\Database\Schema {
|
|
|
/**
|
|
/**
|
|
|
*/
|
|
*/
|
|
|
- class Grammar extends \Illuminate\Database\Grammar {
|
|
|
|
|
|
|
+ class Blueprint {
|
|
|
|
|
+ /**
|
|
|
|
|
+ * @see \Kalnoy\Nestedset\NestedSetServiceProvider::register()
|
|
|
|
|
+ * @static
|
|
|
|
|
+ */
|
|
|
|
|
+ public static function nestedSet()
|
|
|
|
|
+ {
|
|
|
|
|
+ return \Illuminate\Database\Schema\Blueprint::nestedSet();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * @see \Kalnoy\Nestedset\NestedSetServiceProvider::register()
|
|
|
|
|
+ * @static
|
|
|
|
|
+ */
|
|
|
|
|
+ public static function dropNestedSet()
|
|
|
|
|
+ {
|
|
|
|
|
+ return \Illuminate\Database\Schema\Blueprint::dropNestedSet();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -25020,6 +25191,56 @@ namespace {
|
|
|
return $instance->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.
|
|
* Set the columns to be selected.
|
|
|
*
|
|
*
|
|
@@ -27823,6 +28044,7 @@ namespace {
|
|
|
class Validator extends \Illuminate\Support\Facades\Validator {}
|
|
class Validator extends \Illuminate\Support\Facades\Validator {}
|
|
|
class View extends \Illuminate\Support\Facades\View {}
|
|
class View extends \Illuminate\Support\Facades\View {}
|
|
|
class Vite extends \Illuminate\Support\Facades\Vite {}
|
|
class Vite extends \Illuminate\Support\Facades\Vite {}
|
|
|
|
|
+ class Excel extends \Maatwebsite\Excel\Facades\Excel {}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|