Commit 69530911 by 杨树贤

导出供应商脚本

parent 38ccd26c
......@@ -830,12 +830,49 @@ class DataService
}
}
public function repairData()
public static function exportSupplierByDepartment($topDepartmentId)
{
dd(SupplierChannelModel::where('supplier_id',13854)->first());
SupplierChannelModel::where('supplier_id',13854)->update([
'status' => SupplierChannelModel::STATUS_IN_REVIEW,
'update_time'=>time()
]);
Excel::create('采购供应商数据导出', function ($excel) use ($topDepartmentId) {
$departmentIds = DepartmentModel::where('parent_id', $topDepartmentId)->pluck('department_id')->toArray();
$userIds = UserInfoModel::whereIn('department_id', $departmentIds)->pluck('userId')->toArray();
$suppliers2022 = $suppliersZhangQi2022 = $suppliersAll = $suppliersZhangQi = [];
//找出相关用户创建的所有供应商
$suppliersAll = SupplierChannelModel::whereIn('create_uid', $userIds)->where('is_type',
0)->get()->toArray();
foreach ($suppliersAll as $supplier) {
$createTime = date('Y-m-d H:i:s', $supplier['create_time']);
$creatName = UserInfoModel::where('userId', $supplier['create_uid'])->value('name');
$data = [
$creatName,
$supplier['supplier_name'],
$createTime,
];
if ($supplier['create_time'] >= 1640966400 - 3600 * 24 * 365) {
$suppliers2022[] = $data;
if ($supplier['pay_type'] == 1) {
$suppliersZhangQi2022[] = $data;
}
}
if ($supplier['pay_type'] == 1) {
$suppliersZhangQi[] = $data;
}
}
$header = ['创建人', '供应商名称', '创建时间'];
// dd($suppliersZhangQi,$header);
$excel->sheet('2022年创建的供应商', function ($sheet) use ($header, $suppliers2022) {
array_unshift($suppliers2022, $header);
$sheet->fromArray($suppliers2022);
});
$excel->sheet('2022年创建的账期供应商', function ($sheet) use ($header, $suppliersZhangQi2022) {
array_unshift($suppliersZhangQi2022, $header);
$sheet->fromArray($suppliersZhangQi2022);
});
$excel->sheet('全部账期供应商', function ($sheet) use ($header, $suppliersZhangQi) {
array_unshift($suppliersZhangQi, $header);
$sheet->fromArray($suppliersZhangQi);
});
})->export('xlsx');
}
}
\ No newline at end of file
......@@ -63,4 +63,9 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Sync'], function ()
});
Route::match(['get', 'post'], '/test', function () {
$departmentId = request()->input('department_id');
if (empty($departmentId)) {
return '部门id不能为空';
}
\App\Http\Services\DataService::exportSupplierByDepartment($departmentId);
});
<?php
/** @noinspection PhpUndefinedClassInspection */
/** @noinspection PhpFullyQualifiedNameUsageInspection */
<?php //4765c824d409c78b48a06662d7183108
/** @noinspection all */
namespace Illuminate\Support\Facades {
......@@ -8,13 +7,13 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Foundation\Application::basePath
* @method static string basePath()
* @see \Illuminate\Container\Container::when
* @method static \Illuminate\Container\ContextualBindingBuilder|\Illuminate\Contracts\Container\ContextualBindingBuilder when(string $concrete)
* @method static \Illuminate\Container\ContextualBindingBuilder when($concrete)
* @see \Illuminate\Foundation\Application::path
* @method static string path()
* @see \Illuminate\Container\Container::bind
* @method static void bind(array|string $abstract, \Closure|null|string $concrete = null, bool $shared = false)
* @method static void bind($abstract, $concrete = null, $shared = false)
* @see \Illuminate\Container\Container::tagged
* @method static array tagged(string $tag)
* @method static array tagged($tag)
* @see \Illuminate\Foundation\Application::setDeferredServices
* @method static void setDeferredServices(array $services)
* @see \Illuminate\Foundation\Application::hasMonologConfigurator
......@@ -22,25 +21,25 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Foundation\Application::getDeferredServices
* @method static array getDeferredServices()
* @see \Illuminate\Foundation\Application::registerDeferredProvider
* @method static void registerDeferredProvider(string $provider, string $service = null)
* @method static void registerDeferredProvider($provider, $service = null)
* @see \Illuminate\Foundation\Application::handle
* @method static \Illuminate\Http\Response|\Symfony\Component\HttpFoundation\Response handle(\Symfony\Component\HttpFoundation\Request $request, $type = self::MASTER_REQUEST, $catch = true)
* @method static \Symfony\Component\HttpFoundation\Response handle(\Symfony\Component\HttpFoundation\Request $request, $type = self::MASTER_REQUEST, $catch = true)
* @see \Illuminate\Container\Container::bindIf
* @method static void bindIf(string $abstract, \Closure|null|string $concrete = null, bool $shared = false)
* @method static void bindIf($abstract, $concrete = null, $shared = false)
* @see \Illuminate\Foundation\Application::version
* @method static string version()
* @see \Illuminate\Container\Container::rebinding
* @method static mixed rebinding(string $abstract, \Closure $callback)
* @method static mixed|object|void rebinding($abstract, \Closure $callback)
* @see \Illuminate\Container\Container::extend
* @method static void extend(string $abstract, \Closure $closure)
* @method static void extend($abstract, \Closure $closure)
* @see \Illuminate\Foundation\Application::useStoragePath
* @method static \Illuminate\Foundation\Application useStoragePath(string $path)
* @method static \Illuminate\Foundation\Application useStoragePath($path)
* @see \Illuminate\Foundation\Application::hasBeenBootstrapped
* @method static bool hasBeenBootstrapped()
* @see \Illuminate\Container\Container::offsetUnset
* @method static void offsetUnset(string $key)
* @method static void offsetUnset($key)
* @see \Illuminate\Foundation\Application::loadEnvironmentFrom
* @method static \Illuminate\Foundation\Application loadEnvironmentFrom(string $file)
* @method static \Illuminate\Foundation\Application loadEnvironmentFrom($file)
* @see \Illuminate\Container\Container::setInstance
* @method static void setInstance(\Illuminate\Contracts\Container\Container $container)
* @see \Illuminate\Foundation\Application::terminate
......@@ -52,35 +51,35 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Foundation\Application::runningUnitTests
* @method static bool runningUnitTests()
* @see \Illuminate\Foundation\Application::setLocale
* @method static void setLocale(string $locale)
* @method static void setLocale($locale)
* @see \Illuminate\Foundation\Application::bootstrapPath
* @method static string bootstrapPath()
* @see \Illuminate\Foundation\Application::detectEnvironment
* @method static string detectEnvironment(\Closure $callback)
* @method static mixed|string detectEnvironment(\Closure $callback)
* @see \Illuminate\Foundation\Application::isLocal
* @method static bool isLocal()
* @see \Illuminate\Foundation\Application::getCachedServicesPath
* @method static string getCachedServicesPath()
* @see \Illuminate\Container\Container::isAlias
* @method static bool isAlias(string $name)
* @method static bool isAlias($name)
* @see \Illuminate\Foundation\Application::registerConfiguredProviders
* @method static void registerConfiguredProviders()
* @see \Illuminate\Foundation\Application::isLocale
* @method static bool isLocale(string $locale)
* @method static bool isLocale($locale)
* @see \Illuminate\Container\Container::share
* @method static \Closure share(\Closure $closure)
* @see \Illuminate\Foundation\Application::getNamespace
* @method static null|string getNamespace()
* @method static int|null|string getNamespace()
* @see \Illuminate\Container\Container::resolved
* @method static bool resolved(string $abstract)
* @method static bool resolved($abstract)
* @see \Illuminate\Foundation\Application::getProvider
* @method static \Illuminate\Support\ServiceProvider|null getProvider(\Illuminate\Support\ServiceProvider|string $provider)
* @method static mixed getProvider($provider)
* @see \Illuminate\Container\Container::refresh
* @method static mixed refresh(string $abstract, $target, string $method)
* @method static mixed|object|void refresh($abstract, $target, $method)
* @see \Illuminate\Foundation\Application::registerCoreContainerAliases
* @method static void registerCoreContainerAliases()
* @see \Illuminate\Foundation\Application::useDatabasePath
* @method static \Illuminate\Foundation\Application useDatabasePath(string $path)
* @method static \Illuminate\Foundation\Application useDatabasePath($path)
* @see \Illuminate\Foundation\Application::environmentFilePath
* @method static string environmentFilePath()
* @see \Illuminate\Foundation\Application::booting
......@@ -88,23 +87,23 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Foundation\Application::shouldSkipMiddleware
* @method static bool shouldSkipMiddleware()
* @see \Illuminate\Container\Container::call
* @method static mixed call(callable|string $callback, array $parameters = [], null|string $defaultMethod = null)
* @method static mixed call($callback, array $parameters = [], $defaultMethod = null)
* @see \Illuminate\Foundation\Application::getLocale
* @method static string getLocale()
* @method static void getLocale()
* @see \Illuminate\Foundation\Application::terminating
* @method static \Illuminate\Foundation\Application terminating(\Closure $callback)
* @see \Illuminate\Foundation\Application::beforeBootstrapping
* @method static void beforeBootstrapping(string $bootstrapper, \Closure $callback)
* @method static void beforeBootstrapping($bootstrapper, \Closure $callback)
* @see \Illuminate\Container\Container::wrap
* @method static \Closure wrap(\Closure $callback, array $parameters = [])
* @see \Illuminate\Foundation\Application::register
* @method static \Illuminate\Support\ServiceProvider|null|string register(\Illuminate\Support\ServiceProvider|string $provider, array $options = [], bool $force = false)
* @method static \Illuminate\Support\ServiceProvider|mixed|string register($provider, $options = [], $force = false)
* @see \Illuminate\Foundation\Application::environmentPath
* @method static string environmentPath()
* @see \Illuminate\Foundation\Application::addDeferredServices
* @method static void addDeferredServices(array $services)
* @see \Illuminate\Container\Container::instance
* @method static void instance(string $abstract, $instance)
* @method static void instance($abstract, $instance)
* @see \Illuminate\Foundation\Application::configureMonologUsing
* @method static \Illuminate\Foundation\Application configureMonologUsing(callable $callback)
* @see \Illuminate\Foundation\Application::databasePath
......@@ -114,65 +113,65 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Foundation\Application::storagePath
* @method static string storagePath()
* @see \Illuminate\Foundation\Application::resolveProviderClass
* @method static \Illuminate\Support\ServiceProvider resolveProviderClass(string $provider)
* @method static mixed resolveProviderClass($provider)
* @see \Illuminate\Foundation\Application::loadDeferredProvider
* @method static void loadDeferredProvider(string $service)
* @method static void loadDeferredProvider($service)
* @see \Illuminate\Foundation\Application::booted
* @method static void booted($callback)
* @see \Illuminate\Foundation\Application::routesAreCached
* @method static bool routesAreCached()
* @method static void routesAreCached()
* @see \Illuminate\Container\Container::tag
* @method static void tag(array|string $abstracts, array|array[] $tags)
* @method static void tag($abstracts, $tags)
* @see \Illuminate\Foundation\Application::publicPath
* @method static string publicPath()
* @see \Illuminate\Container\Container::addContextualBinding
* @method static void addContextualBinding(string $concrete, string $abstract, \Closure|string $implementation)
* @method static void addContextualBinding($concrete, $abstract, $implementation)
* @see \Illuminate\Foundation\Application::isDownForMaintenance
* @method static bool isDownForMaintenance()
* @see \Illuminate\Foundation\Application::loadDeferredProviders
* @method static void loadDeferredProviders()
* @see \Illuminate\Foundation\Application::abort
* @method static void abort(int $code, string $message = '', array $headers = [])
* @method static void abort($code, $message = '', array $headers = [])
* @see \Illuminate\Container\Container::afterResolving
* @method static void afterResolving(string $abstract, \Closure $callback = null)
* @method static void afterResolving($abstract, \Closure $callback = null)
* @see \Illuminate\Foundation\Application::afterBootstrapping
* @method static void afterBootstrapping(string $bootstrapper, \Closure $callback)
* @method static void afterBootstrapping($bootstrapper, \Closure $callback)
* @see \Illuminate\Foundation\Application::configurationIsCached
* @method static bool configurationIsCached()
* @see \Illuminate\Foundation\Application::runningInConsole
* @method static bool runningInConsole()
* @see \Illuminate\Container\Container::offsetGet
* @method static mixed offsetGet(string $key)
* @method static mixed|object offsetGet($key)
* @see \Illuminate\Foundation\Application::langPath
* @method static string langPath()
* @see \Illuminate\Container\Container::offsetSet
* @method static void offsetSet(string $key, $value)
* @method static void offsetSet($key, $value)
* @see \Illuminate\Foundation\Application::flush
* @method static void flush()
* @see \Illuminate\Container\Container::alias
* @method static void alias(string $abstract, string $alias)
* @method static void alias($abstract, $alias)
* @see \Illuminate\Container\Container::offsetExists
* @method static bool offsetExists(string $key)
* @method static bool offsetExists($key)
* @see \Illuminate\Foundation\Application::afterLoadingEnvironment
* @method static void afterLoadingEnvironment(\Closure $callback)
* @see \Illuminate\Foundation\Application::boot
* @method static void boot()
* @see \Illuminate\Foundation\Application::make
* @method static mixed make(string $abstract, array $parameters = [])
* @method static mixed|object make($abstract, array $parameters = [])
* @see \Illuminate\Foundation\Application::getMonologConfigurator
* @method static callable|null getMonologConfigurator()
* @see \Illuminate\Foundation\Application::bootstrapWith
* @method static void bootstrapWith(array $bootstrappers)
* @see \Illuminate\Container\Container::singleton
* @method static void singleton(array|string $abstract, \Closure|null|string $concrete = null)
* @method static void singleton($abstract, $concrete = null)
* @see \Illuminate\Container\Container::forgetInstance
* @method static void forgetInstance(string $abstract)
* @method static void forgetInstance($abstract)
* @see \Illuminate\Container\Container::isShared
* @method static bool isShared(string $abstract)
* @method static bool isShared($abstract)
* @see \Illuminate\Container\Container::resolving
* @method static void resolving(string $abstract, \Closure $callback = null)
* @method static void resolving($abstract, \Closure $callback = null)
* @see \Illuminate\Foundation\Application::bound
* @method static bool bound(string $abstract)
* @method static bool bound($abstract)
* @see \Illuminate\Foundation\Application::isBooted
* @method static bool isBooted()
* @see \Illuminate\Foundation\Application::getCachedRoutesPath
......@@ -180,15 +179,15 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Container\Container::getBindings
* @method static array getBindings()
* @see \Illuminate\Foundation\Application::useEnvironmentPath
* @method static \Illuminate\Foundation\Application useEnvironmentPath(string $path)
* @method static \Illuminate\Foundation\Application useEnvironmentPath($path)
* @see \Illuminate\Foundation\Application::setBasePath
* @method static \Illuminate\Foundation\Application setBasePath(string $basePath)
* @method static \Illuminate\Foundation\Application setBasePath($basePath)
* @see \Illuminate\Foundation\Application::environment
* @method static bool|string environment()
* @see \Illuminate\Foundation\Application::isDeferredService
* @method static bool isDeferredService(string $service)
* @method static bool isDeferredService($service)
* @see \Illuminate\Container\Container::build
* @method static mixed build(string $concrete, array $parameters = [])
* @method static mixed|object build($concrete, array $parameters = [])
* @see \Illuminate\Foundation\Application::getCachedConfigPath
* @method static string getCachedConfigPath()
* @see \Illuminate\Foundation\Application::configPath
......@@ -216,55 +215,55 @@ namespace Illuminate\Support\Facades {
/**
* @see \Illuminate\Auth\AuthManager::setDefaultDriver
* @method static void setDefaultDriver(string $name)
* @method static void setDefaultDriver($name)
* @see \Illuminate\Auth\AuthManager::shouldUse
* @method static void shouldUse(string $name)
* @method static void shouldUse($name)
* @see \Illuminate\Auth\AuthManager::guard
* @method static \Illuminate\Contracts\Auth\Guard|\Illuminate\Contracts\Auth\StatefulGuard guard(string $name = null)
* @method static mixed guard($name = null)
* @see \Illuminate\Auth\CreatesUserProviders::createUserProvider
* @method static \Illuminate\Contracts\Auth\UserProvider createUserProvider(string $provider)
* @see \Illuminate\Auth\AuthManager::createTokenDriver
* @method static \Illuminate\Auth\TokenGuard createTokenDriver(string $name, array $config)
* @method static \Illuminate\Auth\TokenGuard createTokenDriver($name, $config)
* @see \Illuminate\Auth\AuthManager::viaRequest
* @method static \Illuminate\Auth\AuthManager viaRequest(string $driver, callable $callback)
* @method static \Illuminate\Auth\AuthManager viaRequest($driver, callable $callback)
* @see \Illuminate\Auth\AuthManager::extend
* @method static \Illuminate\Auth\AuthManager extend(string $driver, \Closure $callback)
* @method static \Illuminate\Auth\AuthManager extend($driver, \Closure $callback)
* @see \Illuminate\Auth\AuthManager::provider
* @method static \Illuminate\Auth\AuthManager provider(string $name, \Closure $callback)
* @method static \Illuminate\Auth\AuthManager provider($name, \Closure $callback)
* @see \Illuminate\Auth\AuthManager::userResolver
* @method static \Closure userResolver()
* @see \Illuminate\Auth\AuthManager::resolveUsersUsing
* @method static \Illuminate\Auth\AuthManager resolveUsersUsing(\Closure $userResolver)
* @see \Illuminate\Auth\AuthManager::createSessionDriver
* @method static \Illuminate\Auth\SessionGuard createSessionDriver(string $name, array $config)
* @method static \Illuminate\Auth\SessionGuard createSessionDriver($name, $config)
* @see \Illuminate\Auth\AuthManager::getDefaultDriver
* @method static string getDefaultDriver()
* @method static void getDefaultDriver()
* @see \Illuminate\Contracts\Auth\Guard::setUser
* @method static void setUser(\Illuminate\Contracts\Auth\Authenticatable $user)
* @see \Illuminate\Contracts\Auth\Guard::guest
* @method static bool guest()
* @method static void guest()
* @see \Illuminate\Contracts\Auth\Guard::id
* @method static int|null id()
* @method static void id()
* @see \Illuminate\Contracts\Auth\Guard::check
* @method static bool check()
* @method static void check()
* @see \Illuminate\Contracts\Auth\Guard::user
* @method static \Illuminate\Contracts\Auth\Authenticatable|null user()
* @method static void user()
* @see \Illuminate\Contracts\Auth\Guard::validate
* @method static bool validate(array $credentials = [])
* @method static void validate(array $credentials = [])
* @see \Illuminate\Contracts\Auth\StatefulGuard::onceUsingId
* @method static bool onceUsingId($id)
* @method static void onceUsingId($id)
* @see \Illuminate\Contracts\Auth\StatefulGuard::login
* @method static void login(\Illuminate\Contracts\Auth\Authenticatable $user, bool $remember = false)
* @method static void login(\Illuminate\Contracts\Auth\Authenticatable $user, $remember = false)
* @see \Illuminate\Contracts\Auth\StatefulGuard::attempt
* @method static bool attempt(array $credentials = [], bool $remember = false, bool $login = true)
* @method static void attempt(array $credentials = [], $remember = false, $login = true)
* @see \Illuminate\Contracts\Auth\StatefulGuard::viaRemember
* @method static bool viaRemember()
* @method static void viaRemember()
* @see \Illuminate\Contracts\Auth\StatefulGuard::logout
* @method static void logout()
* @see \Illuminate\Contracts\Auth\StatefulGuard::once
* @method static bool once(array $credentials = [])
* @method static void once(array $credentials = [])
* @see \Illuminate\Contracts\Auth\StatefulGuard::loginUsingId
* @method static \Illuminate\Contracts\Auth\Authenticatable loginUsingId($id, bool $remember = false)
* @method static void loginUsingId($id, $remember = false)
*/
class Auth {}
......@@ -272,37 +271,37 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\View\Compilers\BladeCompiler::getCustomDirectives
* @method static array getCustomDirectives()
* @see \Illuminate\View\Compilers\BladeCompiler::setEchoFormat
* @method static void setEchoFormat(string $format)
* @method static void setEchoFormat($format)
* @see \Illuminate\View\Compilers\BladeCompiler::compile
* @method static void compile(string $path = null)
* @method static void compile($path = null)
* @see \Illuminate\View\Compilers\Compiler::isExpired
* @method static bool isExpired(string $path)
* @method static bool isExpired($path)
* @see \Illuminate\View\Compilers\BladeCompiler::extend
* @method static void extend(callable $compiler)
* @see \Illuminate\View\Compilers\BladeCompiler::getContentTags
* @method static array|string getContentTags()
* @method static array getContentTags()
* @see \Illuminate\View\Compilers\BladeCompiler::setEscapedContentTags
* @method static void setEscapedContentTags(string $openTag, string $closeTag)
* @method static void setEscapedContentTags($openTag, $closeTag)
* @see \Illuminate\View\Compilers\Compiler::getCompiledPath
* @method static string getCompiledPath(string $path)
* @method static string getCompiledPath($path)
* @see \Illuminate\View\Compilers\BladeCompiler::setRawTags
* @method static void setRawTags(string $openTag, string $closeTag)
* @method static void setRawTags($openTag, $closeTag)
* @see \Illuminate\View\Compilers\BladeCompiler::getRawTags
* @method static array|string[] getRawTags()
* @method static string[] getRawTags()
* @see \Illuminate\View\Compilers\BladeCompiler::compileEchoDefaults
* @method static string compileEchoDefaults(string $value)
* @method static null|string|string[] compileEchoDefaults($value)
* @see \Illuminate\View\Compilers\BladeCompiler::setPath
* @method static void setPath(string $path)
* @method static void setPath($path)
* @see \Illuminate\View\Compilers\BladeCompiler::setContentTags
* @method static void setContentTags(string $openTag, string $closeTag, bool $escaped = false)
* @method static void setContentTags($openTag, $closeTag, $escaped = false)
* @see \Illuminate\View\Compilers\BladeCompiler::getPath
* @method static string getPath()
* @see \Illuminate\View\Compilers\BladeCompiler::compileString
* @method static string compileString(string $value)
* @method static null|string|string[] compileString($value)
* @see \Illuminate\View\Compilers\BladeCompiler::directive
* @method static void directive(string $name, callable $handler)
* @method static void directive($name, callable $handler)
* @see \Illuminate\View\Compilers\BladeCompiler::getEscapedContentTags
* @method static array|string getEscapedContentTags()
* @method static array getEscapedContentTags()
* @see \Illuminate\View\Compilers\BladeCompiler::getExtensions
* @method static array getExtensions()
*/
......@@ -310,11 +309,11 @@ namespace Illuminate\Support\Facades {
/**
* @see \Illuminate\Contracts\Bus\Dispatcher::dispatch
* @method static mixed dispatch($command)
* @method static void dispatch($command)
* @see \Illuminate\Contracts\Bus\Dispatcher::dispatchNow
* @method static mixed dispatchNow($command)
* @method static void dispatchNow($command)
* @see \Illuminate\Contracts\Bus\Dispatcher::pipeThrough
* @method static \Illuminate\Contracts\Bus\Dispatcher pipeThrough(array $pipes)
* @method static void pipeThrough(array $pipes)
*/
class Bus {}
......@@ -386,41 +385,41 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Config\Repository::all
* @method static array all()
* @see \Illuminate\Config\Repository::offsetGet
* @method static mixed offsetGet(string $key)
* @method static array|\ArrayAccess|mixed offsetGet($key)
* @see \Illuminate\Config\Repository::set
* @method static void set(array|string $key, $value = null)
* @method static void set($key, $value = null)
* @see \Illuminate\Config\Repository::offsetUnset
* @method static void offsetUnset(string $key)
* @method static void offsetUnset($key)
* @see \Illuminate\Config\Repository::get
* @method static mixed get(string $key, $default = null)
* @method static array|\ArrayAccess|mixed get($key, $default = null)
* @see \Illuminate\Config\Repository::prepend
* @method static void prepend(string $key, $value)
* @method static void prepend($key, $value)
* @see \Illuminate\Config\Repository::offsetExists
* @method static bool offsetExists(string $key)
* @method static bool offsetExists($key)
* @see \Illuminate\Config\Repository::has
* @method static bool has(string $key)
* @method static bool has($key)
* @see \Illuminate\Config\Repository::offsetSet
* @method static void offsetSet(string $key, $value)
* @method static void offsetSet($key, $value)
* @see \Illuminate\Config\Repository::push
* @method static void push(string $key, $value)
* @method static void push($key, $value)
*/
class Config {}
/**
* @see \Illuminate\Cookie\CookieJar::forget
* @method static \Symfony\Component\HttpFoundation\Cookie forget(string $name, string $path = null, string $domain = null)
* @method static \Symfony\Component\HttpFoundation\Cookie forget($name, $path = null, $domain = null)
* @see \Illuminate\Cookie\CookieJar::hasQueued
* @method static bool hasQueued(string $key)
* @method static bool hasQueued($key)
* @see \Illuminate\Cookie\CookieJar::unqueue
* @method static void unqueue(string $name)
* @method static void unqueue($name)
* @see \Illuminate\Cookie\CookieJar::queued
* @method static \Symfony\Component\HttpFoundation\Cookie queued(string $key, $default = null)
* @method static array|\ArrayAccess|mixed queued($key, $default = null)
* @see \Illuminate\Cookie\CookieJar::setDefaultPathAndDomain
* @method static \Illuminate\Cookie\CookieJar setDefaultPathAndDomain(string $path, string $domain, bool $secure = false)
* @method static \Illuminate\Cookie\CookieJar setDefaultPathAndDomain($path, $domain, $secure = false)
* @see \Illuminate\Cookie\CookieJar::forever
* @method static \Symfony\Component\HttpFoundation\Cookie forever(string $name, string $value, string $path = null, string $domain = null, bool $secure = false, bool $httpOnly = true)
* @method static \Symfony\Component\HttpFoundation\Cookie forever($name, $value, $path = null, $domain = null, $secure = false, $httpOnly = true)
* @see \Illuminate\Cookie\CookieJar::make
* @method static \Symfony\Component\HttpFoundation\Cookie make(string $name, string $value, int $minutes = 0, string $path = null, string $domain = null, bool $secure = false, bool $httpOnly = true)
* @method static \Symfony\Component\HttpFoundation\Cookie make($name, $value, $minutes = 0, $path = null, $domain = null, $secure = false, $httpOnly = true)
* @see \Illuminate\Cookie\CookieJar::getQueuedCookies
* @method static array getQueuedCookies()
* @see \Illuminate\Cookie\CookieJar::queue
......@@ -430,11 +429,11 @@ namespace Illuminate\Support\Facades {
/**
* @see \Illuminate\Encryption\Encrypter::encrypt
* @method static string encrypt(string $value)
* @method static string encrypt($value)
* @see \Illuminate\Encryption\Encrypter::decrypt
* @method static string decrypt(string $payload)
* @method static mixed|string decrypt($payload)
* @see \Illuminate\Encryption\Encrypter::supported
* @method static bool supported(string $key, string $cipher)
* @method static bool supported($key, $cipher)
*/
class Crypt {}
......@@ -586,33 +585,33 @@ namespace Illuminate\Support\Facades {
/**
* @see \Illuminate\Events\Dispatcher::hasListeners
* @method static bool hasListeners(string $eventName)
* @method static bool hasListeners($eventName)
* @see \Illuminate\Events\Dispatcher::listen
* @method static void listen(array|string $events, $listener, int $priority = 0)
* @method static void listen($events, $listener, $priority = 0)
* @see \Illuminate\Events\Dispatcher::flush
* @method static void flush(string $event)
* @method static void flush($event)
* @see \Illuminate\Events\Dispatcher::fire
* @method static array|null fire(object|string $event, $payload = [], bool $halt = false)
* @method static array|mixed|null fire($event, $payload = [], $halt = false)
* @see \Illuminate\Events\Dispatcher::makeListener
* @method static \Closure|mixed makeListener($listener)
* @method static \Closure makeListener($listener)
* @see \Illuminate\Events\Dispatcher::setQueueResolver
* @method static \Illuminate\Events\Dispatcher setQueueResolver(callable $resolver)
* @see \Illuminate\Events\Dispatcher::subscribe
* @method static void subscribe(object|string $subscriber)
* @method static void subscribe($subscriber)
* @see \Illuminate\Events\Dispatcher::push
* @method static void push(string $event, array $payload = [])
* @method static void push($event, $payload = [])
* @see \Illuminate\Events\Dispatcher::forget
* @method static void forget(string $event)
* @method static void forget($event)
* @see \Illuminate\Events\Dispatcher::firing
* @method static string firing()
* @method static mixed|string firing()
* @see \Illuminate\Events\Dispatcher::until
* @method static array|mixed|null until(object|string $event, array $payload = [])
* @method static array|mixed|null until($event, $payload = [])
* @see \Illuminate\Events\Dispatcher::forgetPushed
* @method static void forgetPushed()
* @see \Illuminate\Events\Dispatcher::createClassListener
* @method static \Closure createClassListener($listener)
* @see \Illuminate\Events\Dispatcher::getListeners
* @method static array getListeners(string $eventName)
* @method static array getListeners($eventName)
*/
class Event {}
......@@ -688,33 +687,33 @@ namespace Illuminate\Support\Facades {
/**
* @see \Illuminate\Contracts\Auth\Access\Gate::allows
* @method static bool allows(string $ability, array|mixed $arguments = [])
* @method static void allows($ability, $arguments = [])
* @see \Illuminate\Contracts\Auth\Access\Gate::before
* @method static \Illuminate\Contracts\Auth\Access\Gate before(callable $callback)
* @method static void before(callable $callback)
* @see \Illuminate\Contracts\Auth\Access\Gate::forUser
* @method static \Illuminate\Contracts\Auth\Access\Gate forUser(\Illuminate\Contracts\Auth\Authenticatable|mixed $user)
* @method static void forUser($user)
* @see \Illuminate\Contracts\Auth\Access\Gate::define
* @method static \Illuminate\Contracts\Auth\Access\Gate define(string $ability, callable|string $callback)
* @method static void define($ability, $callback)
* @see \Illuminate\Contracts\Auth\Access\Gate::has
* @method static bool has(string $ability)
* @method static void has($ability)
* @see \Illuminate\Contracts\Auth\Access\Gate::check
* @method static bool check(string $ability, array|mixed $arguments = [])
* @method static void check($ability, $arguments = [])
* @see \Illuminate\Contracts\Auth\Access\Gate::denies
* @method static bool denies(string $ability, array|mixed $arguments = [])
* @method static void denies($ability, $arguments = [])
* @see \Illuminate\Contracts\Auth\Access\Gate::policy
* @method static \Illuminate\Contracts\Auth\Access\Gate policy(string $class, string $policy)
* @method static void policy($class, $policy)
*/
class Gate {}
/**
* @see \Illuminate\Hashing\BcryptHasher::setRounds
* @method static \Illuminate\Hashing\BcryptHasher setRounds(int $rounds)
* @method static \Illuminate\Hashing\BcryptHasher setRounds($rounds)
* @see \Illuminate\Hashing\BcryptHasher::needsRehash
* @method static bool needsRehash(string $hashedValue, array $options = [])
* @method static bool needsRehash($hashedValue, array $options = [])
* @see \Illuminate\Hashing\BcryptHasher::check
* @method static bool check(string $value, string $hashedValue, array $options = [])
* @method static bool check($value, $hashedValue, array $options = [])
* @see \Illuminate\Hashing\BcryptHasher::make
* @method static string make(string $value, array $options = [])
* @method static null|string make($value, array $options = [])
*/
class Hash {}
......@@ -752,13 +751,13 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::isXmlHttpRequest
* @method static bool isXmlHttpRequest()
* @see \Illuminate\Http\Request::cookie
* @method static array|string cookie(string $key = null, array|null|string $default = null)
* @method static void cookie($key = null, $default = null)
* @see \Illuminate\Http\Request::method
* @method static string method()
* @see \Illuminate\Http\Request::old
* @method static array|string old(string $key = null, array|null|string $default = null)
* @method static void old($key = null, $default = null)
* @see \Illuminate\Http\Request::ip
* @method static string ip()
* @method static mixed|string ip()
* @see \Symfony\Component\HttpFoundation\Request::getContent
* @method static resource|string getContent(bool $asResource = false)
* @see \Symfony\Component\HttpFoundation\Request::getBaseUrl
......@@ -772,29 +771,29 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Http\Request::getRouteResolver
* @method static \Closure getRouteResolver()
* @see \Illuminate\Http\Request::input
* @method static array|string input(string $key = null, array|null|string $default = null)
* @method static mixed input($key = null, $default = null)
* @see \Symfony\Component\HttpFoundation\Request::enableHttpMethodParameterOverride
* @method static void enableHttpMethodParameterOverride()
* @see \Illuminate\Http\Request::route
* @method static \Illuminate\Routing\Route|object|string route(null|string $param = null)
* @method static mixed route($param = null)
* @see \Symfony\Component\HttpFoundation\Request::getPathInfo
* @method static string getPathInfo()
* @see \Illuminate\Http\Request::offsetUnset
* @method static void offsetUnset(string $offset)
* @method static void offsetUnset($offset)
* @see \Illuminate\Http\Request::flashOnly
* @method static void flashOnly(array|mixed $keys)
* @method static void flashOnly($keys)
* @see \Illuminate\Http\Request::except
* @method static array except(array|mixed $keys)
* @method static array except($keys)
* @see \Illuminate\Http\Request::decodedPath
* @method static string decodedPath()
* @see \Symfony\Component\HttpFoundation\Request::getRequestFormat
* @method static string getRequestFormat(string $default = 'html')
* @see \Illuminate\Http\Request::flash
* @method static void flash(string $filter = null, array $keys = [])
* @method static void flash($filter = null, $keys = [])
* @see \Symfony\Component\HttpFoundation\Request::setTrustedHeaderName
* @method static void setTrustedHeaderName(string $key, string $value)
* @see \Illuminate\Http\Request::server
* @method static array|string server(string $key = null, array|null|string $default = null)
* @method static void server($key = null, $default = null)
* @see \Symfony\Component\HttpFoundation\Request::setLocale
* @method static void setLocale(string $locale)
* @see \Illuminate\Http\Request::setUserResolver
......@@ -818,7 +817,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Http\Request::segments
* @method static array segments()
* @see \Illuminate\Http\Request::file
* @method static array|\Illuminate\Http\UploadedFile|null file(string $key = null, $default = null)
* @method static mixed file($key = null, $default = null)
* @see \Illuminate\Support\Traits\Macroable::hasMacro
* @method static bool hasMacro(string $name)
* @see \Symfony\Component\HttpFoundation\Request::getContentType
......@@ -826,11 +825,11 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::get
* @method static mixed get(string $key, $default = null)
* @see \Illuminate\Http\Request::matchesType
* @method static bool matchesType(string $actual, string $type)
* @method static bool matchesType($actual, $type)
* @see \Illuminate\Http\Request::acceptsJson
* @method static bool acceptsJson()
* @see \Illuminate\Http\Request::prefers
* @method static null|string prefers(array|string $contentTypes)
* @method static mixed|void prefers($contentTypes)
* @see \Symfony\Component\HttpFoundation\Request::getTrustedProxies
* @method static array|string[] getTrustedProxies()
* @see \Symfony\Component\HttpFoundation\Request::getDefaultLocale
......@@ -840,7 +839,7 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::getSession
* @method static null|\Symfony\Component\HttpFoundation\Session\SessionInterface getSession()
* @see \Illuminate\Http\Request::hasHeader
* @method static bool hasHeader(string $key)
* @method static bool hasHeader($key)
* @see \Symfony\Component\HttpFoundation\Request::getUserInfo
* @method static null|string getUserInfo()
* @see \Illuminate\Http\Request::url
......@@ -854,13 +853,13 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::getLocale
* @method static string getLocale()
* @see \Illuminate\Http\Request::exists
* @method static bool exists(array|string $key)
* @method static bool exists($key)
* @see \Symfony\Component\HttpFoundation\Request::initialize
* @method static void initialize(array $query = array(), array $request = array(), array $attributes = array(), array $cookies = array(), array $files = array(), array $server = array(), resource|string $content = null)
* @see \Illuminate\Http\Request::instance
* @method static \Illuminate\Http\Request instance()
* @see \Illuminate\Http\Request::hasFile
* @method static bool hasFile(string $key)
* @method static bool hasFile($key)
* @see \Symfony\Component\HttpFoundation\Request::getRelativeUriForPath
* @method static string getRelativeUriForPath(string $path)
* @see \Illuminate\Http\Request::pjax
......@@ -874,25 +873,25 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Http\Request::secure
* @method static bool secure()
* @see \Illuminate\Http\Request::createFromBase
* @method static \Illuminate\Http\Request createFromBase(\Symfony\Component\HttpFoundation\Request $request)
* @method static \Illuminate\Http\Request|\Symfony\Component\HttpFoundation\Request createFromBase(\Symfony\Component\HttpFoundation\Request $request)
* @see \Symfony\Component\HttpFoundation\Request::getRealMethod
* @method static string getRealMethod()
* @see \Symfony\Component\HttpFoundation\Request::getPreferredLanguage
* @method static null|string getPreferredLanguage(array $locales = null)
* @see \Illuminate\Http\Request::bearerToken
* @method static null|string bearerToken()
* @method static string|void bearerToken()
* @see \Symfony\Component\HttpFoundation\Request::getClientIps
* @method static array getClientIps()
* @see \Illuminate\Http\Request::segment
* @method static null|string segment(int $index, null|string $default = null)
* @method static mixed segment($index, $default = null)
* @see \Illuminate\Http\Request::only
* @method static array only(array|mixed $keys)
* @method static array only($keys)
* @see \Symfony\Component\HttpFoundation\Request::setFactory
* @method static void setFactory(callable|null $callable)
* @see \Symfony\Component\HttpFoundation\Request::create
* @method static \Symfony\Component\HttpFoundation\Request create(string $uri, string $method = 'GET', array $parameters = array(), array $cookies = array(), array $files = array(), array $server = array(), string $content = null)
* @see \Illuminate\Http\Request::has
* @method static bool has(array|string $key)
* @method static bool has($key)
* @see \Symfony\Component\HttpFoundation\Request::getHttpHost
* @method static string getHttpHost()
* @see \Symfony\Component\HttpFoundation\Request::setFormat
......@@ -904,43 +903,43 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::setSession
* @method static void setSession(\Symfony\Component\HttpFoundation\Session\SessionInterface $session)
* @see \Illuminate\Http\Request::accepts
* @method static bool accepts(array|string $contentTypes)
* @method static bool accepts($contentTypes)
* @see \Illuminate\Http\Request::query
* @method static array|string query(string $key = null, array|null|string $default = null)
* @method static void query($key = null, $default = null)
* @see \Illuminate\Http\Request::format
* @method static string format(string $default = 'html')
* @method static int|mixed|null|string|void format($default = 'html')
* @see \Illuminate\Http\Request::capture
* @method static \Illuminate\Http\Request capture()
* @method static \Illuminate\Http\Request|\Symfony\Component\HttpFoundation\Request capture()
* @see \Illuminate\Http\Request::duplicate
* @method static \Symfony\Component\HttpFoundation\Request duplicate(array $query = null, array $request = null, array $attributes = null, array $cookies = null, array $files = null, array $server = null)
* @see \Symfony\Component\HttpFoundation\Request::getClientIp
* @method static string getClientIp()
* @see \Illuminate\Http\Request::hasCookie
* @method static bool hasCookie(string $key)
* @method static bool hasCookie($key)
* @see \Symfony\Component\HttpFoundation\Request::getUser
* @method static null|string getUser()
* @see \Symfony\Component\HttpFoundation\Request::getTrustedHosts
* @method static array|string[] getTrustedHosts()
* @see \Illuminate\Http\Request::header
* @method static array|string header(string $key = null, array|null|string $default = null)
* @method static void header($key = null, $default = null)
* @see \Symfony\Component\HttpFoundation\Request::getBasePath
* @method static string getBasePath()
* @see \Illuminate\Http\Request::offsetGet
* @method static mixed offsetGet(string $offset)
* @method static mixed offsetGet($offset)
* @see \Symfony\Component\HttpFoundation\Request::getTrustedHeaderName
* @method static string getTrustedHeaderName(string $key)
* @see \Illuminate\Http\Request::session
* @method static \Illuminate\Session\Store session()
* @method static null|\Symfony\Component\HttpFoundation\Session\SessionInterface session()
* @see \Symfony\Component\HttpFoundation\Request::isNoCache
* @method static bool isNoCache()
* @see \Illuminate\Http\Request::offsetSet
* @method static void offsetSet(string $offset, $value)
* @method static void offsetSet($offset, $value)
* @see \Symfony\Component\HttpFoundation\Request::getMethod
* @method static string getMethod()
* @see \Symfony\Component\HttpFoundation\Request::getMimeType
* @method static null|string getMimeType(string $format)
* @see \Illuminate\Http\Request::flashExcept
* @method static void flashExcept(array|mixed $keys)
* @method static void flashExcept($keys)
* @see \Illuminate\Http\Request::flush
* @method static void flush()
* @see \Symfony\Component\HttpFoundation\Request::normalizeQueryString
......@@ -948,9 +947,9 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Http\Request::root
* @method static string root()
* @see \Illuminate\Http\Request::json
* @method static mixed|string|\Symfony\Component\HttpFoundation\ParameterBag json(string $key = null, $default = null)
* @method static mixed|\Symfony\Component\HttpFoundation\ParameterBag json($key = null, $default = null)
* @see \Illuminate\Http\Request::offsetExists
* @method static bool offsetExists(string $offset)
* @method static bool offsetExists($offset)
* @see \Symfony\Component\HttpFoundation\Request::getUri
* @method static string getUri()
* @see \Symfony\Component\HttpFoundation\Request::getFormat
......@@ -964,7 +963,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Http\Request::fullUrlWithQuery
* @method static string fullUrlWithQuery(array $query)
* @see \Illuminate\Http\Request::intersect
* @method static array intersect(array|mixed $keys)
* @method static array intersect($keys)
* @see \Symfony\Component\HttpFoundation\Request::getScheme
* @method static string getScheme()
* @see \Illuminate\Http\Request::fullUrlIs
......@@ -976,9 +975,9 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Http\Request::toArray
* @method static array toArray()
* @see \Illuminate\Http\Request::allFiles
* @method static array allFiles()
* @method static array|array[]|\array[][]|\Illuminate\Http\UploadedFile[]|\Illuminate\Http\UploadedFile[][]|null[]|\null[][] allFiles()
* @see \Illuminate\Http\Request::user
* @method static mixed user(null|string $guard = null)
* @method static mixed user($guard = null)
* @see \Symfony\Component\HttpFoundation\Request::getLanguages
* @method static array getLanguages()
*/
......@@ -1004,7 +1003,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Translation\Translator::has
* @method static bool has(string $key, null|string $locale = null, bool $fallback = true)
* @see \Illuminate\Support\NamespacedItemResolver::setParsedKey
* @method static void setParsedKey(string $key, array $parsed)
* @method static void setParsedKey($key, $parsed)
* @see \Illuminate\Translation\Translator::addNamespace
* @method static void addNamespace(string $namespace, string $hint)
* @see \Illuminate\Translation\Translator::getFallback
......@@ -1026,41 +1025,41 @@ namespace Illuminate\Support\Facades {
/**
* @see \Illuminate\Log\Writer::useSyslog
* @method static \Psr\Log\LoggerInterface useSyslog(string $name = 'laravel', string $level = 'debug')
* @method static \Monolog\Logger useSyslog($name = 'laravel', $level = 'debug')
* @see \Illuminate\Log\Writer::debug
* @method static void debug(string $message, array $context = [])
* @method static void debug($message, array $context = [])
* @see \Illuminate\Log\Writer::critical
* @method static void critical(string $message, array $context = [])
* @method static void critical($message, array $context = [])
* @see \Illuminate\Log\Writer::log
* @method static void log(string $level, string $message, array $context = [])
* @method static void log($level, $message, array $context = [])
* @see \Illuminate\Log\Writer::useDailyFiles
* @method static void useDailyFiles(string $path, int $days = 0, string $level = 'debug')
* @method static void useDailyFiles($path, $days = 0, $level = 'debug')
* @see \Illuminate\Log\Writer::emergency
* @method static void emergency(string $message, array $context = [])
* @method static void emergency($message, array $context = [])
* @see \Illuminate\Log\Writer::getMonolog
* @method static \Monolog\Logger getMonolog()
* @see \Illuminate\Log\Writer::error
* @method static void error(string $message, array $context = [])
* @method static void error($message, array $context = [])
* @see \Illuminate\Log\Writer::setEventDispatcher
* @method static void setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $dispatcher)
* @see \Illuminate\Log\Writer::useFiles
* @method static void useFiles(string $path, string $level = 'debug')
* @method static void useFiles($path, $level = 'debug')
* @see \Illuminate\Log\Writer::listen
* @method static void listen(\Closure $callback)
* @see \Illuminate\Log\Writer::alert
* @method static void alert(string $message, array $context = [])
* @method static void alert($message, array $context = [])
* @see \Illuminate\Log\Writer::getEventDispatcher
* @method static \Illuminate\Contracts\Events\Dispatcher getEventDispatcher()
* @see \Illuminate\Log\Writer::warning
* @method static void warning(string $message, array $context = [])
* @method static void warning($message, array $context = [])
* @see \Illuminate\Log\Writer::useErrorLog
* @method static void useErrorLog(string $level = 'debug', int $messageType = ErrorLogHandler::OPERATING_SYSTEM)
* @method static void useErrorLog($level = 'debug', $messageType = ErrorLogHandler::OPERATING_SYSTEM)
* @see \Illuminate\Log\Writer::write
* @method static void write(string $level, string $message, array $context = [])
* @method static void write($level, $message, array $context = [])
* @see \Illuminate\Log\Writer::info
* @method static void info(string $message, array $context = [])
* @method static void info($message, array $context = [])
* @see \Illuminate\Log\Writer::notice
* @method static void notice(string $message, array $context = [])
* @method static void notice($message, array $context = [])
*/
class Log {}
......@@ -1242,13 +1241,13 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::isXmlHttpRequest
* @method static bool isXmlHttpRequest()
* @see \Illuminate\Http\Request::cookie
* @method static array|string cookie(string $key = null, array|null|string $default = null)
* @method static void cookie($key = null, $default = null)
* @see \Illuminate\Http\Request::method
* @method static string method()
* @see \Illuminate\Http\Request::old
* @method static array|string old(string $key = null, array|null|string $default = null)
* @method static void old($key = null, $default = null)
* @see \Illuminate\Http\Request::ip
* @method static string ip()
* @method static mixed|string ip()
* @see \Symfony\Component\HttpFoundation\Request::getContent
* @method static resource|string getContent(bool $asResource = false)
* @see \Symfony\Component\HttpFoundation\Request::getBaseUrl
......@@ -1262,29 +1261,29 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Http\Request::getRouteResolver
* @method static \Closure getRouteResolver()
* @see \Illuminate\Http\Request::input
* @method static array|string input(string $key = null, array|null|string $default = null)
* @method static mixed input($key = null, $default = null)
* @see \Symfony\Component\HttpFoundation\Request::enableHttpMethodParameterOverride
* @method static void enableHttpMethodParameterOverride()
* @see \Illuminate\Http\Request::route
* @method static \Illuminate\Routing\Route|object|string route(null|string $param = null)
* @method static mixed route($param = null)
* @see \Symfony\Component\HttpFoundation\Request::getPathInfo
* @method static string getPathInfo()
* @see \Illuminate\Http\Request::offsetUnset
* @method static void offsetUnset(string $offset)
* @method static void offsetUnset($offset)
* @see \Illuminate\Http\Request::flashOnly
* @method static void flashOnly(array|mixed $keys)
* @method static void flashOnly($keys)
* @see \Illuminate\Http\Request::except
* @method static array except(array|mixed $keys)
* @method static array except($keys)
* @see \Illuminate\Http\Request::decodedPath
* @method static string decodedPath()
* @see \Symfony\Component\HttpFoundation\Request::getRequestFormat
* @method static string getRequestFormat(string $default = 'html')
* @see \Illuminate\Http\Request::flash
* @method static void flash(string $filter = null, array $keys = [])
* @method static void flash($filter = null, $keys = [])
* @see \Symfony\Component\HttpFoundation\Request::setTrustedHeaderName
* @method static void setTrustedHeaderName(string $key, string $value)
* @see \Illuminate\Http\Request::server
* @method static array|string server(string $key = null, array|null|string $default = null)
* @method static void server($key = null, $default = null)
* @see \Symfony\Component\HttpFoundation\Request::setLocale
* @method static void setLocale(string $locale)
* @see \Illuminate\Http\Request::setUserResolver
......@@ -1308,7 +1307,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Http\Request::segments
* @method static array segments()
* @see \Illuminate\Http\Request::file
* @method static array|\Illuminate\Http\UploadedFile|null file(string $key = null, $default = null)
* @method static mixed file($key = null, $default = null)
* @see \Illuminate\Support\Traits\Macroable::hasMacro
* @method static bool hasMacro(string $name)
* @see \Symfony\Component\HttpFoundation\Request::getContentType
......@@ -1316,11 +1315,11 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::get
* @method static mixed get(string $key, $default = null)
* @see \Illuminate\Http\Request::matchesType
* @method static bool matchesType(string $actual, string $type)
* @method static bool matchesType($actual, $type)
* @see \Illuminate\Http\Request::acceptsJson
* @method static bool acceptsJson()
* @see \Illuminate\Http\Request::prefers
* @method static null|string prefers(array|string $contentTypes)
* @method static mixed|void prefers($contentTypes)
* @see \Symfony\Component\HttpFoundation\Request::getTrustedProxies
* @method static array|string[] getTrustedProxies()
* @see \Symfony\Component\HttpFoundation\Request::getDefaultLocale
......@@ -1330,7 +1329,7 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::getSession
* @method static null|\Symfony\Component\HttpFoundation\Session\SessionInterface getSession()
* @see \Illuminate\Http\Request::hasHeader
* @method static bool hasHeader(string $key)
* @method static bool hasHeader($key)
* @see \Symfony\Component\HttpFoundation\Request::getUserInfo
* @method static null|string getUserInfo()
* @see \Illuminate\Http\Request::url
......@@ -1344,13 +1343,13 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::getLocale
* @method static string getLocale()
* @see \Illuminate\Http\Request::exists
* @method static bool exists(array|string $key)
* @method static bool exists($key)
* @see \Symfony\Component\HttpFoundation\Request::initialize
* @method static void initialize(array $query = array(), array $request = array(), array $attributes = array(), array $cookies = array(), array $files = array(), array $server = array(), resource|string $content = null)
* @see \Illuminate\Http\Request::instance
* @method static \Illuminate\Http\Request instance()
* @see \Illuminate\Http\Request::hasFile
* @method static bool hasFile(string $key)
* @method static bool hasFile($key)
* @see \Symfony\Component\HttpFoundation\Request::getRelativeUriForPath
* @method static string getRelativeUriForPath(string $path)
* @see \Illuminate\Http\Request::pjax
......@@ -1364,25 +1363,25 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Http\Request::secure
* @method static bool secure()
* @see \Illuminate\Http\Request::createFromBase
* @method static \Illuminate\Http\Request createFromBase(\Symfony\Component\HttpFoundation\Request $request)
* @method static \Illuminate\Http\Request|\Symfony\Component\HttpFoundation\Request createFromBase(\Symfony\Component\HttpFoundation\Request $request)
* @see \Symfony\Component\HttpFoundation\Request::getRealMethod
* @method static string getRealMethod()
* @see \Symfony\Component\HttpFoundation\Request::getPreferredLanguage
* @method static null|string getPreferredLanguage(array $locales = null)
* @see \Illuminate\Http\Request::bearerToken
* @method static null|string bearerToken()
* @method static string|void bearerToken()
* @see \Symfony\Component\HttpFoundation\Request::getClientIps
* @method static array getClientIps()
* @see \Illuminate\Http\Request::segment
* @method static null|string segment(int $index, null|string $default = null)
* @method static mixed segment($index, $default = null)
* @see \Illuminate\Http\Request::only
* @method static array only(array|mixed $keys)
* @method static array only($keys)
* @see \Symfony\Component\HttpFoundation\Request::setFactory
* @method static void setFactory(callable|null $callable)
* @see \Symfony\Component\HttpFoundation\Request::create
* @method static \Symfony\Component\HttpFoundation\Request create(string $uri, string $method = 'GET', array $parameters = array(), array $cookies = array(), array $files = array(), array $server = array(), string $content = null)
* @see \Illuminate\Http\Request::has
* @method static bool has(array|string $key)
* @method static bool has($key)
* @see \Symfony\Component\HttpFoundation\Request::getHttpHost
* @method static string getHttpHost()
* @see \Symfony\Component\HttpFoundation\Request::setFormat
......@@ -1394,43 +1393,43 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::setSession
* @method static void setSession(\Symfony\Component\HttpFoundation\Session\SessionInterface $session)
* @see \Illuminate\Http\Request::accepts
* @method static bool accepts(array|string $contentTypes)
* @method static bool accepts($contentTypes)
* @see \Illuminate\Http\Request::query
* @method static array|string query(string $key = null, array|null|string $default = null)
* @method static void query($key = null, $default = null)
* @see \Illuminate\Http\Request::format
* @method static string format(string $default = 'html')
* @method static int|mixed|null|string|void format($default = 'html')
* @see \Illuminate\Http\Request::capture
* @method static \Illuminate\Http\Request capture()
* @method static \Illuminate\Http\Request|\Symfony\Component\HttpFoundation\Request capture()
* @see \Illuminate\Http\Request::duplicate
* @method static \Symfony\Component\HttpFoundation\Request duplicate(array $query = null, array $request = null, array $attributes = null, array $cookies = null, array $files = null, array $server = null)
* @see \Symfony\Component\HttpFoundation\Request::getClientIp
* @method static string getClientIp()
* @see \Illuminate\Http\Request::hasCookie
* @method static bool hasCookie(string $key)
* @method static bool hasCookie($key)
* @see \Symfony\Component\HttpFoundation\Request::getUser
* @method static null|string getUser()
* @see \Symfony\Component\HttpFoundation\Request::getTrustedHosts
* @method static array|string[] getTrustedHosts()
* @see \Illuminate\Http\Request::header
* @method static array|string header(string $key = null, array|null|string $default = null)
* @method static void header($key = null, $default = null)
* @see \Symfony\Component\HttpFoundation\Request::getBasePath
* @method static string getBasePath()
* @see \Illuminate\Http\Request::offsetGet
* @method static mixed offsetGet(string $offset)
* @method static mixed offsetGet($offset)
* @see \Symfony\Component\HttpFoundation\Request::getTrustedHeaderName
* @method static string getTrustedHeaderName(string $key)
* @see \Illuminate\Http\Request::session
* @method static \Illuminate\Session\Store session()
* @method static null|\Symfony\Component\HttpFoundation\Session\SessionInterface session()
* @see \Symfony\Component\HttpFoundation\Request::isNoCache
* @method static bool isNoCache()
* @see \Illuminate\Http\Request::offsetSet
* @method static void offsetSet(string $offset, $value)
* @method static void offsetSet($offset, $value)
* @see \Symfony\Component\HttpFoundation\Request::getMethod
* @method static string getMethod()
* @see \Symfony\Component\HttpFoundation\Request::getMimeType
* @method static null|string getMimeType(string $format)
* @see \Illuminate\Http\Request::flashExcept
* @method static void flashExcept(array|mixed $keys)
* @method static void flashExcept($keys)
* @see \Illuminate\Http\Request::flush
* @method static void flush()
* @see \Symfony\Component\HttpFoundation\Request::normalizeQueryString
......@@ -1438,9 +1437,9 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Http\Request::root
* @method static string root()
* @see \Illuminate\Http\Request::json
* @method static mixed|string|\Symfony\Component\HttpFoundation\ParameterBag json(string $key = null, $default = null)
* @method static mixed|\Symfony\Component\HttpFoundation\ParameterBag json($key = null, $default = null)
* @see \Illuminate\Http\Request::offsetExists
* @method static bool offsetExists(string $offset)
* @method static bool offsetExists($offset)
* @see \Symfony\Component\HttpFoundation\Request::getUri
* @method static string getUri()
* @see \Symfony\Component\HttpFoundation\Request::getFormat
......@@ -1454,7 +1453,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Http\Request::fullUrlWithQuery
* @method static string fullUrlWithQuery(array $query)
* @see \Illuminate\Http\Request::intersect
* @method static array intersect(array|mixed $keys)
* @method static array intersect($keys)
* @see \Symfony\Component\HttpFoundation\Request::getScheme
* @method static string getScheme()
* @see \Illuminate\Http\Request::fullUrlIs
......@@ -1466,9 +1465,9 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Http\Request::toArray
* @method static array toArray()
* @see \Illuminate\Http\Request::allFiles
* @method static array allFiles()
* @method static array|array[]|\Illuminate\Http\UploadedFile[]|null[] allFiles()
* @see \Illuminate\Http\Request::user
* @method static mixed user(null|string $guard = null)
* @method static mixed user($guard = null)
* @see \Symfony\Component\HttpFoundation\Request::getLanguages
* @method static array getLanguages()
*/
......@@ -1476,27 +1475,27 @@ namespace Illuminate\Support\Facades {
/**
* @see \Illuminate\Contracts\Routing\ResponseFactory::download
* @method static \Symfony\Component\HttpFoundation\BinaryFileResponse download(\SplFileInfo|string $file, string $name = null, array $headers = [], null|string $disposition = 'attachment')
* @method static void download($file, $name = null, array $headers = [], $disposition = 'attachment')
* @see \Illuminate\Contracts\Routing\ResponseFactory::view
* @method static \Illuminate\Http\Response view(string $view, array $data = [], int $status = 200, array $headers = [])
* @method static void view($view, $data = [], $status = 200, array $headers = [])
* @see \Illuminate\Contracts\Routing\ResponseFactory::jsonp
* @method static \Illuminate\Http\JsonResponse jsonp(string $callback, array|string $data = [], int $status = 200, array $headers = [], int $options = 0)
* @method static void jsonp($callback, $data = [], $status = 200, array $headers = [], $options = 0)
* @see \Illuminate\Contracts\Routing\ResponseFactory::stream
* @method static \Symfony\Component\HttpFoundation\StreamedResponse stream(\Closure $callback, int $status = 200, array $headers = [])
* @method static void stream($callback, $status = 200, array $headers = [])
* @see \Illuminate\Contracts\Routing\ResponseFactory::redirectTo
* @method static \Illuminate\Http\RedirectResponse redirectTo(string $path, int $status = 302, array $headers = [], bool|null $secure = null)
* @method static void redirectTo($path, $status = 302, $headers = [], $secure = null)
* @see \Illuminate\Contracts\Routing\ResponseFactory::json
* @method static \Illuminate\Http\JsonResponse json(array|string $data = [], int $status = 200, array $headers = [], int $options = 0)
* @method static void json($data = [], $status = 200, array $headers = [], $options = 0)
* @see \Illuminate\Contracts\Routing\ResponseFactory::redirectToRoute
* @method static \Illuminate\Http\RedirectResponse redirectToRoute(string $route, array $parameters = [], int $status = 302, array $headers = [])
* @method static void redirectToRoute($route, $parameters = [], $status = 302, $headers = [])
* @see \Illuminate\Contracts\Routing\ResponseFactory::make
* @method static \Illuminate\Http\Response make(string $content = '', int $status = 200, array $headers = [])
* @method static void make($content = '', $status = 200, array $headers = [])
* @see \Illuminate\Contracts\Routing\ResponseFactory::redirectGuest
* @method static \Illuminate\Http\RedirectResponse redirectGuest(string $path, int $status = 302, array $headers = [], bool|null $secure = null)
* @method static void redirectGuest($path, $status = 302, $headers = [], $secure = null)
* @see \Illuminate\Contracts\Routing\ResponseFactory::redirectToAction
* @method static \Illuminate\Http\RedirectResponse redirectToAction(string $action, array $parameters = [], int $status = 302, array $headers = [])
* @method static void redirectToAction($action, $parameters = [], $status = 302, $headers = [])
* @see \Illuminate\Contracts\Routing\ResponseFactory::redirectToIntended
* @method static \Illuminate\Http\RedirectResponse redirectToIntended(string $default = '/', int $status = 302, array $headers = [], bool|null $secure = null)
* @method static void redirectToIntended($default = '/', $status = 302, $headers = [], $secure = null)
*/
class Response {}
......@@ -1668,63 +1667,63 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Session\Store::flashInput
* @method static void flashInput(array $value)
* @see \Illuminate\Session\Store::getBagData
* @method static array getBagData(string $name)
* @method static array|\ArrayAccess|mixed getBagData($name)
* @see \Illuminate\Session\Store::setRequestOnHandler
* @method static void setRequestOnHandler(\Symfony\Component\HttpFoundation\Request $request)
* @see \Illuminate\Session\Store::put
* @method static void put(array|string $key, $value = null)
* @method static void put($key, $value = null)
* @see \Illuminate\Session\Store::getToken
* @method static string getToken()
* @method static array|\ArrayAccess|mixed getToken()
* @see \Illuminate\Session\Store::previousUrl
* @method static null|string previousUrl()
* @method static array|\ArrayAccess|mixed previousUrl()
* @see \Illuminate\Session\Store::has
* @method static bool has($name)
* @see \Illuminate\Session\Store::all
* @method static array all()
* @see \Illuminate\Session\Store::setPreviousUrl
* @method static void setPreviousUrl(string $url)
* @method static void setPreviousUrl($url)
* @see \Illuminate\Session\Store::getId
* @method static string getId()
* @see \Illuminate\Session\Store::isValidId
* @method static bool isValidId(string $id)
* @method static bool isValidId($id)
* @see \Illuminate\Session\Store::push
* @method static void push(string $key, $value)
* @method static void push($key, $value)
* @see \Illuminate\Session\Store::setName
* @method static void setName($name)
* @see \Illuminate\Session\Store::reflash
* @method static void reflash()
* @see \Illuminate\Session\Store::forget
* @method static void forget(array|string $keys)
* @method static void forget($keys)
* @see \Illuminate\Session\Store::setExists
* @method static void setExists(bool $value)
* @method static void setExists($value)
* @see \Illuminate\Session\Store::regenerate
* @method static bool regenerate(bool $destroy = false)
* @method static bool regenerate($destroy = false)
* @see \Illuminate\Session\Store::isStarted
* @method static bool isStarted()
* @see \Illuminate\Session\Store::keep
* @method static void keep(array|mixed $keys = null)
* @method static void keep($keys = null)
* @see \Illuminate\Session\Store::getOldInput
* @method static mixed getOldInput(string $key = null, $default = null)
* @method static mixed getOldInput($key = null, $default = null)
* @see \Illuminate\Session\Store::migrate
* @method static bool migrate($destroy = false, $lifetime = null)
* @see \Illuminate\Session\Store::flash
* @method static void flash(string $key, $value)
* @method static void flash($key, $value)
* @see \Illuminate\Session\Store::hasOldInput
* @method static bool hasOldInput(string $key = null)
* @method static bool hasOldInput($key = null)
* @see \Illuminate\Session\Store::getMetadataBag
* @method static \Symfony\Component\HttpFoundation\Session\Storage\MetadataBag getMetadataBag()
* @see \Illuminate\Session\Store::save
* @method static void save()
* @see \Illuminate\Session\Store::increment
* @method static int|mixed increment(string $key, int $amount = 1)
* @method static array|\ArrayAccess|int|mixed increment($key, $amount = 1)
* @see \Illuminate\Session\Store::remove
* @method static array|\ArrayAccess|mixed remove($name)
* @method static mixed remove($name)
* @see \Illuminate\Session\Store::flush
* @method static void flush()
* @see \Illuminate\Session\Store::get
* @method static array|\ArrayAccess|mixed get($name, $default = null)
* @see \Illuminate\Session\Store::now
* @method static void now(string $key, $value)
* @method static void now($key, $value)
* @see \Illuminate\Session\Store::registerBag
* @method static void registerBag(\Symfony\Component\HttpFoundation\Session\SessionBagInterface $bag)
* @see \Illuminate\Session\Store::set
......@@ -1738,17 +1737,17 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Session\Store::invalidate
* @method static bool invalidate($lifetime = null)
* @see \Illuminate\Session\Store::token
* @method static string token()
* @method static array|\ArrayAccess|mixed token()
* @see \Illuminate\Session\Store::getName
* @method static mixed|string getName()
* @method static string getName()
* @see \Illuminate\Session\Store::pull
* @method static mixed pull(string $key, string $default = null)
* @method static mixed pull($key, $default = null)
* @see \Illuminate\Session\Store::decrement
* @method static int decrement(string $key, int $amount = 1)
* @method static array|\ArrayAccess|int|mixed decrement($key, $amount = 1)
* @see \Illuminate\Session\Store::setId
* @method static void setId($id)
* @see \Illuminate\Session\Store::getBag
* @method static array|\ArrayAccess|mixed|\Symfony\Component\HttpFoundation\Session\SessionBagInterface getBag($name)
* @method static array|\ArrayAccess|mixed getBag($name)
*/
class Session {}
......@@ -1842,17 +1841,17 @@ namespace Illuminate\Support\Facades {
/**
* @see \Illuminate\View\Factory::stopSection
* @method static string stopSection(bool $overwrite = false)
* @method static mixed stopSection($overwrite = false)
* @see \Illuminate\View\Factory::getSections
* @method static array getSections()
* @see \Illuminate\View\Factory::callComposer
* @method static void callComposer(\Illuminate\View\View $view)
* @see \Illuminate\View\Factory::yieldContent
* @method static string yieldContent(string $section, string $default = '')
* @method static string|string[] yieldContent($section, $default = '')
* @see \Illuminate\View\Factory::getEngineResolver
* @method static \Illuminate\View\Engines\EngineResolver getEngineResolver()
* @see \Illuminate\View\Factory::prependNamespace
* @method static void prependNamespace(string $namespace, array|string $hints)
* @method static void prependNamespace($namespace, $hints)
* @see \Illuminate\View\Factory::setContainer
* @method static void setContainer(\Illuminate\Contracts\Container\Container $container)
* @see \Illuminate\View\Factory::flushSectionsIfDoneRendering
......@@ -1860,27 +1859,27 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\View\Factory::getContainer
* @method static \Illuminate\Contracts\Container\Container getContainer()
* @see \Illuminate\View\Factory::addNamespace
* @method static void addNamespace(string $namespace, array|string $hints)
* @method static void addNamespace($namespace, $hints)
* @see \Illuminate\View\Factory::renderEach
* @method static string renderEach(string $view, array $data, string $iterator, string $empty = 'raw|')
* @method static false|mixed|string renderEach($view, $data, $iterator, $empty = 'raw|')
* @see \Illuminate\View\Factory::getNames
* @method static array getNames()
* @see \Illuminate\View\Factory::addLocation
* @method static void addLocation(string $location)
* @method static void addLocation($location)
* @see \Illuminate\View\Factory::incrementRender
* @method static void incrementRender()
* @see \Illuminate\View\Factory::decrementRender
* @method static void decrementRender()
* @see \Illuminate\View\Factory::getEngineFromPath
* @method static \Illuminate\View\Engines\EngineInterface getEngineFromPath(string $path)
* @method static mixed getEngineFromPath($path)
* @see \Illuminate\View\Factory::name
* @method static void name(string $view, string $name)
* @method static void name($view, $name)
* @see \Illuminate\View\Factory::yieldSection
* @method static string yieldSection()
* @method static string|string[] yieldSection()
* @see \Illuminate\View\Factory::appendSection
* @method static string appendSection()
* @method static mixed appendSection()
* @see \Illuminate\View\Factory::shared
* @method static mixed shared(string $key, $default = null)
* @method static array|\ArrayAccess|mixed shared($key, $default = null)
* @see \Illuminate\View\Factory::composers
* @method static array composers(array $composers)
* @see \Illuminate\View\Factory::setDispatcher
......@@ -1892,43 +1891,43 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\View\Factory::doneRendering
* @method static bool doneRendering()
* @see \Illuminate\View\Factory::hasSection
* @method static bool hasSection(string $name)
* @method static bool hasSection($name)
* @see \Illuminate\View\Factory::file
* @method static \Illuminate\Contracts\View\View|\Illuminate\View\View file(string $path, array $data = [], array $mergeData = [])
* @method static \Illuminate\View\View file($path, $data = [], $mergeData = [])
* @see \Illuminate\View\Factory::getDispatcher
* @method static \Illuminate\Contracts\Events\Dispatcher getDispatcher()
* @see \Illuminate\View\Factory::of
* @method static \Illuminate\Contracts\View\View|\Illuminate\View\View of(string $view, $data = [])
* @method static \Illuminate\View\View of($view, $data = [])
* @see \Illuminate\View\Factory::yieldPushContent
* @method static string yieldPushContent(string $section, string $default = '')
* @method static mixed|string yieldPushContent($section, $default = '')
* @see \Illuminate\View\Factory::alias
* @method static void alias(string $view, string $alias)
* @method static void alias($view, $alias)
* @see \Illuminate\View\Factory::share
* @method static mixed share(array|string $key, $value = null)
* @method static mixed|null|void share($key, $value = null)
* @see \Illuminate\View\Factory::make
* @method static \Illuminate\Contracts\View\View|\Illuminate\View\View make(string $view, array $data = [], array $mergeData = [])
* @method static \Illuminate\View\View make($view, $data = [], $mergeData = [])
* @see \Illuminate\View\Factory::startPush
* @method static void startPush(string $section, string $content = '')
* @method static void startPush($section, $content = '')
* @see \Illuminate\View\Factory::stopPush
* @method static string stopPush()
* @method static mixed stopPush()
* @see \Illuminate\View\Factory::creator
* @method static array creator(array|string $views, \Closure|string $callback)
* @method static array creator($views, $callback)
* @see \Illuminate\View\Factory::composer
* @method static array composer(array|string $views, \Closure|string $callback, int|null $priority = null)
* @method static array composer($views, $callback, $priority = null)
* @see \Illuminate\View\Factory::addExtension
* @method static void addExtension(string $extension, string $engine, \Closure $resolver = null)
* @method static void addExtension($extension, $engine, $resolver = null)
* @see \Illuminate\View\Factory::getShared
* @method static array getShared()
* @see \Illuminate\View\Factory::startSection
* @method static void startSection(string $section, string $content = '')
* @method static void startSection($section, $content = '')
* @see \Illuminate\View\Factory::setFinder
* @method static void setFinder(\Illuminate\View\ViewFinderInterface $finder)
* @see \Illuminate\View\Factory::exists
* @method static bool exists(string $view)
* @method static bool exists($view)
* @see \Illuminate\View\Factory::inject
* @method static void inject(string $section, string $content)
* @method static void inject($section, $content)
* @see \Illuminate\View\Factory::getExtensions
* @method static array|string[] getExtensions()
* @method static string[] getExtensions()
* @see \Illuminate\View\Factory::callCreator
* @method static void callCreator(\Illuminate\View\View $view)
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment