Commit e2aa0390 by 杨树贤

导出供应商

parent 47a5b647
......@@ -979,4 +979,70 @@ class DataService
});
})->store('csv');
}
public function exportNotUploadSkuSupplier()
{
ini_set('memory_limit', -1);
// $time = strtotime('2021-1-1');
// $suppliers = SupplierChannelModel::where('is_type', 0)->where('uploaded_sku', 1)
$time = strtotime('2021-1-1');
$suppliers = SupplierChannelModel::where('is_type', 0)->where('uploaded_sku', '!=', 1)
->whereRaw('supplier_name NOT LIKE "%-1"')
->where('create_time', '>', $time)->get();
$excelData = [];
$header = [
'供应商编码',
'供应商名称',
'采购员',
'部门',
];
$intraCodeModel = new IntracodeModel();
$users = $intraCodeModel->getSampleName(true);
foreach ($suppliers as $supplier) {
//去采购系统找采购单金额最多的用户
$purchaseAmountMap = [];
$channelUids = PurchaseOrderModel::where('supplier_id', $supplier['supplier_id'])->pluck('purchase_uid')->unique()->toArray();
if (empty($channelUids)) {
continue;
}
//去获取对应的uid的采购金额
foreach ($channelUids as $channelUid) {
//去采购系统取采购单金额
$purchaseOrders = PurchaseOrderModel::where('purchase_uid', $channelUid)->select([
'purchase_amount',
'exchange_rate',
'currency'
])->get()->toArray();
//计算出采购金额
$totalAmount = 0;
foreach ($purchaseOrders as $purchaseOrder) {
if ($purchaseOrder['currency'] == 1) {
$totalAmount += $purchaseOrder['purchase_amount'] * $purchaseOrder['exchange_rate'] * 1.13;
} else {
$totalAmount += $purchaseOrder['purchase_amount'] * $purchaseOrder['exchange_rate'];
}
}
$purchaseAmountMap[$channelUid] = $totalAmount;
}
asort($purchaseAmountMap);
dump($purchaseAmountMap);
$maxAmountPurchaseAdminId = array_keys($purchaseAmountMap)[0];
dump($maxAmountPurchaseAdminId);
$skuUserNameRaw = UserInfoModel::where('userId', $maxAmountPurchaseAdminId)->value('name');
$skuUserDepartment = (new DepartmentService())->getDepartmentNameByUserName($skuUserNameRaw);
$itemData = [
$supplier['supplier_code'],
$supplier['supplier_name'],
$skuUserNameRaw,
$skuUserDepartment
];
$excelData[] = $itemData;
}
array_unshift($excelData, $header);
Excel::create('供应商无sku做单导出', function ($excel) use ($excelData) {
$excel->sheet('sheet1', function ($sheet) use ($excelData) {
$sheet->fromArray($excelData);
});
})->store('csv');
}
}
\ No newline at end of file
......@@ -67,7 +67,5 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Sync'], function ()
});
Route::match(['get', 'post'], '/test', function () {
$data['data']['title'] = "【猎芯网】 先生/女生您好,您的“云芯入驻申请”已收到,审核结果为:不通过,原因为:,如对审核结果有疑问,可联系您在猎芯的专属渠道经理(周强),联系电话:13512343214,联系邮箱:qiang@ichunt.com";
//// (new \App\Http\Services\MessageService())->sendMessage('supplier_apply_audit_mobile', $data, 18825159814, true);
// (new \App\Http\Services\MessageService())->sendMessage('supplier_apply_audit_email', $data, '648132694@qq.com', true);
(new \App\Http\Services\DataService())->exportNotUploadSkuSupplier();
});
<?php //7be1156b1f4885b5eb3e077bd4300933
<?php //0ffa8c24ce37a4b1f5466f89c2093b47
/** @noinspection all */
namespace Illuminate\Support\Facades {
......@@ -19,9 +19,9 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Foundation\Application::hasMonologConfigurator
* @method static bool hasMonologConfigurator()
* @see \Illuminate\Foundation\Application::getDeferredServices
* @method static array getDeferredServices()
* @method static array|mixed 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 \Symfony\Component\HttpFoundation\Response handle(\Symfony\Component\HttpFoundation\Request $request, $type = self::MASTER_REQUEST, $catch = true)
* @see \Illuminate\Container\Container::bindIf
......@@ -29,33 +29,33 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Foundation\Application::version
* @method static string version()
* @see \Illuminate\Container\Container::rebinding
* @method static mixed|object|void rebinding($abstract, \Closure $callback)
* @method static mixed|void rebinding($abstract, \Closure $callback)
* @see \Illuminate\Container\Container::extend
* @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()
* @method static bool|mixed hasBeenBootstrapped()
* @see \Illuminate\Container\Container::offsetUnset
* @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
* @method static void terminate()
* @see \Illuminate\Foundation\Application::environmentFile
* @method static string environmentFile()
* @method static mixed|string environmentFile()
* @see \Illuminate\Foundation\Application::getCachedCompilePath
* @method static string getCachedCompilePath()
* @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
......@@ -65,21 +65,21 @@ namespace Illuminate\Support\Facades {
* @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|mixed|null|string getNamespace()
* @see \Illuminate\Container\Container::resolved
* @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|object|void refresh($abstract, $target, $method)
* @method static mixed|null 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
......@@ -89,15 +89,15 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Container\Container::call
* @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
......@@ -113,13 +113,13 @@ 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($abstracts, $tags)
* @see \Illuminate\Foundation\Application::publicPath
......@@ -131,17 +131,17 @@ namespace Illuminate\Support\Facades {
* @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($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|object offsetGet($key)
* @method static mixed offsetGet($key)
* @see \Illuminate\Foundation\Application::langPath
* @method static string langPath()
* @see \Illuminate\Container\Container::offsetSet
......@@ -153,11 +153,11 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Container\Container::offsetExists
* @method static bool offsetExists($key)
* @see \Illuminate\Foundation\Application::afterLoadingEnvironment
* @method static void afterLoadingEnvironment(\Closure $callback)
* @method static null 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 void make($abstract, array $parameters = [])
* @see \Illuminate\Foundation\Application::getMonologConfigurator
* @method static callable|null getMonologConfigurator()
* @see \Illuminate\Foundation\Application::bootstrapWith
......@@ -171,21 +171,21 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Container\Container::resolving
* @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()
* @method static bool|mixed isBooted()
* @see \Illuminate\Foundation\Application::getCachedRoutesPath
* @method static string getCachedRoutesPath()
* @see \Illuminate\Container\Container::getBindings
* @method static array getBindings()
* @method static array|mixed 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|object build($concrete, array $parameters = [])
* @see \Illuminate\Foundation\Application::getCachedConfigPath
......@@ -193,7 +193,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Foundation\Application::configPath
* @method static string configPath()
* @see \Illuminate\Foundation\Application::getLoadedProviders
* @method static array getLoadedProviders()
* @method static array|mixed getLoadedProviders()
* @see \Illuminate\Container\Container::getInstance
* @method static \Illuminate\Container\Container getInstance()
*/
......@@ -215,41 +215,41 @@ namespace Illuminate\Support\Facades {
/**
* @see \Illuminate\Auth\AuthManager::setDefaultDriver
* @method static void setDefaultDriver($name)
* @method static void setDefaultDriver(string $name)
* @see \Illuminate\Auth\AuthManager::shouldUse
* @method static void shouldUse($name)
* @method static void shouldUse(string $name)
* @see \Illuminate\Auth\AuthManager::guard
* @method static mixed guard($name = null)
* @method static \Illuminate\Contracts\Auth\Guard|\Illuminate\Contracts\Auth\StatefulGuard guard(string $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($name, $config)
* @method static \Illuminate\Auth\TokenGuard createTokenDriver(string $name, array $config)
* @see \Illuminate\Auth\AuthManager::viaRequest
* @method static \Illuminate\Auth\AuthManager viaRequest($driver, callable $callback)
* @method static \Illuminate\Auth\AuthManager viaRequest(string $driver, callable $callback)
* @see \Illuminate\Auth\AuthManager::extend
* @method static \Illuminate\Auth\AuthManager extend($driver, \Closure $callback)
* @method static \Illuminate\Auth\AuthManager extend(string $driver, \Closure $callback)
* @see \Illuminate\Auth\AuthManager::provider
* @method static \Illuminate\Auth\AuthManager provider($name, \Closure $callback)
* @method static \Illuminate\Auth\AuthManager provider(string $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($name, $config)
* @method static \Illuminate\Auth\SessionGuard createSessionDriver(string $name, array $config)
* @see \Illuminate\Auth\AuthManager::getDefaultDriver
* @method static void getDefaultDriver()
* @method static string 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 void onceUsingId($id)
* @see \Illuminate\Contracts\Auth\StatefulGuard::login
......@@ -269,51 +269,51 @@ namespace Illuminate\Support\Facades {
/**
* @see \Illuminate\View\Compilers\BladeCompiler::getCustomDirectives
* @method static array getCustomDirectives()
* @method static array|mixed 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($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($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 mixed|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()
* @method static array|mixed getExtensions()
*/
class Blade {}
/**
* @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 {}
......@@ -339,7 +339,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Cache\Repository::rememberForever
* @method static array|mixed rememberForever(string $key, \Closure $callback)
* @see \Illuminate\Cache\Repository::put
* @method static void put(string $key, $value, \DateTime|int $minutes = null)
* @method static null|void put(string $key, $value, \DateTime|int $minutes = null)
* @see \Illuminate\Cache\Repository::remember
* @method static array|mixed remember(string $key, \DateTime|int $minutes, \Closure $callback)
* @see \Illuminate\Support\Traits\Macroable::hasMacro
......@@ -385,41 +385,41 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Config\Repository::all
* @method static array all()
* @see \Illuminate\Config\Repository::offsetGet
* @method static array|\ArrayAccess|mixed offsetGet($key)
* @method static mixed offsetGet(string $key)
* @see \Illuminate\Config\Repository::set
* @method static void set($key, $value = null)
* @method static void set(array|string $key, $value = null)
* @see \Illuminate\Config\Repository::offsetUnset
* @method static void offsetUnset($key)
* @method static void offsetUnset(string $key)
* @see \Illuminate\Config\Repository::get
* @method static array|\ArrayAccess|mixed get($key, $default = null)
* @method static mixed get(string $key, $default = null)
* @see \Illuminate\Config\Repository::prepend
* @method static void prepend($key, $value)
* @method static void prepend(string $key, $value)
* @see \Illuminate\Config\Repository::offsetExists
* @method static bool offsetExists($key)
* @method static bool offsetExists(string $key)
* @see \Illuminate\Config\Repository::has
* @method static bool has($key)
* @method static bool has(string $key)
* @see \Illuminate\Config\Repository::offsetSet
* @method static void offsetSet($key, $value)
* @method static void offsetSet(string $key, $value)
* @see \Illuminate\Config\Repository::push
* @method static void push($key, $value)
* @method static void push(string $key, $value)
*/
class Config {}
/**
* @see \Illuminate\Cookie\CookieJar::forget
* @method static \Symfony\Component\HttpFoundation\Cookie forget($name, $path = null, $domain = null)
* @method static \Symfony\Component\HttpFoundation\Cookie forget(string $name, string $path = null, string $domain = null)
* @see \Illuminate\Cookie\CookieJar::hasQueued
* @method static bool hasQueued($key)
* @method static bool hasQueued(string $key)
* @see \Illuminate\Cookie\CookieJar::unqueue
* @method static void unqueue($name)
* @method static void unqueue(string $name)
* @see \Illuminate\Cookie\CookieJar::queued
* @method static array|\ArrayAccess|mixed queued($key, $default = null)
* @method static \Symfony\Component\HttpFoundation\Cookie queued(string $key, $default = null)
* @see \Illuminate\Cookie\CookieJar::setDefaultPathAndDomain
* @method static \Illuminate\Cookie\CookieJar setDefaultPathAndDomain($path, $domain, $secure = false)
* @method static \Illuminate\Cookie\CookieJar setDefaultPathAndDomain(string $path, string $domain, bool $secure = false)
* @see \Illuminate\Cookie\CookieJar::forever
* @method static \Symfony\Component\HttpFoundation\Cookie forever($name, $value, $path = null, $domain = null, $secure = false, $httpOnly = true)
* @method static \Symfony\Component\HttpFoundation\Cookie forever(string $name, string $value, string $path = null, string $domain = null, bool $secure = false, bool $httpOnly = true)
* @see \Illuminate\Cookie\CookieJar::make
* @method static \Symfony\Component\HttpFoundation\Cookie make($name, $value, $minutes = 0, $path = null, $domain = null, $secure = false, $httpOnly = true)
* @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)
* @see \Illuminate\Cookie\CookieJar::getQueuedCookies
* @method static array getQueuedCookies()
* @see \Illuminate\Cookie\CookieJar::queue
......@@ -429,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 {}
......@@ -687,33 +687,33 @@ namespace Illuminate\Support\Facades {
/**
* @see \Illuminate\Contracts\Auth\Access\Gate::allows
* @method static void allows($ability, $arguments = [])
* @method static bool allows(string $ability, array|mixed $arguments = [])
* @see \Illuminate\Contracts\Auth\Access\Gate::before
* @method static void before(callable $callback)
* @method static \Illuminate\Contracts\Auth\Access\Gate before(callable $callback)
* @see \Illuminate\Contracts\Auth\Access\Gate::forUser
* @method static void forUser($user)
* @method static \Illuminate\Contracts\Auth\Access\Gate forUser(\Illuminate\Contracts\Auth\Authenticatable|mixed $user)
* @see \Illuminate\Contracts\Auth\Access\Gate::define
* @method static void define($ability, $callback)
* @method static \Illuminate\Contracts\Auth\Access\Gate define(string $ability, callable|string $callback)
* @see \Illuminate\Contracts\Auth\Access\Gate::has
* @method static void has($ability)
* @method static bool has(string $ability)
* @see \Illuminate\Contracts\Auth\Access\Gate::check
* @method static void check($ability, $arguments = [])
* @method static bool check(string $ability, array|mixed $arguments = [])
* @see \Illuminate\Contracts\Auth\Access\Gate::denies
* @method static void denies($ability, $arguments = [])
* @method static bool denies(string $ability, array|mixed $arguments = [])
* @see \Illuminate\Contracts\Auth\Access\Gate::policy
* @method static void policy($class, $policy)
* @method static \Illuminate\Contracts\Auth\Access\Gate policy(string $class, string $policy)
*/
class Gate {}
/**
* @see \Illuminate\Hashing\BcryptHasher::setRounds
* @method static \Illuminate\Hashing\BcryptHasher setRounds($rounds)
* @method static \Illuminate\Hashing\BcryptHasher setRounds(int $rounds)
* @see \Illuminate\Hashing\BcryptHasher::needsRehash
* @method static bool needsRehash($hashedValue, array $options = [])
* @method static bool needsRehash(string $hashedValue, array $options = [])
* @see \Illuminate\Hashing\BcryptHasher::check
* @method static bool check($value, $hashedValue, array $options = [])
* @method static bool check(string $value, string $hashedValue, array $options = [])
* @see \Illuminate\Hashing\BcryptHasher::make
* @method static null|string make($value, array $options = [])
* @method static string make(string $value, array $options = [])
*/
class Hash {}
......@@ -757,7 +757,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Http\Request::old
* @method static void old($key = null, $default = null)
* @see \Illuminate\Http\Request::ip
* @method static mixed|string ip()
* @method static mixed|null|string ip()
* @see \Symfony\Component\HttpFoundation\Request::getContent
* @method static false|resource|string getContent($asResource = false)
* @see \Symfony\Component\HttpFoundation\Request::getBaseUrl
......@@ -767,7 +767,7 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::getUriForPath
* @method static string getUriForPath($path)
* @see \Illuminate\Http\Request::ips
* @method static array ips()
* @method static array|null[] ips()
* @see \Illuminate\Http\Request::getRouteResolver
* @method static \Closure getRouteResolver()
* @see \Illuminate\Http\Request::input
......@@ -779,9 +779,9 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::getPathInfo
* @method static array|mixed|null|string getPathInfo()
* @see \Illuminate\Http\Request::offsetUnset
* @method static void offsetUnset($offset)
* @method static null offsetUnset($offset)
* @see \Illuminate\Http\Request::flashOnly
* @method static void flashOnly($keys)
* @method static null flashOnly($keys)
* @see \Illuminate\Http\Request::except
* @method static array except($keys)
* @see \Illuminate\Http\Request::decodedPath
......@@ -821,7 +821,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Support\Traits\Macroable::hasMacro
* @method static bool hasMacro($name)
* @see \Symfony\Component\HttpFoundation\Request::getContentType
* @method static int|string|void getContentType()
* @method static int|null|string getContentType()
* @see \Symfony\Component\HttpFoundation\Request::get
* @method static mixed|null get($key, $default = null)
* @see \Illuminate\Http\Request::matchesType
......@@ -833,7 +833,7 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::getTrustedProxies
* @method static array getTrustedProxies()
* @see \Symfony\Component\HttpFoundation\Request::getDefaultLocale
* @method static string getDefaultLocale()
* @method static mixed|string getDefaultLocale()
* @see \Symfony\Component\HttpFoundation\Request::getCharsets
* @method static array getCharsets()
* @see \Symfony\Component\HttpFoundation\Request::getSession
......@@ -851,7 +851,7 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::getPassword
* @method static array|mixed|null|string getPassword()
* @see \Symfony\Component\HttpFoundation\Request::getLocale
* @method static string getLocale()
* @method static mixed|string getLocale()
* @see \Illuminate\Http\Request::exists
* @method static bool exists($key)
* @see \Symfony\Component\HttpFoundation\Request::initialize
......@@ -881,7 +881,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Http\Request::bearerToken
* @method static string|void bearerToken()
* @see \Symfony\Component\HttpFoundation\Request::getClientIps
* @method static array getClientIps()
* @method static array|null[] getClientIps()
* @see \Illuminate\Http\Request::segment
* @method static mixed segment($index, $default = null)
* @see \Illuminate\Http\Request::only
......@@ -907,13 +907,13 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Http\Request::query
* @method static void query($key = null, $default = null)
* @see \Illuminate\Http\Request::format
* @method static int|mixed|null|string|void format($default = 'html')
* @method static int|mixed|string format($default = 'html')
* @see \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)
* @method static \Illuminate\Http\Request|\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 mixed getClientIp()
* @method static mixed|null getClientIp()
* @see \Illuminate\Http\Request::hasCookie
* @method static bool hasCookie($key)
* @see \Symfony\Component\HttpFoundation\Request::getUser
......@@ -933,13 +933,13 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::isNoCache
* @method static bool isNoCache()
* @see \Illuminate\Http\Request::offsetSet
* @method static void offsetSet($offset, $value)
* @method static null offsetSet($offset, $value)
* @see \Symfony\Component\HttpFoundation\Request::getMethod
* @method static string getMethod()
* @see \Symfony\Component\HttpFoundation\Request::getMimeType
* @method static mixed|null getMimeType($format)
* @see \Illuminate\Http\Request::flashExcept
* @method static void flashExcept($keys)
* @method static null flashExcept($keys)
* @see \Illuminate\Http\Request::flush
* @method static void flush()
* @see \Symfony\Component\HttpFoundation\Request::normalizeQueryString
......@@ -971,11 +971,11 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::getAcceptableContentTypes
* @method static array getAcceptableContentTypes()
* @see \Symfony\Component\HttpFoundation\Request::getRequestUri
* @method static array|false|mixed|null|string getRequestUri()
* @method static array|mixed|null|string getRequestUri()
* @see \Illuminate\Http\Request::toArray
* @method static array toArray()
* @see \Illuminate\Http\Request::allFiles
* @method static array|array[]|\array[][]|\Illuminate\Http\UploadedFile[]|\Illuminate\Http\UploadedFile[][]|null[]|\null[][] allFiles()
* @method static array|array[]|\array[][]|\array[][][]|\Illuminate\Http\UploadedFile[]|\Illuminate\Http\UploadedFile[][]|\Illuminate\Http\UploadedFile[][][]|null[]|\null[][]|\null[][][] allFiles()
* @see \Illuminate\Http\Request::user
* @method static mixed user($guard = null)
* @see \Symfony\Component\HttpFoundation\Request::getLanguages
......@@ -1003,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
......@@ -1025,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 null debug($message, array $context = [])
* @see \Illuminate\Log\Writer::critical
* @method static void critical(string $message, array $context = [])
* @method static null critical($message, array $context = [])
* @see \Illuminate\Log\Writer::log
* @method static void log(string $level, string $message, array $context = [])
* @method static null 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 null 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 null 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 null 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 null 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 null write($level, $message, array $context = [])
* @see \Illuminate\Log\Writer::info
* @method static void info(string $message, array $context = [])
* @method static null info($message, array $context = [])
* @see \Illuminate\Log\Writer::notice
* @method static void notice(string $message, array $context = [])
* @method static null notice($message, array $context = [])
*/
class Log {}
......@@ -1075,7 +1075,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Mail\Mailer::later
* @method static mixed later(int $delay, array|string $view, array $data, \Closure|string $callback, null|string $queue = null)
* @see \Illuminate\Mail\Mailer::plain
* @method static void plain(string $view, array $data, $callback)
* @method static null|void plain(string $view, array $data, $callback)
* @see \Illuminate\Mail\Mailer::alwaysTo
* @method static void alwaysTo(string $address, null|string $name = null)
* @see \Illuminate\Mail\Mailer::getViewFactory
......@@ -1087,13 +1087,13 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Mail\Mailer::onQueue
* @method static mixed onQueue(string $queue, array|string $view, array $data, \Closure|string $callback)
* @see \Illuminate\Mail\Mailer::raw
* @method static void raw(string $text, $callback)
* @method static null|void raw(string $text, $callback)
* @see \Illuminate\Mail\Mailer::setQueue
* @method static \Illuminate\Mail\Mailer setQueue(\Illuminate\Contracts\Queue\Queue $queue)
* @see \Illuminate\Mail\Mailer::handleQueuedMessage
* @method static void handleQueuedMessage(\Illuminate\Contracts\Queue\Job $job, array $data)
* @see \Illuminate\Mail\Mailer::send
* @method static void send(array|string $view, array $data, \Closure|string $callback)
* @method static null|void send(array|string $view, array $data, \Closure|string $callback)
* @see \Illuminate\Mail\Mailer::queueOn
* @method static mixed queueOn(string $queue, array|string $view, array $data, \Closure|string $callback)
* @see \Illuminate\Mail\Mailer::queue
......@@ -1117,9 +1117,9 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Auth\Passwords\PasswordBroker::getRepository
* @method static \Illuminate\Auth\Passwords\TokenRepositoryInterface getRepository()
* @see \Illuminate\Auth\Passwords\PasswordBroker::getUser
* @method static \Illuminate\Contracts\Auth\CanResetPassword|null getUser(array $credentials)
* @method static \Illuminate\Contracts\Auth\CanResetPassword getUser(array $credentials)
* @see \Illuminate\Auth\Passwords\PasswordBroker::reset
* @method static \Illuminate\Contracts\Auth\CanResetPassword|mixed|null reset(array $credentials, \Closure $callback)
* @method static \Illuminate\Contracts\Auth\CanResetPassword|mixed reset(array $credentials, \Closure $callback)
* @see \Illuminate\Auth\Passwords\PasswordBroker::validateNewPassword
* @method static bool validateNewPassword(array $credentials)
*/
......@@ -1141,7 +1141,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Queue\QueueManager::connected
* @method static bool connected(string $name = null)
* @see \Illuminate\Queue\QueueManager::extend
* @method static void extend(string $driver, \Closure $resolver)
* @method static null|void extend(string $driver, \Closure $resolver)
* @see \Illuminate\Queue\QueueManager::getName
* @method static string getName(string $connection = null)
* @see \Illuminate\Queue\QueueManager::stopping
......@@ -1201,7 +1201,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Redis\Database::connection
* @method static null|\Predis\ClientInterface connection(string $name = 'default')
* @see \Illuminate\Redis\Database::psubscribe
* @method static void psubscribe(array|string $channels, \Closure $callback, string $connection = null)
* @method static null|void psubscribe(array|string $channels, \Closure $callback, string $connection = null)
* @see \Illuminate\Redis\Database::command
* @method static mixed command(string $method, array $parameters = [])
*/
......@@ -1247,7 +1247,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Http\Request::old
* @method static void old($key = null, $default = null)
* @see \Illuminate\Http\Request::ip
* @method static mixed|string ip()
* @method static mixed|null|string ip()
* @see \Symfony\Component\HttpFoundation\Request::getContent
* @method static false|resource|string getContent($asResource = false)
* @see \Symfony\Component\HttpFoundation\Request::getBaseUrl
......@@ -1257,7 +1257,7 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::getUriForPath
* @method static string getUriForPath($path)
* @see \Illuminate\Http\Request::ips
* @method static array ips()
* @method static array|null[] ips()
* @see \Illuminate\Http\Request::getRouteResolver
* @method static \Closure getRouteResolver()
* @see \Illuminate\Http\Request::input
......@@ -1269,9 +1269,9 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::getPathInfo
* @method static array|mixed|null|string getPathInfo()
* @see \Illuminate\Http\Request::offsetUnset
* @method static void offsetUnset($offset)
* @method static null offsetUnset($offset)
* @see \Illuminate\Http\Request::flashOnly
* @method static void flashOnly($keys)
* @method static null flashOnly($keys)
* @see \Illuminate\Http\Request::except
* @method static array except($keys)
* @see \Illuminate\Http\Request::decodedPath
......@@ -1311,7 +1311,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Support\Traits\Macroable::hasMacro
* @method static bool hasMacro($name)
* @see \Symfony\Component\HttpFoundation\Request::getContentType
* @method static int|string|void getContentType()
* @method static int|null|string getContentType()
* @see \Symfony\Component\HttpFoundation\Request::get
* @method static mixed|null get($key, $default = null)
* @see \Illuminate\Http\Request::matchesType
......@@ -1323,7 +1323,7 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::getTrustedProxies
* @method static array getTrustedProxies()
* @see \Symfony\Component\HttpFoundation\Request::getDefaultLocale
* @method static string getDefaultLocale()
* @method static mixed|string getDefaultLocale()
* @see \Symfony\Component\HttpFoundation\Request::getCharsets
* @method static array getCharsets()
* @see \Symfony\Component\HttpFoundation\Request::getSession
......@@ -1341,7 +1341,7 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::getPassword
* @method static array|mixed|null|string getPassword()
* @see \Symfony\Component\HttpFoundation\Request::getLocale
* @method static string getLocale()
* @method static mixed|string getLocale()
* @see \Illuminate\Http\Request::exists
* @method static bool exists($key)
* @see \Symfony\Component\HttpFoundation\Request::initialize
......@@ -1371,7 +1371,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Http\Request::bearerToken
* @method static string|void bearerToken()
* @see \Symfony\Component\HttpFoundation\Request::getClientIps
* @method static array getClientIps()
* @method static array|null[] getClientIps()
* @see \Illuminate\Http\Request::segment
* @method static mixed segment($index, $default = null)
* @see \Illuminate\Http\Request::only
......@@ -1397,13 +1397,13 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Http\Request::query
* @method static void query($key = null, $default = null)
* @see \Illuminate\Http\Request::format
* @method static int|mixed|null|string|void format($default = 'html')
* @method static int|mixed|string format($default = 'html')
* @see \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)
* @method static \Illuminate\Http\Request|\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 mixed getClientIp()
* @method static mixed|null getClientIp()
* @see \Illuminate\Http\Request::hasCookie
* @method static bool hasCookie($key)
* @see \Symfony\Component\HttpFoundation\Request::getUser
......@@ -1423,13 +1423,13 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::isNoCache
* @method static bool isNoCache()
* @see \Illuminate\Http\Request::offsetSet
* @method static void offsetSet($offset, $value)
* @method static null offsetSet($offset, $value)
* @see \Symfony\Component\HttpFoundation\Request::getMethod
* @method static string getMethod()
* @see \Symfony\Component\HttpFoundation\Request::getMimeType
* @method static mixed|null getMimeType($format)
* @see \Illuminate\Http\Request::flashExcept
* @method static void flashExcept($keys)
* @method static null flashExcept($keys)
* @see \Illuminate\Http\Request::flush
* @method static void flush()
* @see \Symfony\Component\HttpFoundation\Request::normalizeQueryString
......@@ -1461,11 +1461,11 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::getAcceptableContentTypes
* @method static array getAcceptableContentTypes()
* @see \Symfony\Component\HttpFoundation\Request::getRequestUri
* @method static array|false|mixed|null|string getRequestUri()
* @method static array|mixed|null|string getRequestUri()
* @see \Illuminate\Http\Request::toArray
* @method static array toArray()
* @see \Illuminate\Http\Request::allFiles
* @method static array|array[]|\Illuminate\Http\UploadedFile[]|null[] allFiles()
* @method static array|array[]|\array[][]|\Illuminate\Http\UploadedFile[]|\Illuminate\Http\UploadedFile[][]|null[]|\null[][] allFiles()
* @see \Illuminate\Http\Request::user
* @method static mixed user($guard = null)
* @see \Symfony\Component\HttpFoundation\Request::getLanguages
......@@ -1475,27 +1475,27 @@ namespace Illuminate\Support\Facades {
/**
* @see \Illuminate\Contracts\Routing\ResponseFactory::download
* @method static void download($file, $name = null, array $headers = [], $disposition = 'attachment')
* @method static \Symfony\Component\HttpFoundation\BinaryFileResponse download(\SplFileInfo|string $file, string $name = null, array $headers = [], null|string $disposition = 'attachment')
* @see \Illuminate\Contracts\Routing\ResponseFactory::view
* @method static void view($view, $data = [], $status = 200, array $headers = [])
* @method static \Illuminate\Http\Response view(string $view, array $data = [], int $status = 200, array $headers = [])
* @see \Illuminate\Contracts\Routing\ResponseFactory::jsonp
* @method static void jsonp($callback, $data = [], $status = 200, array $headers = [], $options = 0)
* @method static \Illuminate\Http\JsonResponse jsonp(string $callback, array|string $data = [], int $status = 200, array $headers = [], int $options = 0)
* @see \Illuminate\Contracts\Routing\ResponseFactory::stream
* @method static void stream($callback, $status = 200, array $headers = [])
* @method static \Symfony\Component\HttpFoundation\StreamedResponse stream(\Closure $callback, int $status = 200, array $headers = [])
* @see \Illuminate\Contracts\Routing\ResponseFactory::redirectTo
* @method static void redirectTo($path, $status = 302, $headers = [], $secure = null)
* @method static \Illuminate\Http\RedirectResponse redirectTo(string $path, int $status = 302, array $headers = [], bool|null $secure = null)
* @see \Illuminate\Contracts\Routing\ResponseFactory::json
* @method static void json($data = [], $status = 200, array $headers = [], $options = 0)
* @method static \Illuminate\Http\JsonResponse json(array|string $data = [], int $status = 200, array $headers = [], int $options = 0)
* @see \Illuminate\Contracts\Routing\ResponseFactory::redirectToRoute
* @method static void redirectToRoute($route, $parameters = [], $status = 302, $headers = [])
* @method static \Illuminate\Http\RedirectResponse redirectToRoute(string $route, array $parameters = [], int $status = 302, array $headers = [])
* @see \Illuminate\Contracts\Routing\ResponseFactory::make
* @method static void make($content = '', $status = 200, array $headers = [])
* @method static \Illuminate\Http\Response make(string $content = '', int $status = 200, array $headers = [])
* @see \Illuminate\Contracts\Routing\ResponseFactory::redirectGuest
* @method static void redirectGuest($path, $status = 302, $headers = [], $secure = null)
* @method static \Illuminate\Http\RedirectResponse redirectGuest(string $path, int $status = 302, array $headers = [], bool|null $secure = null)
* @see \Illuminate\Contracts\Routing\ResponseFactory::redirectToAction
* @method static void redirectToAction($action, $parameters = [], $status = 302, $headers = [])
* @method static \Illuminate\Http\RedirectResponse redirectToAction(string $action, array $parameters = [], int $status = 302, array $headers = [])
* @see \Illuminate\Contracts\Routing\ResponseFactory::redirectToIntended
* @method static void redirectToIntended($default = '/', $status = 302, $headers = [], $secure = null)
* @method static \Illuminate\Http\RedirectResponse redirectToIntended(string $default = '/', int $status = 302, array $headers = [], bool|null $secure = null)
*/
class Response {}
......@@ -1645,13 +1645,13 @@ namespace Illuminate\Support\Facades {
/**
* @see \Illuminate\Session\SessionManager::setDefaultDriver
* @method static void setDefaultDriver(string $name)
* @method static void setDefaultDriver($name)
* @see \Illuminate\Session\SessionManager::getSessionConfig
* @method static array getSessionConfig()
* @method static void getSessionConfig()
* @see \Illuminate\Support\Manager::extend
* @method static \Illuminate\Support\Manager extend($driver, \Closure $callback)
* @method static \Illuminate\Support\Manager extend(string $driver, \Closure $callback)
* @see \Illuminate\Support\Manager::driver
* @method static mixed driver($driver = null)
* @method static mixed driver(string $driver = null)
* @see \Illuminate\Session\SessionManager::getDefaultDriver
* @method static string getDefaultDriver()
* @see \Illuminate\Support\Manager::getDrivers
......@@ -1679,9 +1679,9 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Session\Store::has
* @method static bool has($name)
* @see \Illuminate\Session\Store::all
* @method static array all()
* @method static array|mixed all()
* @see \Illuminate\Session\Store::setPreviousUrl
* @method static void setPreviousUrl($url)
* @method static null setPreviousUrl($url)
* @see \Illuminate\Session\Store::getId
* @method static string getId()
* @see \Illuminate\Session\Store::isValidId
......@@ -1697,15 +1697,15 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Session\Store::setExists
* @method static void setExists($value)
* @see \Illuminate\Session\Store::regenerate
* @method static bool regenerate($destroy = false)
* @method static true regenerate($destroy = false)
* @see \Illuminate\Session\Store::isStarted
* @method static bool isStarted()
* @method static bool|mixed isStarted()
* @see \Illuminate\Session\Store::keep
* @method static void keep($keys = null)
* @see \Illuminate\Session\Store::getOldInput
* @method static mixed getOldInput($key = null, $default = null)
* @see \Illuminate\Session\Store::migrate
* @method static bool migrate($destroy = false, $lifetime = null)
* @method static true migrate($destroy = false, $lifetime = null)
* @see \Illuminate\Session\Store::flash
* @method static void flash($key, $value)
* @see \Illuminate\Session\Store::hasOldInput
......@@ -1729,17 +1729,17 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Session\Store::set
* @method static void set($name, $value)
* @see \Illuminate\Session\Store::start
* @method static bool start()
* @method static true start()
* @see \Illuminate\Session\Store::clear
* @method static void clear()
* @see \Illuminate\Session\Store::getHandler
* @method static \SessionHandlerInterface getHandler()
* @see \Illuminate\Session\Store::invalidate
* @method static bool invalidate($lifetime = null)
* @method static true invalidate($lifetime = null)
* @see \Illuminate\Session\Store::token
* @method static array|\ArrayAccess|mixed token()
* @see \Illuminate\Session\Store::getName
* @method static string getName()
* @method static mixed|string getName()
* @see \Illuminate\Session\Store::pull
* @method static mixed pull($key, $default = null)
* @see \Illuminate\Session\Store::decrement
......@@ -1777,15 +1777,15 @@ namespace Illuminate\Support\Facades {
/**
* @see \Illuminate\Routing\UrlGenerator::secure
* @method static string secure($path, $parameters = [])
* @method static string secure(string $path, array $parameters = [])
* @see \Illuminate\Routing\UrlGenerator::current
* @method static string current()
* @see \Illuminate\Support\Traits\Macroable::hasMacro
* @method static bool hasMacro($name)
* @see \Illuminate\Routing\UrlGenerator::action
* @method static string action($action, $parameters = [], $absolute = true)
* @method static string action(string $action, $parameters = [], bool $absolute = true)
* @see \Illuminate\Routing\UrlGenerator::secureAsset
* @method static string secureAsset($path)
* @method static string secureAsset(string $path)
* @see \Illuminate\Routing\UrlGenerator::getRequest
* @method static \Illuminate\Http\Request getRequest()
* @see \Illuminate\Support\Traits\Macroable::macro
......@@ -1797,23 +1797,23 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Routing\UrlGenerator::setRoutes
* @method static \Illuminate\Routing\UrlGenerator setRoutes(\Illuminate\Routing\RouteCollection $routes)
* @see \Illuminate\Routing\UrlGenerator::route
* @method static string route($name, $parameters = [], $absolute = true)
* @method static string route(string $name, $parameters = [], bool $absolute = true)
* @see \Illuminate\Routing\UrlGenerator::forceRootUrl
* @method static void forceRootUrl($root)
* @method static void forceRootUrl(string $root)
* @see \Illuminate\Routing\UrlGenerator::assetFrom
* @method static string assetFrom($root, $path, $secure = null)
* @method static string assetFrom(string $root, string $path, bool|null $secure = null)
* @see \Illuminate\Routing\UrlGenerator::forceSchema
* @method static void forceSchema($schema)
* @method static void forceSchema(string $schema)
* @see \Illuminate\Routing\UrlGenerator::setRequest
* @method static void setRequest(\Illuminate\Http\Request $request)
* @see \Illuminate\Routing\UrlGenerator::setRootControllerNamespace
* @method static \Illuminate\Routing\UrlGenerator setRootControllerNamespace($rootNamespace)
* @method static \Illuminate\Routing\UrlGenerator setRootControllerNamespace(string $rootNamespace)
* @see \Illuminate\Routing\UrlGenerator::to
* @method static string to($path, $extra = [], $secure = null)
* @method static string to(string $path, $extra = [], bool|null $secure = null)
* @see \Illuminate\Routing\UrlGenerator::isValidUrl
* @method static bool isValidUrl($path)
* @method static bool isValidUrl(string $path)
* @see \Illuminate\Routing\UrlGenerator::asset
* @method static string asset($path, $secure = null)
* @method static string asset(string $path, bool|null $secure = null)
* @see \Illuminate\Routing\UrlGenerator::full
* @method static string full()
*/
......@@ -1925,7 +1925,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\View\Factory::exists
* @method static bool exists(string $view)
* @see \Illuminate\View\Factory::inject
* @method static void inject(string $section, string $content)
* @method static null|void inject(string $section, string $content)
* @see \Illuminate\View\Factory::getExtensions
* @method static array|string[] getExtensions()
* @see \Illuminate\View\Factory::callCreator
......@@ -1965,4 +1965,4 @@ namespace {
class URL extends Illuminate\Support\Facades\URL {}
class Validator extends Illuminate\Support\Facades\Validator {}
class View extends Illuminate\Support\Facades\View {}
}
\ No newline at end of file
}
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