Commit b8164862 by mushishixian

修改供应商SKU有效期限制页面

parent a54e3be9
......@@ -4,14 +4,8 @@ namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use App\Http\Services\SkuService;
use App\Http\Services\SupplierContactService;
use App\Http\Services\SupplierStatisticsService;
use App\Http\Transformers\SupplierContactTransformer;
use App\Http\Validators\SupplierContactValidator;
use App\Model\RedisModel;
use App\Model\SkuUploadLogModel;
use App\Model\SupplierChannelModel;
use App\Model\SupplierContactModel;
use Illuminate\Http\Request;
//通用API,比如获取品牌列表,分类列表等
......@@ -190,4 +184,18 @@ class SkuApiController extends Controller
$data = $skuService->getSystemTags();
$this->response(0, 'ok', $data, count($data));
}
//设置有效期配置
public function setSupplierSkuCpTimeLimit($request)
{
$setType = $request->input('set_type');
$supplierGroup = $request->input('supplier_group');
$supplierCode = $request->input('supplier_code');
$cpTimeDays = $request->input('cp_time_days');
$result = (new SkuService())->setSupplierSkuCpTimeLimit($setType, $supplierGroup, $supplierCode, $cpTimeDays);
if (!$result) {
$this->response(-1, '设置上架有效期失败');
}
$this->response(0, '设置上架有效期成功');
}
}
......@@ -107,4 +107,12 @@ class SkuController extends Controller
$this->data['title'] = '批量修改Sku标签';
return $this->view('批量修改Sku标签');
}
//设置供应商的过期时间
public function SetSupplierSkuCpTime($request)
{
$this->data['title'] = '上架有效期配置';
return $this->view('上架有效期配置');
}
}
......@@ -7,6 +7,7 @@ use App\Http\Controllers\Filter\SkuListFilter;
use App\Model\IntracodeModel;
use App\Model\RedisModel;
use App\Model\SkuUploadLogModel;
use App\Model\SupplierChannelModel;
use App\Model\TagsModel;
use GuzzleHttp\Client;
use Illuminate\Support\Facades\DB;
......@@ -347,4 +348,32 @@ class SkuService
$redis->lpush('update_list_sku', $skuId);
}
}
//设置上架有效期
public function setSupplierSkuCpTimeLimit($setType, $supplierGroup, $supplierCode, $cpTimeDays)
{
//批量设置
if ($setType == 1) {
$suppliers = SupplierChannelModel::where('supplier_group', $supplierCode)->select()->toArray();
if (!$suppliers) {
foreach ($suppliers as $supplier) {
}
}
}
//单个设置
if ($setType == 2) {
$supplier = SupplierChannelModel::where('supplier_code', $supplierCode)->first();
if (!empty($supplier)) {
}
}
}
//设置供应商相关sku的队列数据
public function setSupplierSkuCpTimeLimitQueue($supplier)
{
}
}
\ No newline at end of file
<script>
layui.use(['table', 'form', 'element', 'table', 'layer', 'admin'], function () {
let admin = layui.admin;
let form = layui.form;
let table = layui.table
let element = layui.element;
form.on('submit(auditSupplier)', function (data) {
admin.showLoading({
type: 3
});
let supplierIds = getQueryVariable('supplier_ids');
let url = '/api/supplier/BatchAllocatePurchaseUser?supplier_ids=' + supplierIds;
$.ajax({
url: url,
type: 'GET',
async: true,
data: data.field,
dataType: 'json',
timeout: 20000,
success: function (res) {
admin.removeLoading();
if (res.err_code === 0) {
admin.closeThisDialog();
parent.layer.msg(res.err_msg, {icon: 6});
} else {
parent.layer.msg(res.err_msg, {icon: 5});
}
},
error: function () {
admin.removeLoading();
parent.layer.msg('网络错误', {icon: 5});
}
});
return false;
});
form.on('submit(cancel)', function (data) {
admin.closeThisDialog();
});
});
</script>
\ No newline at end of file
<style>
.layui-form-item {
margin-bottom: 5px;
}
</style>
<div class="layui-card">
<div class="layui-card-header" style="height: 170px">
<blockquote class="layui-elem-quote layui-text">
<b>渠道开发员设置</b>
</blockquote>
<form class="layui-form" action="">
<input type="hidden" name="supplier_ids" value="{{$supplierIds}}">
<div class="layui-form-item">
<div class="layui-inline" style="margin-left: -30px">
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('purchase_uid','渠道开发员',null,
$userCodes,['required'=>true,'width'=>'150px']) !!}
</div>
</div>
<div class="layui-form-item">
<div align="center" style="margin-top: 10px;text-align: right">
<button type="button" class="layui-btn layui-btn-sm layui-btn-info submit-loading" lay-submit
lay-filter="auditSupplier">确认
</button>
<button type="button" class="layui-btn layui-btn-sm layui-btn-primary" lay-submit
lay-filter="cancel">取消
</button>
</div>
</div>
</form>
</div>
<div class="layui-card-body">
<blockquote class="layui-elem-quote layui-text">
<b>当前选中需要批量修改渠道员的供应商列表</b>
</blockquote>
<table class="layui-table">
<colgroup>
<col width="300">
<col width="100">
<col>
</colgroup>
<thead>
<tr>
<th>供应商名称</th>
<th>当前渠道开发员</th>
</tr>
</thead>
<tbody>
@foreach($suppliers as $supplier)
<tr>
<td>{{$supplier['supplier_name']}}</td>
<td>{{$supplier['purchase_username']}}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
<?php //b10684f47eea45eb812151b3d106c7c5
<?php //08e3e8ce535b8362e738badd08e0b728
/** @noinspection all */
namespace Illuminate\Support\Facades {
......@@ -7,79 +7,79 @@ 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
* @method static bool hasMonologConfigurator()
* @see \Illuminate\Foundation\Application::getDeferredServices
* @method static array|mixed getDeferredServices()
* @method static array getDeferredServices()
* @see \Illuminate\Foundation\Application::registerDeferredProvider
* @method static void registerDeferredProvider($provider, $service = null)
* @method static void registerDeferredProvider(string $provider, string $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
* @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|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($path)
* @method static \Illuminate\Foundation\Application useStoragePath(string $path)
* @see \Illuminate\Foundation\Application::hasBeenBootstrapped
* @method static bool|mixed 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($file)
* @method static \Illuminate\Foundation\Application loadEnvironmentFrom(string $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 mixed|string environmentFile()
* @method static 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($locale)
* @method static void setLocale(string $locale)
* @see \Illuminate\Foundation\Application::bootstrapPath
* @method static string bootstrapPath()
* @see \Illuminate\Foundation\Application::detectEnvironment
* @method static mixed|string detectEnvironment(\Closure $callback)
* @method static 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($locale)
* @method static bool isLocale(string $locale)
* @see \Illuminate\Container\Container::share
* @method static \Closure share(\Closure $closure)
* @see \Illuminate\Foundation\Application::getNamespace
* @method static int|mixed|null|string getNamespace()
* @method static 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 mixed getProvider($provider)
* @method static \Illuminate\Support\ServiceProvider|null getProvider(\Illuminate\Support\ServiceProvider|string $provider)
* @see \Illuminate\Container\Container::refresh
* @method static mixed refresh(string $abstract, $target, string $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($path)
* @method static \Illuminate\Foundation\Application useDatabasePath(string $path)
* @see \Illuminate\Foundation\Application::environmentFilePath
* @method static string environmentFilePath()
* @see \Illuminate\Foundation\Application::booting
......@@ -87,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 void getLocale()
* @method static string getLocale()
* @see \Illuminate\Foundation\Application::terminating
* @method static \Illuminate\Foundation\Application terminating(\Closure $callback)
* @see \Illuminate\Foundation\Application::beforeBootstrapping
* @method static void beforeBootstrapping($bootstrapper, \Closure $callback)
* @method static void beforeBootstrapping(string $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|mixed|string register($provider, $options = [], $force = false)
* @method static \Illuminate\Support\ServiceProvider|string register(\Illuminate\Support\ServiceProvider|string $provider, array $options = [], bool $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
......@@ -113,87 +113,87 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Foundation\Application::storagePath
* @method static string storagePath()
* @see \Illuminate\Foundation\Application::resolveProviderClass
* @method static mixed resolveProviderClass($provider)
* @method static \Illuminate\Support\ServiceProvider resolveProviderClass(string $provider)
* @see \Illuminate\Foundation\Application::loadDeferredProvider
* @method static void loadDeferredProvider($service)
* @method static void loadDeferredProvider(string $service)
* @see \Illuminate\Foundation\Application::booted
* @method static void booted($callback)
* @see \Illuminate\Foundation\Application::routesAreCached
* @method static void routesAreCached()
* @method static bool 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($code, $message = '', array $headers = [])
* @method static void abort(int $code, string $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($bootstrapper, \Closure $callback)
* @method static void afterBootstrapping(string $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 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 null afterLoadingEnvironment(\Closure $callback)
* @method static null|void afterLoadingEnvironment(\Closure $callback)
* @see \Illuminate\Foundation\Application::boot
* @method static void boot()
* @see \Illuminate\Foundation\Application::make
* @method static void make($abstract, array $parameters = [])
* @method static mixed make(string $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($abstract)
* @method static bool bound(string $abstract)
* @see \Illuminate\Foundation\Application::isBooted
* @method static bool|mixed isBooted()
* @method static bool 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($path)
* @method static \Illuminate\Foundation\Application useEnvironmentPath(string $path)
* @see \Illuminate\Foundation\Application::setBasePath
* @method static \Illuminate\Foundation\Application setBasePath($basePath)
* @method static \Illuminate\Foundation\Application setBasePath(string $basePath)
* @see \Illuminate\Foundation\Application::environment
* @method static bool|string environment()
* @see \Illuminate\Foundation\Application::isDeferredService
* @method static bool isDeferredService($service)
* @method static bool isDeferredService(string $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
* @method static string configPath()
* @see \Illuminate\Foundation\Application::getLoadedProviders
* @method static array|mixed getLoadedProviders()
* @method static array getLoadedProviders()
* @see \Illuminate\Container\Container::getInstance
* @method static \Illuminate\Container\Container getInstance()
*/
......@@ -241,79 +241,79 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Contracts\Auth\Guard::setUser
* @method static void setUser(\Illuminate\Contracts\Auth\Authenticatable $user)
* @see \Illuminate\Contracts\Auth\Guard::guest
* @method static void guest()
* @method static bool guest()
* @see \Illuminate\Contracts\Auth\Guard::id
* @method static void id()
* @method static int|null id()
* @see \Illuminate\Contracts\Auth\Guard::check
* @method static void check()
* @method static bool check()
* @see \Illuminate\Contracts\Auth\Guard::user
* @method static void user()
* @method static \Illuminate\Contracts\Auth\Authenticatable|null user()
* @see \Illuminate\Contracts\Auth\Guard::validate
* @method static void validate(array $credentials = [])
* @method static bool 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 {}
/**
* @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(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 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 {}
......@@ -383,25 +383,25 @@ namespace Illuminate\Support\Facades {
/**
* @see \Illuminate\Config\Repository::all
* @method static array all()
* @method static array|mixed all()
* @see \Illuminate\Config\Repository::offsetGet
* @method static mixed offsetGet(string $key)
* @method static 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 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 {}
......@@ -413,7 +413,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Cookie\CookieJar::unqueue
* @method static void unqueue($name)
* @see \Illuminate\Cookie\CookieJar::queued
* @method static array|\ArrayAccess|mixed queued($key, $default = null)
* @method static mixed queued($key, $default = null)
* @see \Illuminate\Cookie\CookieJar::setDefaultPathAndDomain
* @method static \Illuminate\Cookie\CookieJar setDefaultPathAndDomain($path, $domain, $secure = false)
* @see \Illuminate\Cookie\CookieJar::forever
......@@ -751,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|null|string ip()
* @see \Symfony\Component\HttpFoundation\Request::getContent
* @method static false|resource|string getContent($asResource = false)
* @see \Symfony\Component\HttpFoundation\Request::getBaseUrl
......@@ -767,33 +767,33 @@ 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
* @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 array|mixed|null|string getPathInfo()
* @see \Illuminate\Http\Request::offsetUnset
* @method static void offsetUnset(string $offset)
* @method static null offsetUnset($offset)
* @see \Illuminate\Http\Request::flashOnly
* @method static null|void flashOnly(array|mixed $keys)
* @method static null 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 mixed|null getRequestFormat($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($key, $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($locale)
* @see \Illuminate\Http\Request::setUserResolver
......@@ -817,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($name)
* @see \Symfony\Component\HttpFoundation\Request::getContentType
......@@ -825,11 +825,11 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::get
* @method static mixed|null get($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 getTrustedProxies()
* @see \Symfony\Component\HttpFoundation\Request::getDefaultLocale
......@@ -839,7 +839,7 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::getSession
* @method static \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 array|mixed|null|string getUserInfo()
* @see \Illuminate\Http\Request::url
......@@ -853,13 +853,13 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::getLocale
* @method static mixed|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(), $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 mixed|string getRelativeUriForPath($path)
* @see \Illuminate\Http\Request::pjax
......@@ -873,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 mixed|null 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|null[] 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)
* @see \Symfony\Component\HttpFoundation\Request::create
* @method static \Symfony\Component\HttpFoundation\Request create($uri, $method = 'GET', $parameters = array(), $cookies = array(), $files = array(), $server = array(), $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
......@@ -903,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|string 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 \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|null 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 array|mixed|null|string getUser()
* @see \Symfony\Component\HttpFoundation\Request::getTrustedHosts
* @method static array 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($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 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 null|void flashExcept(array|mixed $keys)
* @method static null flashExcept($keys)
* @see \Illuminate\Http\Request::flush
* @method static void flush()
* @see \Symfony\Component\HttpFoundation\Request::normalizeQueryString
......@@ -947,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
......@@ -963,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
......@@ -975,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[][]|\array[][][]|\Illuminate\Http\UploadedFile[]|\Illuminate\Http\UploadedFile[][]|\Illuminate\Http\UploadedFile[][][]|null[]|\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()
*/
......@@ -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($key, $parsed)
* @method static void setParsedKey(string $key, array $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 \Monolog\Logger useSyslog($name = 'laravel', $level = 'debug')
* @method static \Psr\Log\LoggerInterface useSyslog(string $name = 'laravel', string $level = 'debug')
* @see \Illuminate\Log\Writer::debug
* @method static null debug($message, array $context = [])
* @method static null|void debug(string $message, array $context = [])
* @see \Illuminate\Log\Writer::critical
* @method static null critical($message, array $context = [])
* @method static null|void critical(string $message, array $context = [])
* @see \Illuminate\Log\Writer::log
* @method static null log($level, $message, array $context = [])
* @method static null|void log(string $level, string $message, array $context = [])
* @see \Illuminate\Log\Writer::useDailyFiles
* @method static void useDailyFiles($path, $days = 0, $level = 'debug')
* @method static void useDailyFiles(string $path, int $days = 0, string $level = 'debug')
* @see \Illuminate\Log\Writer::emergency
* @method static null emergency($message, array $context = [])
* @method static null|void emergency(string $message, array $context = [])
* @see \Illuminate\Log\Writer::getMonolog
* @method static \Monolog\Logger getMonolog()
* @see \Illuminate\Log\Writer::error
* @method static null error($message, array $context = [])
* @method static null|void error(string $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($path, $level = 'debug')
* @method static void useFiles(string $path, string $level = 'debug')
* @see \Illuminate\Log\Writer::listen
* @method static void listen(\Closure $callback)
* @see \Illuminate\Log\Writer::alert
* @method static null alert($message, array $context = [])
* @method static null|void alert(string $message, array $context = [])
* @see \Illuminate\Log\Writer::getEventDispatcher
* @method static \Illuminate\Contracts\Events\Dispatcher getEventDispatcher()
* @see \Illuminate\Log\Writer::warning
* @method static null warning($message, array $context = [])
* @method static null|void warning(string $message, array $context = [])
* @see \Illuminate\Log\Writer::useErrorLog
* @method static void useErrorLog($level = 'debug', $messageType = ErrorLogHandler::OPERATING_SYSTEM)
* @method static void useErrorLog(string $level = 'debug', int $messageType = ErrorLogHandler::OPERATING_SYSTEM)
* @see \Illuminate\Log\Writer::write
* @method static null write($level, $message, array $context = [])
* @method static null|void write(string $level, string $message, array $context = [])
* @see \Illuminate\Log\Writer::info
* @method static null info($message, array $context = [])
* @method static null|void info(string $message, array $context = [])
* @see \Illuminate\Log\Writer::notice
* @method static null notice($message, array $context = [])
* @method static null|void notice(string $message, array $context = [])
*/
class Log {}
......@@ -1241,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|null|string ip()
* @see \Symfony\Component\HttpFoundation\Request::getContent
* @method static false|resource|string getContent($asResource = false)
* @see \Symfony\Component\HttpFoundation\Request::getBaseUrl
......@@ -1257,33 +1257,33 @@ 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
* @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 array|mixed|null|string getPathInfo()
* @see \Illuminate\Http\Request::offsetUnset
* @method static void offsetUnset(string $offset)
* @method static null offsetUnset($offset)
* @see \Illuminate\Http\Request::flashOnly
* @method static null|void flashOnly(array|mixed $keys)
* @method static null 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 mixed|null getRequestFormat($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($key, $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($locale)
* @see \Illuminate\Http\Request::setUserResolver
......@@ -1307,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($name)
* @see \Symfony\Component\HttpFoundation\Request::getContentType
......@@ -1315,11 +1315,11 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::get
* @method static mixed|null get($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 getTrustedProxies()
* @see \Symfony\Component\HttpFoundation\Request::getDefaultLocale
......@@ -1329,7 +1329,7 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::getSession
* @method static \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 array|mixed|null|string getUserInfo()
* @see \Illuminate\Http\Request::url
......@@ -1343,13 +1343,13 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::getLocale
* @method static mixed|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(), $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 mixed|string getRelativeUriForPath($path)
* @see \Illuminate\Http\Request::pjax
......@@ -1363,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 mixed|null 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|null[] 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)
* @see \Symfony\Component\HttpFoundation\Request::create
* @method static \Symfony\Component\HttpFoundation\Request create($uri, $method = 'GET', $parameters = array(), $cookies = array(), $files = array(), $server = array(), $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
......@@ -1393,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|string 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 \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|null 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 array|mixed|null|string getUser()
* @see \Symfony\Component\HttpFoundation\Request::getTrustedHosts
* @method static array 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($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 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 null|void flashExcept(array|mixed $keys)
* @method static null flashExcept($keys)
* @see \Illuminate\Http\Request::flush
* @method static void flush()
* @see \Symfony\Component\HttpFoundation\Request::normalizeQueryString
......@@ -1437,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
......@@ -1453,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
......@@ -1465,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[]|\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()
*/
......@@ -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 {}
......@@ -1649,13 +1649,13 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Session\SessionManager::getSessionConfig
* @method static void getSessionConfig()
* @see \Illuminate\Support\Manager::extend
* @method static \Illuminate\Support\Manager extend(string $driver, \Closure $callback)
* @method static \Illuminate\Support\Manager extend($driver, \Closure $callback)
* @see \Illuminate\Support\Manager::driver
* @method static mixed driver(string $driver = null)
* @method static mixed driver($driver = null)
* @see \Illuminate\Session\SessionManager::getDefaultDriver
* @method static string getDefaultDriver()
* @see \Illuminate\Support\Manager::getDrivers
* @method static array getDrivers()
* @method static array|mixed getDrivers()
* @see \Illuminate\Session\Store::regenerateToken
* @method static void regenerateToken()
* @see \Illuminate\Session\Store::handlerNeedsRequest
......@@ -1667,15 +1667,15 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Session\Store::flashInput
* @method static void flashInput(array $value)
* @see \Illuminate\Session\Store::getBagData
* @method static array|\ArrayAccess|mixed getBagData($name)
* @method static 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($key, $value = null)
* @see \Illuminate\Session\Store::getToken
* @method static array|\ArrayAccess|mixed getToken()
* @method static mixed getToken()
* @see \Illuminate\Session\Store::previousUrl
* @method static array|\ArrayAccess|mixed previousUrl()
* @method static mixed previousUrl()
* @see \Illuminate\Session\Store::has
* @method static bool has($name)
* @see \Illuminate\Session\Store::all
......@@ -1715,13 +1715,13 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Session\Store::save
* @method static void save()
* @see \Illuminate\Session\Store::increment
* @method static array|\ArrayAccess|int|mixed increment($key, $amount = 1)
* @method static int|mixed increment($key, $amount = 1)
* @see \Illuminate\Session\Store::remove
* @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)
* @method static mixed get($name, $default = null)
* @see \Illuminate\Session\Store::now
* @method static void now($key, $value)
* @see \Illuminate\Session\Store::registerBag
......@@ -1737,17 +1737,17 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Session\Store::invalidate
* @method static true invalidate($lifetime = null)
* @see \Illuminate\Session\Store::token
* @method static array|\ArrayAccess|mixed token()
* @method static mixed token()
* @see \Illuminate\Session\Store::getName
* @method static mixed|string getName()
* @see \Illuminate\Session\Store::pull
* @method static mixed pull($key, $default = null)
* @see \Illuminate\Session\Store::decrement
* @method static array|\ArrayAccess|int|mixed decrement($key, $amount = 1)
* @method static 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 getBag($name)
* @method static mixed|\Symfony\Component\HttpFoundation\Session\SessionBagInterface getBag($name)
*/
class Session {}
......@@ -1777,15 +1777,15 @@ namespace Illuminate\Support\Facades {
/**
* @see \Illuminate\Routing\UrlGenerator::secure
* @method static string secure(string $path, array $parameters = [])
* @method static string secure($path, $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(string $action, $parameters = [], bool $absolute = true)
* @method static string action($action, $parameters = [], $absolute = true)
* @see \Illuminate\Routing\UrlGenerator::secureAsset
* @method static string secureAsset(string $path)
* @method static string secureAsset($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(string $name, $parameters = [], bool $absolute = true)
* @method static string route($name, $parameters = [], $absolute = true)
* @see \Illuminate\Routing\UrlGenerator::forceRootUrl
* @method static void forceRootUrl(string $root)
* @method static void forceRootUrl($root)
* @see \Illuminate\Routing\UrlGenerator::assetFrom
* @method static string assetFrom(string $root, string $path, bool|null $secure = null)
* @method static string assetFrom($root, $path, $secure = null)
* @see \Illuminate\Routing\UrlGenerator::forceSchema
* @method static void forceSchema(string $schema)
* @method static void forceSchema($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(string $rootNamespace)
* @method static \Illuminate\Routing\UrlGenerator setRootControllerNamespace($rootNamespace)
* @see \Illuminate\Routing\UrlGenerator::to
* @method static string to(string $path, $extra = [], bool|null $secure = null)
* @method static string to($path, $extra = [], $secure = null)
* @see \Illuminate\Routing\UrlGenerator::isValidUrl
* @method static bool isValidUrl(string $path)
* @method static bool isValidUrl($path)
* @see \Illuminate\Routing\UrlGenerator::asset
* @method static string asset(string $path, bool|null $secure = null)
* @method static string asset($path, $secure = null)
* @see \Illuminate\Routing\UrlGenerator::full
* @method static string full()
*/
......@@ -1841,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()
* @method static array|mixed 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
......@@ -1859,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()
* @method static array|mixed 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 mixed shared($key, $default = null)
* @see \Illuminate\View\Factory::composers
* @method static array composers(array $composers)
* @see \Illuminate\View\Factory::setDispatcher
......@@ -1891,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()
* @method static array|mixed 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 null|void inject(string $section, string $content)
* @method static null inject($section, $content)
* @see \Illuminate\View\Factory::getExtensions
* @method static array|string[] getExtensions()
* @method static mixed|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