Commit 18006628 by 杨树贤

批量添加主营品牌

parent 7f2699d3
......@@ -5,4 +5,5 @@ Homestead.json
/.idea
/.vscode
/.history
/vendor/_laravel_idea/*
/vendor/_laravel_idea
......@@ -7,6 +7,7 @@ use App\Http\Controllers\Filter\SupplierFilter;
use App\Http\Services\AdminUserService;
use App\Http\Services\CompanyService;
use App\Http\Services\LogService;
use App\Http\Services\StandardBrandService;
use App\Http\Services\SupplierAuditService;
use App\Http\Services\SupplierService;
use App\Http\Services\SupplierStatisticsService;
......@@ -724,4 +725,12 @@ class SupplierApiController extends Controller
$this->response(0, '查询成功', $supplier);
}
//批量获取需要新增主营品牌信息
public function getBatchAddMainBrandsData($request)
{
$standardBrandNames = $request->input('standard_brand_names');
$result = (new StandardBrandService())->getBatchAddMainBrandsData($standardBrandNames);
$this->response(0,'ok',$result);
}
}
......@@ -88,4 +88,11 @@ class StandardBrandService
}
return $result ?: [];
}
public function getBatchAddMainBrandsData($standardBrandNames)
{
$standardBrandNames = explode(',', trim($standardBrandNames, ','));
$standardBrandIds = StandardBrandModel::whereIn('brand_name', $standardBrandNames)->pluck('standard_brand_id')->toArray();
return $this->getBrandInitValue(implode(',',$standardBrandIds));
}
}
\ No newline at end of file
......@@ -114,3 +114,31 @@ function getLogDomain() {
}
function arrayColumn(arr, column) {
return arr.map(function(row) {
return row[column];
});
}
//数组去重
function arrayUnique(arr) {
var res = [];
for (var i = 0, len = arr.length; i < len; i++) {
var item = arr[i];
for (var j = 0, jLen = res.length; j < jLen; j++) {
if (item == res[j]) break;
}
if (j == jLen) res.push(item);
}
return res;
}
function multiArrayUnique(arr) {
return arr.filter(function(item, index) {
const json = JSON.stringify(item);
return arr.findIndex(function(subItem) {
return JSON.stringify(subItem) === json;
}) === index;
});
}
\ No newline at end of file
......@@ -71,3 +71,5 @@ function ajax(url,data){
})
return result;
}
......@@ -163,35 +163,6 @@
}
});
// //主营品牌限制的初始化
// let mainBrandsLimitTypeObj = $('#main_brands_limit_type');
// if (supplierId) {
// let mainBrandsLimitObj = $('#main_brands_limit');
// if (mainBrandsLimitObj.val() == -1) {
// mainBrandsLimitTypeObj.val(2);
// mainBrandsLimitObj.val('');
// mainBrandsLimitObj.attr('disabled', true);
// mainBrandsLimitObj.addClass('layui-disabled');
// form.render('select');
// }
// }
{{--let supplierGroupMap = {!! json_encode(config('fixed.SupplierGroup')) !!};--}}
{{--let limitMap = {!!json_encode(config('field.SupplierGroupMainBrandsLimitMap'))!!};--}}
{{--//监听主营品牌限制的数字,不同供应商性质的数量限制不一样--}}
{{--$(document).on('change', '#main_brands_limit', function () {--}}
{{-- let supplierGroup = $('#supplier_group').val();--}}
{{-- if (!supplierGroup) {--}}
{{-- layer.msg("请先选择供应商性质", {icon: 5});--}}
{{-- $('#main_brands_limit').val('');--}}
{{-- return false;--}}
{{-- }--}}
{{-- let limit = limitMap[supplierGroup];--}}
{{-- if ($(this).val() > limit && limit !== -1) {--}}
{{-- layer.msg("供应商性质为" + supplierGroupMap[supplierGroup] + "时,主营品牌数量最大可以设置为 " + limit, {icon: 5});--}}
{{-- $('#main_brands_limit').val(limit);--}}
{{-- }--}}
{{--});--}}
//监听供应商性质选择,如果为混合分销商,那么要展示混合分销商品牌设置
form.on('select(supplier_group)', function (data) {
......@@ -200,39 +171,8 @@
} else {
$('#agency_brands_div').hide();
}
// // 这里还要去判断主营品牌数量限制的切换
// // 原厂,代理商,分销平台,品牌数量不做限制;默认为“无限制”;
// // 混合分销商,现货商,代工厂,品牌数量默认为10;
// // 方案商,其他,品牌数量默认为5;
// let mainBrandsLimitObj = $('#main_brands_limit');
// let limit = limitMap[data.value];
// console.log(limit)
// if (limit === -1) {
// mainBrandsLimitObj.attr('disabled', true);
// mainBrandsLimitObj.addClass('layui-disabled');
// mainBrandsLimitTypeObj.val(2);
// } else {
// mainBrandsLimitObj.attr('disabled', false);
// mainBrandsLimitObj.removeClass('layui-disabled');
// mainBrandsLimitTypeObj.val(1);
// }
// form.render('select');
//
// mainBrandsLimitObj.val(limit === -1 ? '' : limit);
});
// form.on('select(main_brands_limit_type)', function (data) {
// let mainBrandsLimitObj = $('#main_brands_limit');
// if (data.value == 2) {
// mainBrandsLimitObj.attr('disabled', true);
// mainBrandsLimitObj.addClass('layui-disabled');
// } else {
// mainBrandsLimitObj.attr('disabled', false);
// mainBrandsLimitObj.removeClass('layui-disabled');
// }
// });
//如果没有直接忽略公司校验的权限,那么就要做到下面的互相disable
@if (!checkPerm('IgnoreCompanyCheck'))
//修改供应商名称,那么公司税号就禁用,反之亦然
......@@ -335,6 +275,44 @@
let brandInitValue = {!! json_encode($brand_init_value?:[])!!};
brandSelector.setValue(brandInitValue);
//批量新增主营品牌
$('#batchAddMainBrands').click(function () {
layer.open({
title: "批量增加主营品牌",
area: ['600px', '400px'],
type: 1,
content: $('#batchAddMainBrandsDiv')
});
});
$('#confirmBatchAddMainBrands').click(function () {
let standardBrandNames = $('#batchAddMainBrandsTextarea').val();
//请求接口获取返回的数据,并且合并目前选择的主营品牌,重新渲染xm-select
let res = ajax('/api/supplier/getBatchAddMainBrandsData', {standard_brand_names: standardBrandNames});
let data = res.data;
let brandNames = arrayColumn(data, 'brand_name').join(',')
$('#batchAddMainBrandsBlockQuote').text(brandNames);
if (data.length === 0) {
layer.msg('没有匹配到有效的标准品牌',{icon:5});
return false;
}else{
brandInitValue = brandInitValue.concat(data);
brandInitValue = multiArrayUnique(brandInitValue);
brandSelector.setValue(brandInitValue);
$('#main_brands').val(arrayColumn(brandInitValue, 'brand_id').join(','));
$('#batchAddMainBrandsTextarea').val('');
$('#batchAddMainBrandsBlockQuote').text('');
layer.msg('批量添加主营品牌成功',{icon:6});
}
});
$('#closeBatchAddMainBrands').click(function () {
$('#batchAddMainBrandsTextarea').val('');
$('#batchAddMainBrandsBlockQuote').text('');
layer.closeAll();
});
//代理品牌的渲染
let agencyBrandOption = getBrandOption('agency_brand_selector', 'agency_brands');
let agencyBrandSelector = xmSelect.render(agencyBrandOption);
......
......@@ -219,23 +219,21 @@
<input type="hidden" name="main_brands" value=""
id="main_brands">
</div>
<a style="color: #009688;" id="batchAddMainBrands">+批量增加主营品牌</a>
<div id="batchAddMainBrandsDiv" style="padding-left: 30px;padding-top: 30px;padding-right: 30px;display: none">
<div class="layui-col-md12">
<textarea rows="7" placeholder="标准品牌名称,多个用英文逗号隔开" class="layui-textarea"
id="batchAddMainBrandsTextarea"></textarea>
<blockquote class="layui-elem-quote" id="batchAddMainBrandsBlockQuote"></blockquote>
<span style="color: red" id="invalid_${name}_name_list"></span>
</div>
<div class="layui-col-md12">
<button class="layui-btn layui-btn-sm" type="button" id="confirmBatchAddMainBrands">验证并且添加</button>
<button class="layui-btn layui-btn-sm layui-btn-primary" type="button" id="closeBatchAddMainBrands">关闭</button>
</div>
</div>
</div>
{{-- <div class="layui-col-md4">--}}
{{-- <label class="layui-form-label" style="width: 100px">主营品牌数量: </label>--}}
{{-- <div class="layui-input-inline" style="width: 150px">--}}
{{-- <input type="text" name="main_brands_limit" id="main_brands_limit"--}}
{{-- placeholder="请输入主营品牌数量限制" class="layui-input" value="">--}}
{{-- </div>--}}
{{-- <div class="layui-inline">--}}
{{-- <select id="main_brands_limit_type" lay-filter="main_brands_limit_type" name="main_brands_limit_type">--}}
{{-- <option value="1">自定义</option>--}}
{{-- <option value="2">无限制</option>--}}
{{-- </select>--}}
{{-- </div>--}}
{{-- </div>--}}
</div>
{{--选择“混合分销商”时,在主营品牌下面新增一栏“代理品牌”;代理品牌取值同主营品牌一样--}}
<div class="layui-form-item" id="agency_brands_div" style="display: none">
<label class="layui-form-label">
<span class="require">*</span>
......
......@@ -223,20 +223,20 @@
<input type="hidden" name="main_brands" value=""
id="main_brands" value="{{$supplier['main_brands'] or ''}}">
</div>
<a style="color: #009688;" id="batchAddMainBrands">+批量增加主营品牌</a>
<div id="batchAddMainBrandsDiv" style="padding-left: 30px;padding-top: 30px;padding-right: 30px;display: none">
<div class="layui-col-md12">
<textarea rows="7" placeholder="标准品牌名称,多个用英文逗号隔开" class="layui-textarea"
id="batchAddMainBrandsTextarea"></textarea>
<blockquote class="layui-elem-quote" id="batchAddMainBrandsBlockQuote"></blockquote>
<span style="color: red" id="invalid_${name}_name_list"></span>
</div>
<div class="layui-col-md12">
<button class="layui-btn layui-btn-sm" type="button" id="confirmBatchAddMainBrands">验证并且添加</button>
<button class="layui-btn layui-btn-sm layui-btn-primary" type="button" id="closeBatchAddMainBrands">关闭</button>
</div>
</div>
</div>
{{-- <div class="layui-col-md4">--}}
{{-- <label class="layui-form-label" style="width: 100px">主营品牌数量: </label>--}}
{{-- <div class="layui-input-inline" style="width: 150px">--}}
{{-- <input type="text" name="main_brands_limit" id="main_brands_limit"--}}
{{-- placeholder="请输入主营品牌数量限制" class="layui-input" value="{{$supplier['main_brands_limit'] or ''}}">--}}
{{-- </div>--}}
{{-- <div class="layui-inline">--}}
{{-- <select id="main_brands_limit_type" name="main_brands_limit_type" lay-filter="main_brands_limit_type">--}}
{{-- <option value="1">自定义</option>--}}
{{-- <option value="2">无限制</option>--}}
{{-- </select>--}}
{{-- </div>--}}
{{-- </div>--}}
</div>
{{--选择“混合分销商”时,在主营品牌下面新增一栏“代理品牌”;代理品牌取值同主营品牌一样--}}
......
<?php //999d298174f30dd857d468eb829ea736
<?php //4bb7646dd6dfea03c51428d2ddea97c2
/** @noinspection all */
namespace Illuminate\Support\Facades {
......@@ -7,13 +7,13 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Foundation\Application::basePath
* @method static string basePath()
* @see \Illuminate\Container\Container::when
* @method static \Illuminate\Container\ContextualBindingBuilder|\Illuminate\Contracts\Container\ContextualBindingBuilder when(string $concrete)
* @method static \Illuminate\Container\ContextualBindingBuilder when($concrete)
* @see \Illuminate\Foundation\Application::path
* @method static string path()
* @see \Illuminate\Container\Container::bind
* @method static void bind(array|string $abstract, \Closure|null|string $concrete = null, bool $shared = false)
* @method static void bind($abstract, $concrete = null, $shared = false)
* @see \Illuminate\Container\Container::tagged
* @method static array tagged(string $tag)
* @method static array tagged($tag)
* @see \Illuminate\Foundation\Application::setDeferredServices
* @method static void setDeferredServices(array $services)
* @see \Illuminate\Foundation\Application::hasMonologConfigurator
......@@ -25,19 +25,19 @@ namespace Illuminate\Support\Facades {
* @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(string $path)
* @see \Illuminate\Foundation\Application::hasBeenBootstrapped
* @method static bool hasBeenBootstrapped()
* @see \Illuminate\Container\Container::offsetUnset
* @method static void offsetUnset(string $key)
* @method static void offsetUnset($key)
* @see \Illuminate\Foundation\Application::loadEnvironmentFrom
* @method static \Illuminate\Foundation\Application loadEnvironmentFrom(string $file)
* @see \Illuminate\Container\Container::setInstance
......@@ -61,7 +61,7 @@ namespace Illuminate\Support\Facades {
* @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
......@@ -71,11 +71,11 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Foundation\Application::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 \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
......@@ -87,7 +87,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Foundation\Application::shouldSkipMiddleware
* @method static bool shouldSkipMiddleware()
* @see \Illuminate\Container\Container::call
* @method static mixed call(callable|string $callback, array $parameters = [], null|string $defaultMethod = null)
* @method static mixed call($callback, array $parameters = [], $defaultMethod = null)
* @see \Illuminate\Foundation\Application::getLocale
* @method static string getLocale()
* @see \Illuminate\Foundation\Application::terminating
......@@ -103,7 +103,7 @@ namespace Illuminate\Support\Facades {
* @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
......@@ -121,11 +121,11 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Foundation\Application::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
......@@ -133,7 +133,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Foundation\Application::abort
* @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(string $bootstrapper, \Closure $callback)
* @see \Illuminate\Foundation\Application::configurationIsCached
......@@ -141,17 +141,17 @@ namespace Illuminate\Support\Facades {
* @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|void afterLoadingEnvironment(\Closure $callback)
* @see \Illuminate\Foundation\Application::boot
......@@ -163,13 +163,13 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Foundation\Application::bootstrapWith
* @method static void bootstrapWith(array $bootstrappers)
* @see \Illuminate\Container\Container::singleton
* @method static void singleton(array|string $abstract, \Closure|null|string $concrete = null)
* @method static void singleton($abstract, $concrete = null)
* @see \Illuminate\Container\Container::forgetInstance
* @method static void forgetInstance(string $abstract)
* @method static void forgetInstance($abstract)
* @see \Illuminate\Container\Container::isShared
* @method static bool isShared(string $abstract)
* @method static bool isShared($abstract)
* @see \Illuminate\Container\Container::resolving
* @method static void resolving(string $abstract, \Closure $callback = null)
* @method static void resolving($abstract, \Closure $callback = null)
* @see \Illuminate\Foundation\Application::bound
* @method static bool bound(string $abstract)
* @see \Illuminate\Foundation\Application::isBooted
......@@ -177,7 +177,7 @@ namespace Illuminate\Support\Facades {
* @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)
* @see \Illuminate\Foundation\Application::setBasePath
......@@ -187,7 +187,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Foundation\Application::isDeferredService
* @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
......@@ -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 \Illuminate\Contracts\Auth\Guard|\Illuminate\Contracts\Auth\StatefulGuard|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|mixed getCustomDirectives()
* @method static array getCustomDirectives()
* @see \Illuminate\View\Compilers\BladeCompiler::setEchoFormat
* @method static void setEchoFormat($format)
* @method static void setEchoFormat(string $format)
* @see \Illuminate\View\Compilers\BladeCompiler::compile
* @method static void compile($path = null)
* @method static void compile(string $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 getContentTags()
* @method static array|string getContentTags()
* @see \Illuminate\View\Compilers\BladeCompiler::setEscapedContentTags
* @method static void setEscapedContentTags($openTag, $closeTag)
* @method static void setEscapedContentTags(string $openTag, string $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($openTag, $closeTag)
* @method static void setRawTags(string $openTag, string $closeTag)
* @see \Illuminate\View\Compilers\BladeCompiler::getRawTags
* @method static array|mixed|string[] getRawTags()
* @method static array|string[] getRawTags()
* @see \Illuminate\View\Compilers\BladeCompiler::compileEchoDefaults
* @method static null|string|string[] compileEchoDefaults($value)
* @method static string compileEchoDefaults(string $value)
* @see \Illuminate\View\Compilers\BladeCompiler::setPath
* @method static void setPath($path)
* @method static void setPath(string $path)
* @see \Illuminate\View\Compilers\BladeCompiler::setContentTags
* @method static void setContentTags($openTag, $closeTag, $escaped = false)
* @method static void setContentTags(string $openTag, string $closeTag, bool $escaped = false)
* @see \Illuminate\View\Compilers\BladeCompiler::getPath
* @method static string getPath()
* @see \Illuminate\View\Compilers\BladeCompiler::compileString
* @method static null|string|string[] compileString($value)
* @method static string compileString(string $value)
* @see \Illuminate\View\Compilers\BladeCompiler::directive
* @method static void directive($name, callable $handler)
* @method static void directive(string $name, callable $handler)
* @see \Illuminate\View\Compilers\BladeCompiler::getEscapedContentTags
* @method static array getEscapedContentTags()
* @method static array|string getEscapedContentTags()
* @see \Illuminate\View\Compilers\BladeCompiler::getExtensions
* @method static array|mixed getExtensions()
* @method static array 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 {}
......@@ -429,35 +429,35 @@ 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 {}
/**
* @see \Illuminate\Database\DatabaseManager::setDefaultConnection
* @method static void setDefaultConnection(string $name)
* @method static void setDefaultConnection($name)
* @see \Illuminate\Database\DatabaseManager::disconnect
* @method static void disconnect(string $name = null)
* @method static void disconnect($name = null)
* @see \Illuminate\Database\DatabaseManager::supportedDrivers
* @method static array|string[] supportedDrivers()
* @method static string[] supportedDrivers()
* @see \Illuminate\Database\DatabaseManager::getConnections
* @method static array getConnections()
* @method static array|mixed getConnections()
* @see \Illuminate\Database\DatabaseManager::purge
* @method static void purge(string $name = null)
* @method static void purge($name = null)
* @see \Illuminate\Database\DatabaseManager::getDefaultConnection
* @method static string getDefaultConnection()
* @see \Illuminate\Database\DatabaseManager::extend
* @method static void extend(string $name, callable $resolver)
* @method static void extend($name, callable $resolver)
* @see \Illuminate\Database\DatabaseManager::reconnect
* @method static \Illuminate\Database\Connection reconnect(string $name = null)
* @method static \Illuminate\Database\Connection|\Illuminate\Database\ConnectionInterface|mixed reconnect($name = null)
* @see \Illuminate\Database\DatabaseManager::availableDrivers
* @method static array availableDrivers()
* @method static array|string[] availableDrivers()
* @see \Illuminate\Database\DatabaseManager::connection
* @method static \Illuminate\Database\Connection connection(string $name = null)
* @method static \Illuminate\Database\Connection|\Illuminate\Database\ConnectionInterface|mixed connection($name = null)
* @see \Illuminate\Database\Connection::logQuery
* @method static void logQuery(string $query, array $bindings, float|null $time = null)
* @see \Illuminate\Database\Connection::getPostProcessor
......@@ -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(int $rounds)
* @method static \Illuminate\Hashing\BcryptHasher setRounds($rounds)
* @see \Illuminate\Hashing\BcryptHasher::needsRehash
* @method static bool needsRehash(string $hashedValue, array $options = [])
* @method static bool needsRehash($hashedValue, array $options = [])
* @see \Illuminate\Hashing\BcryptHasher::check
* @method static bool check(string $value, string $hashedValue, array $options = [])
* @method static bool check($value, $hashedValue, array $options = [])
* @see \Illuminate\Hashing\BcryptHasher::make
* @method static string make(string $value, array $options = [])
* @method static null|string make($value, array $options = [])
*/
class Hash {}
......@@ -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 resource|string getContent(bool $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(string $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 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 string getRequestFormat(string $default = 'html')
* @see \Illuminate\Http\Request::flash
* @method static void flash(string $filter = null, array $keys = [])
* @method static void flash($filter = null, $keys = [])
* @see \Symfony\Component\HttpFoundation\Request::setTrustedHeaderName
* @method static void setTrustedHeaderName(string $key, string $value)
* @see \Illuminate\Http\Request::server
* @method static array|string server(string $key = null, array|null|string $default = null)
* @method static void server($key = null, $default = null)
* @see \Symfony\Component\HttpFoundation\Request::setLocale
* @method static void setLocale(string $locale)
* @see \Illuminate\Http\Request::setUserResolver
......@@ -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 get(string $key, $default = null)
* @see \Illuminate\Http\Request::matchesType
* @method static bool matchesType(string $actual, string $type)
* @method static bool matchesType($actual, $type)
* @see \Illuminate\Http\Request::acceptsJson
* @method static bool acceptsJson()
* @see \Illuminate\Http\Request::prefers
* @method static null|string prefers(array|string $contentTypes)
* @method static mixed|void prefers($contentTypes)
* @see \Symfony\Component\HttpFoundation\Request::getTrustedProxies
* @method static array|string[] getTrustedProxies()
* @see \Symfony\Component\HttpFoundation\Request::getDefaultLocale
......@@ -839,7 +839,7 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::getSession
* @method static null|\Symfony\Component\HttpFoundation\Session\SessionInterface getSession()
* @see \Illuminate\Http\Request::hasHeader
* @method static bool hasHeader(string $key)
* @method static bool hasHeader($key)
* @see \Symfony\Component\HttpFoundation\Request::getUserInfo
* @method static null|string getUserInfo()
* @see \Illuminate\Http\Request::url
......@@ -853,13 +853,13 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::getLocale
* @method static string getLocale()
* @see \Illuminate\Http\Request::exists
* @method static bool exists(array|string $key)
* @method static bool exists($key)
* @see \Symfony\Component\HttpFoundation\Request::initialize
* @method static void initialize(array $query = array(), array $request = array(), array $attributes = array(), array $cookies = array(), array $files = array(), array $server = array(), resource|string $content = null)
* @see \Illuminate\Http\Request::instance
* @method static \Illuminate\Http\Request instance()
* @see \Illuminate\Http\Request::hasFile
* @method static bool hasFile(string $key)
* @method static bool hasFile($key)
* @see \Symfony\Component\HttpFoundation\Request::getRelativeUriForPath
* @method static string getRelativeUriForPath(string $path)
* @see \Illuminate\Http\Request::pjax
......@@ -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 null|string getPreferredLanguage(array $locales = null)
* @see \Illuminate\Http\Request::bearerToken
* @method static null|string bearerToken()
* @method static string|void bearerToken()
* @see \Symfony\Component\HttpFoundation\Request::getClientIps
* @method static array|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|null $callable)
* @see \Symfony\Component\HttpFoundation\Request::create
* @method static \Symfony\Component\HttpFoundation\Request create(string $uri, string $method = 'GET', array $parameters = array(), array $cookies = array(), array $files = array(), array $server = array(), string $content = null)
* @see \Illuminate\Http\Request::has
* @method static bool has(array|string $key)
* @method static bool has($key)
* @see \Symfony\Component\HttpFoundation\Request::getHttpHost
* @method static string getHttpHost()
* @see \Symfony\Component\HttpFoundation\Request::setFormat
......@@ -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 null|string getClientIp()
* @see \Illuminate\Http\Request::hasCookie
* @method static bool hasCookie(string $key)
* @method static bool hasCookie($key)
* @see \Symfony\Component\HttpFoundation\Request::getUser
* @method static null|string getUser()
* @see \Symfony\Component\HttpFoundation\Request::getTrustedHosts
* @method static array|string[] getTrustedHosts()
* @see \Illuminate\Http\Request::header
* @method static array|string header(string $key = null, array|null|string $default = null)
* @method static void header($key = null, $default = null)
* @see \Symfony\Component\HttpFoundation\Request::getBasePath
* @method static string getBasePath()
* @see \Illuminate\Http\Request::offsetGet
* @method static mixed offsetGet(string $offset)
* @method static mixed offsetGet($offset)
* @see \Symfony\Component\HttpFoundation\Request::getTrustedHeaderName
* @method static string getTrustedHeaderName(string $key)
* @see \Illuminate\Http\Request::session
* @method static \Illuminate\Session\Store session()
* @method static null|\Symfony\Component\HttpFoundation\Session\SessionInterface session()
* @see \Symfony\Component\HttpFoundation\Request::isNoCache
* @method static bool isNoCache()
* @see \Illuminate\Http\Request::offsetSet
* @method static void offsetSet(string $offset, $value)
* @method static null offsetSet($offset, $value)
* @see \Symfony\Component\HttpFoundation\Request::getMethod
* @method static string getMethod()
* @see \Symfony\Component\HttpFoundation\Request::getMimeType
* @method static null|string getMimeType(string $format)
* @see \Illuminate\Http\Request::flashExcept
* @method static 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
......@@ -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 resource|string getContent(bool $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(string $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 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 string getRequestFormat(string $default = 'html')
* @see \Illuminate\Http\Request::flash
* @method static void flash(string $filter = null, array $keys = [])
* @method static void flash($filter = null, $keys = [])
* @see \Symfony\Component\HttpFoundation\Request::setTrustedHeaderName
* @method static void setTrustedHeaderName(string $key, string $value)
* @see \Illuminate\Http\Request::server
* @method static array|string server(string $key = null, array|null|string $default = null)
* @method static void server($key = null, $default = null)
* @see \Symfony\Component\HttpFoundation\Request::setLocale
* @method static void setLocale(string $locale)
* @see \Illuminate\Http\Request::setUserResolver
......@@ -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 get(string $key, $default = null)
* @see \Illuminate\Http\Request::matchesType
* @method static bool matchesType(string $actual, string $type)
* @method static bool matchesType($actual, $type)
* @see \Illuminate\Http\Request::acceptsJson
* @method static bool acceptsJson()
* @see \Illuminate\Http\Request::prefers
* @method static null|string prefers(array|string $contentTypes)
* @method static mixed|void prefers($contentTypes)
* @see \Symfony\Component\HttpFoundation\Request::getTrustedProxies
* @method static array|string[] getTrustedProxies()
* @see \Symfony\Component\HttpFoundation\Request::getDefaultLocale
......@@ -1329,7 +1329,7 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::getSession
* @method static null|\Symfony\Component\HttpFoundation\Session\SessionInterface getSession()
* @see \Illuminate\Http\Request::hasHeader
* @method static bool hasHeader(string $key)
* @method static bool hasHeader($key)
* @see \Symfony\Component\HttpFoundation\Request::getUserInfo
* @method static null|string getUserInfo()
* @see \Illuminate\Http\Request::url
......@@ -1343,13 +1343,13 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::getLocale
* @method static string getLocale()
* @see \Illuminate\Http\Request::exists
* @method static bool exists(array|string $key)
* @method static bool exists($key)
* @see \Symfony\Component\HttpFoundation\Request::initialize
* @method static void initialize(array $query = array(), array $request = array(), array $attributes = array(), array $cookies = array(), array $files = array(), array $server = array(), resource|string $content = null)
* @see \Illuminate\Http\Request::instance
* @method static \Illuminate\Http\Request instance()
* @see \Illuminate\Http\Request::hasFile
* @method static bool hasFile(string $key)
* @method static bool hasFile($key)
* @see \Symfony\Component\HttpFoundation\Request::getRelativeUriForPath
* @method static string getRelativeUriForPath(string $path)
* @see \Illuminate\Http\Request::pjax
......@@ -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 null|string getPreferredLanguage(array $locales = null)
* @see \Illuminate\Http\Request::bearerToken
* @method static null|string bearerToken()
* @method static string|void bearerToken()
* @see \Symfony\Component\HttpFoundation\Request::getClientIps
* @method static array|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|null $callable)
* @see \Symfony\Component\HttpFoundation\Request::create
* @method static \Symfony\Component\HttpFoundation\Request create(string $uri, string $method = 'GET', array $parameters = array(), array $cookies = array(), array $files = array(), array $server = array(), string $content = null)
* @see \Illuminate\Http\Request::has
* @method static bool has(array|string $key)
* @method static bool has($key)
* @see \Symfony\Component\HttpFoundation\Request::getHttpHost
* @method static string getHttpHost()
* @see \Symfony\Component\HttpFoundation\Request::setFormat
......@@ -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 null|string getClientIp()
* @see \Illuminate\Http\Request::hasCookie
* @method static bool hasCookie(string $key)
* @method static bool hasCookie($key)
* @see \Symfony\Component\HttpFoundation\Request::getUser
* @method static null|string getUser()
* @see \Symfony\Component\HttpFoundation\Request::getTrustedHosts
* @method static array|string[] getTrustedHosts()
* @see \Illuminate\Http\Request::header
* @method static array|string header(string $key = null, array|null|string $default = null)
* @method static void header($key = null, $default = null)
* @see \Symfony\Component\HttpFoundation\Request::getBasePath
* @method static string getBasePath()
* @see \Illuminate\Http\Request::offsetGet
* @method static mixed offsetGet(string $offset)
* @method static mixed offsetGet($offset)
* @see \Symfony\Component\HttpFoundation\Request::getTrustedHeaderName
* @method static string getTrustedHeaderName(string $key)
* @see \Illuminate\Http\Request::session
* @method static \Illuminate\Session\Store session()
* @method static null|\Symfony\Component\HttpFoundation\Session\SessionInterface session()
* @see \Symfony\Component\HttpFoundation\Request::isNoCache
* @method static bool isNoCache()
* @see \Illuminate\Http\Request::offsetSet
* @method static void offsetSet(string $offset, $value)
* @method static null offsetSet($offset, $value)
* @see \Symfony\Component\HttpFoundation\Request::getMethod
* @method static string getMethod()
* @see \Symfony\Component\HttpFoundation\Request::getMimeType
* @method static null|string getMimeType(string $format)
* @see \Illuminate\Http\Request::flashExcept
* @method static 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()
*/
......@@ -1501,63 +1501,63 @@ namespace Illuminate\Support\Facades {
/**
* @see \Illuminate\Routing\Router::currentRouteName
* @method static null|string currentRouteName()
* @method static array|callable|\Closure|null|string currentRouteName()
* @see \Illuminate\Routing\Router::dispatch
* @method static \Illuminate\Http\Response dispatch(\Illuminate\Http\Request $request)
* @method static \Symfony\Component\HttpFoundation\Response dispatch(\Illuminate\Http\Request $request)
* @see \Illuminate\Routing\Router::auth
* @method static void auth()
* @see \Illuminate\Routing\Router::getLastGroupPrefix
* @method static string getLastGroupPrefix()
* @method static mixed|string getLastGroupPrefix()
* @see \Illuminate\Routing\Router::put
* @method static \Illuminate\Routing\Route put(string $uri, array|\Closure|null|string $action = null)
* @method static \Illuminate\Routing\Route put($uri, $action = null)
* @see \Illuminate\Routing\Router::patch
* @method static \Illuminate\Routing\Route patch(string $uri, array|\Closure|null|string $action = null)
* @method static \Illuminate\Routing\Route patch($uri, $action = null)
* @see \Illuminate\Routing\Router::bind
* @method static void bind(string $key, callable|string $binder)
* @method static void bind($key, $binder)
* @see \Illuminate\Routing\Router::post
* @method static \Illuminate\Routing\Route post(string $uri, array|\Closure|null|string $action = null)
* @method static \Illuminate\Routing\Route post($uri, $action = null)
* @see \Illuminate\Routing\Router::options
* @method static \Illuminate\Routing\Route options(string $uri, array|\Closure|null|string $action = null)
* @method static \Illuminate\Routing\Route options($uri, $action = null)
* @see \Illuminate\Routing\Router::controllers
* @method static void controllers(array $controllers)
* @see \Illuminate\Routing\Router::model
* @method static void model(string $key, string $class, \Closure $callback = null)
* @method static void model($key, $class, \Closure $callback = null)
* @see \Illuminate\Routing\Router::has
* @method static bool has(string $name)
* @method static bool has($name)
* @see \Illuminate\Routing\Router::group
* @method static void group(array $attributes, \Closure $callback)
* @see \Illuminate\Routing\Router::mergeGroup
* @method static array mergeGroup(array $new, array $old)
* @method static array mergeGroup($new, $old)
* @see \Illuminate\Routing\Router::currentRouteAction
* @method static null|string currentRouteAction()
* @method static array|callable|\Closure|mixed|null|void currentRouteAction()
* @see \Illuminate\Routing\Router::resource
* @method static void resource(string $name, string $controller, array $options = [])
* @method static void resource($name, $controller, array $options = [])
* @see \Illuminate\Routing\Router::pushMiddlewareToGroup
* @method static \Illuminate\Routing\Router pushMiddlewareToGroup(string $group, string $middleware)
* @method static \Illuminate\Routing\Router pushMiddlewareToGroup($group, $middleware)
* @see \Illuminate\Routing\Router::patterns
* @method static void patterns(array $patterns)
* @method static void patterns($patterns)
* @see \Illuminate\Routing\Router::prependMiddlewareToGroup
* @method static \Illuminate\Routing\Router prependMiddlewareToGroup(string $group, string $middleware)
* @method static \Illuminate\Routing\Router prependMiddlewareToGroup($group, $middleware)
* @see \Illuminate\Routing\Router::is
* @method static bool is()
* @see \Illuminate\Routing\Router::dispatchToRoute
* @method static \Illuminate\Http\Response|mixed dispatchToRoute(\Illuminate\Http\Request $request)
* @method static \Symfony\Component\HttpFoundation\Response dispatchToRoute(\Illuminate\Http\Request $request)
* @see \Illuminate\Routing\Router::getRoutes
* @method static \Illuminate\Routing\RouteCollection getRoutes()
* @see \Illuminate\Routing\Router::input
* @method static mixed input(string $key, string $default = null)
* @method static mixed|object|string input($key, $default = null)
* @see \Illuminate\Routing\Router::matched
* @method static void matched(callable|string $callback)
* @method static void matched($callback)
* @see \Illuminate\Routing\Router::currentRouteUses
* @method static bool currentRouteUses(string $action)
* @method static bool currentRouteUses($action)
* @see \Illuminate\Routing\Router::getGroupStack
* @method static array getGroupStack()
* @method static array|mixed getGroupStack()
* @see \Illuminate\Routing\Router::singularResourceParameters
* @method static void singularResourceParameters()
* @see \Illuminate\Routing\Router::pattern
* @method static void pattern(string $key, string $pattern)
* @method static void pattern($key, $pattern)
* @see \Illuminate\Routing\Router::delete
* @method static \Illuminate\Routing\Route delete(string $uri, array|\Closure|null|string $action = null)
* @method static \Illuminate\Routing\Route delete($uri, $action = null)
* @see \Illuminate\Routing\Router::current
* @method static \Illuminate\Routing\Route current()
* @see \Illuminate\Routing\Router::hasGroupStack
......@@ -1565,47 +1565,47 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Support\Traits\Macroable::hasMacro
* @method static bool hasMacro($name)
* @see \Illuminate\Routing\Router::getMiddleware
* @method static array getMiddleware()
* @method static array|mixed getMiddleware()
* @see \Illuminate\Routing\Router::get
* @method static \Illuminate\Routing\Route get(string $uri, array|\Closure|null|string $action = null)
* @method static \Illuminate\Routing\Route get($uri, $action = null)
* @see \Illuminate\Routing\Router::resourceParameters
* @method static void resourceParameters(array $parameters = [])
* @see \Illuminate\Routing\Router::resolveMiddlewareClassName
* @method static array|\Closure|string resolveMiddlewareClassName(string $name)
* @method static array|\Closure|string resolveMiddlewareClassName($name)
* @see \Illuminate\Routing\Router::middleware
* @method static \Illuminate\Routing\Router middleware(string $name, string $class)
* @method static \Illuminate\Routing\Router middleware($name, $class)
* @see \Illuminate\Routing\Router::mergeWithLastGroup
* @method static array mergeWithLastGroup(array $new)
* @method static array mergeWithLastGroup($new)
* @see \Illuminate\Routing\Router::gatherRouteMiddlewares
* @method static array gatherRouteMiddlewares(\Illuminate\Routing\Route $route)
* @see \Illuminate\Support\Traits\Macroable::macro
* @method static void macro($name, callable $macro)
* @see \Illuminate\Routing\Router::controller
* @method static void controller(string $uri, string $controller, array $names = [])
* @method static void controller($uri, $controller, $names = [])
* @see \Illuminate\Routing\Router::middlewareGroup
* @method static \Illuminate\Routing\Router middlewareGroup(string $name, array $middleware)
* @method static \Illuminate\Routing\Router middlewareGroup($name, array $middleware)
* @see \Illuminate\Routing\Router::currentRouteNamed
* @method static bool currentRouteNamed(string $name)
* @method static bool currentRouteNamed($name)
* @see \Illuminate\Routing\Router::match
* @method static \Illuminate\Routing\Route match(array|string $methods, string $uri, array|\Closure|null|string $action = null)
* @method static \Illuminate\Routing\Route match($methods, $uri, $action = null)
* @see \Illuminate\Routing\Router::resources
* @method static void resources(array $resources)
* @see \Illuminate\Routing\Router::createClassBinding
* @method static \Closure createClassBinding(string $binding)
* @method static \Closure createClassBinding($binding)
* @see \Illuminate\Routing\Router::any
* @method static \Illuminate\Routing\Route any(string $uri, array|\Closure|null|string $action = null)
* @method static \Illuminate\Routing\Route any($uri, $action = null)
* @see \Illuminate\Routing\Router::getCurrentRequest
* @method static \Illuminate\Http\Request getCurrentRequest()
* @see \Illuminate\Routing\Router::setRoutes
* @method static void setRoutes(\Illuminate\Routing\RouteCollection $routes)
* @see \Illuminate\Routing\Router::prepareResponse
* @method static \Illuminate\Http\Response prepareResponse(\Symfony\Component\HttpFoundation\Request $request, $response)
* @method static \Symfony\Component\HttpFoundation\Response prepareResponse($request, $response)
* @see \Illuminate\Routing\Router::getCurrentRoute
* @method static \Illuminate\Routing\Route getCurrentRoute()
* @see \Illuminate\Routing\Router::uses
* @method static bool uses()
* @see \Illuminate\Routing\Router::getPatterns
* @method static array getPatterns()
* @method static array|mixed getPatterns()
*/
class Route {}
......@@ -1645,17 +1645,17 @@ namespace Illuminate\Support\Facades {
/**
* @see \Illuminate\Session\SessionManager::setDefaultDriver
* @method static void setDefaultDriver($name)
* @method static void setDefaultDriver(string $name)
* @see \Illuminate\Session\SessionManager::getSessionConfig
* @method static void getSessionConfig()
* @method static array 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
......@@ -1673,15 +1673,15 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Session\Store::put
* @method static void put($key, $value = null)
* @see \Illuminate\Session\Store::getToken
* @method static array|\ArrayAccess|mixed|string 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
* @method static array|mixed all()
* @see \Illuminate\Session\Store::setPreviousUrl
* @method static null|void setPreviousUrl($url)
* @method static null setPreviousUrl($url)
* @see \Illuminate\Session\Store::getId
* @method static string getId()
* @see \Illuminate\Session\Store::isValidId
......@@ -1715,7 +1715,7 @@ 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
......@@ -1735,19 +1735,19 @@ namespace Illuminate\Support\Facades {
* @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()
* @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 mixed|\Symfony\Component\HttpFoundation\Session\SessionBagInterface getBag($name)
* @method static mixed 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 mixed stopSection($overwrite = false)
* @method static string stopSection(bool $overwrite = false)
* @see \Illuminate\View\Factory::getSections
* @method static array|mixed getSections()
* @method static array getSections()
* @see \Illuminate\View\Factory::callComposer
* @method static void callComposer(\Illuminate\View\View $view)
* @see \Illuminate\View\Factory::yieldContent
* @method static string|string[] yieldContent($section, $default = '')
* @method static string yieldContent(string $section, string $default = '')
* @see \Illuminate\View\Factory::getEngineResolver
* @method static \Illuminate\View\Engines\EngineResolver getEngineResolver()
* @see \Illuminate\View\Factory::prependNamespace
* @method static void prependNamespace($namespace, $hints)
* @method static void prependNamespace(string $namespace, array|string $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($namespace, $hints)
* @method static void addNamespace(string $namespace, array|string $hints)
* @see \Illuminate\View\Factory::renderEach
* @method static false|mixed|string renderEach($view, $data, $iterator, $empty = 'raw|')
* @method static string renderEach(string $view, array $data, string $iterator, string $empty = 'raw|')
* @see \Illuminate\View\Factory::getNames
* @method static array|mixed getNames()
* @method static array getNames()
* @see \Illuminate\View\Factory::addLocation
* @method static void addLocation($location)
* @method static void addLocation(string $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 mixed getEngineFromPath($path)
* @method static \Illuminate\View\Engines\EngineInterface getEngineFromPath(string $path)
* @see \Illuminate\View\Factory::name
* @method static void name($view, $name)
* @method static void name(string $view, string $name)
* @see \Illuminate\View\Factory::yieldSection
* @method static string|string[] yieldSection()
* @method static string yieldSection()
* @see \Illuminate\View\Factory::appendSection
* @method static mixed appendSection()
* @method static string appendSection()
* @see \Illuminate\View\Factory::shared
* @method static mixed shared($key, $default = null)
* @method static mixed shared(string $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($name)
* @method static bool hasSection(string $name)
* @see \Illuminate\View\Factory::file
* @method static \Illuminate\View\View file($path, $data = [], $mergeData = [])
* @method static \Illuminate\Contracts\View\View|\Illuminate\View\View file(string $path, array $data = [], array $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($view, $data = [])
* @method static \Illuminate\Contracts\View\View|\Illuminate\View\View of(string $view, $data = [])
* @see \Illuminate\View\Factory::yieldPushContent
* @method static mixed|string yieldPushContent($section, $default = '')
* @method static string yieldPushContent(string $section, string $default = '')
* @see \Illuminate\View\Factory::alias
* @method static void alias($view, $alias)
* @method static void alias(string $view, string $alias)
* @see \Illuminate\View\Factory::share
* @method static mixed|null|void share($key, $value = null)
* @method static mixed share(array|string $key, $value = null)
* @see \Illuminate\View\Factory::make
* @method static \Illuminate\View\View make($view, $data = [], $mergeData = [])
* @method static \Illuminate\Contracts\View\View|\Illuminate\View\View make(string $view, array $data = [], array $mergeData = [])
* @see \Illuminate\View\Factory::startPush
* @method static void startPush($section, $content = '')
* @method static void startPush(string $section, string $content = '')
* @see \Illuminate\View\Factory::stopPush
* @method static mixed stopPush()
* @method static string stopPush()
* @see \Illuminate\View\Factory::creator
* @method static array creator($views, $callback)
* @method static array creator(array|string $views, \Closure|string $callback)
* @see \Illuminate\View\Factory::composer
* @method static array composer($views, $callback, $priority = null)
* @method static array composer(array|string $views, \Closure|string $callback, int|null $priority = null)
* @see \Illuminate\View\Factory::addExtension
* @method static void addExtension($extension, $engine, $resolver = null)
* @method static void addExtension(string $extension, string $engine, \Closure $resolver = null)
* @see \Illuminate\View\Factory::getShared
* @method static array|mixed getShared()
* @method static array getShared()
* @see \Illuminate\View\Factory::startSection
* @method static void startSection($section, $content = '')
* @method static void startSection(string $section, string $content = '')
* @see \Illuminate\View\Factory::setFinder
* @method static void setFinder(\Illuminate\View\ViewFinderInterface $finder)
* @see \Illuminate\View\Factory::exists
* @method static bool exists($view)
* @method static bool exists(string $view)
* @see \Illuminate\View\Factory::inject
* @method static null|void inject($section, $content)
* @method static null|void inject(string $section, string $content)
* @see \Illuminate\View\Factory::getExtensions
* @method static array|mixed|string[] getExtensions()
* @method static array|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