Commit f3710734 by 杨树贤

Merge branch 'ysx-供应商需求0717-20230717'

parents 8c8f386f a307281b
<?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use App\Http\Services\LogService;
use App\Http\Services\ChainService;
use App\Http\Services\SupplierExaminationService;
use App\Http\Transformers\SupplierLogTransformer;
use App\Http\Validators\SupplierExaminationValidator;
use App\Model\LogModel;
use App\Model\SupplierAccountModel;
use App\Model\SupplierApplyModel;
use App\Model\SupplierLogModel;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Storage;
//供应商检测
class ChainApiController extends Controller
{
public function Entrance(Request $request, $id)
{
$this->$id($request, $id);
}
//获取列表
public function GetChainList($request)
{
$service = new ChainService();
$list = $service->getChainList($request->all());
$this->response(0, 'ok', $list['data'], $list['total']);
}
}
......@@ -97,6 +97,7 @@ class SupplierApiController extends Controller
'is_business_abnormal',
'has_legal_ID_card',
'agency_brands',
'purchase_type',
];
public function Entrance(Request $request, $id)
......@@ -147,7 +148,6 @@ class SupplierApiController extends Controller
'account_adderss',
'certificate',
'swift_code',
]);
$channel = $request->only($channelMap);
//如果是有直接新增权限的(绕过天眼查等校验)
......@@ -555,6 +555,7 @@ class SupplierApiController extends Controller
$this->response(-1, '选择的供应商里面不存在对应的线上采购员');
}
$supplierService->batchAllocateYunxinChannelUser($supplierIds, $channelUid);
dd(1223);
$this->response(0, '批量分配线上采购员成功');
}
......
<?php
namespace App\Http\Controllers;
use App\Http\Services\RoleService;
use App\Http\Services\SupplierContactService;
use App\Http\Services\SupplierService;
use App\Http\Services\ViewCheckService;
use App\Model\IntracodeModel;
use App\Model\SupplierApplyModel;
use App\Model\SupplierChannelModel;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
class ChainController extends Controller
{
public function info(Request $request, $id = '')
{
if ($request->path() == '/') {
$path = 'web/index';
} else {
$path = $request->path();
}
$this->data = [
'menus' => $request->menus,
'header' => $request->user->header,
'username' => $request->user->email,
'user_email' => $request->user->email,
'uri' => '/' . $path,
'id' => $id
];
return $this->$id($request);
}
public function __call($name, $arr)
{
$data['errinfo'] = '访问路径错误';
return view('errors.error', $data);
}
//操作日志列表
public function ChainList($request)
{
$this->data['title'] = '供应商申请列表';
$this->data['view'] = 'ChainList';
return $this->view('供应商申请列表');
}
}
\ No newline at end of file
<?php
namespace App\Http\Controllers\Filter;
use App\Model\SupplierAccountModel;
use App\Model\ChainModel;
use App\Model\SupplierChannelModel;
class ChainFilter
{
//查询条件
public function listFilter($map)
{
$model = new ChainModel();
$query = $model->orderBy('chain_id', 'desc');
if (!empty($map['com_name'])) {
$query->where('com_name', 'like', "%${map['com_name']}%");
}
if (!empty($map['link_name'])) {
$query->where('link_name', 'like', "%${map['link_name']}%");
}
if (!empty($map['mobile'])) {
$query->where('mobile', 'like', "%${map['mobile']}%");
}
if (!empty($map['data_type'])) {
$query->where('data_type', $map['data_type']);
}
if (!empty($map['supplier_type'])) {
$query->where('supplier_type', $map['supplier_type']);
}
if (!empty($map['create_time'])) {
$times = explode('~', $map['create_time']);
$startTime = strtotime($times[0]);
$endTime = strtotime($times[1]);
$query->whereBetween('create_time', [$startTime, $endTime]);
}
return $query;
}
}
\ No newline at end of file
......@@ -103,6 +103,9 @@ class SupplierFilter
$query->where('sku_tag', $map['sku_tag']);
}
if ((isset($map['purchase_type']) && $map['purchase_type'] === "0") || !empty($map['purchase_type'])) {
$query->where('purchase_type', $map['purchase_type']);
}
if (!empty($map['outside_contact_type'])) {
$query->where('outside_contact_type', $map['outside_contact_type']);
}
......@@ -124,6 +127,18 @@ class SupplierFilter
$endTime = strtotime($times[1]);
$query->whereBetween('update_time', [$startTime, $endTime]);
}
if (!empty($map['sku_create_time'])) {
$times = explode('~', $map['sku_create_time']);
$startTime = strtotime($times[0]);
$endTime = strtotime($times[1]);
$query->whereBetween('sku_create_time', [$startTime, $endTime]);
}
if (!empty($map['sku_update_time'])) {
$times = explode('~', $map['sku_update_time']);
$startTime = strtotime($times[0]);
$endTime = strtotime($times[1]);
$query->whereBetween('sku_update_time', [$startTime, $endTime]);
}
if (!empty($map['blacklist_uid'])) {
$query = $query->whereHas('blacklist', function ($q) use ($map) {
......
......@@ -39,7 +39,7 @@ class SupplierApplyController extends Controller
}
//操作日志列表
//芯链申请列表
public function SupplierApplyList($request)
{
$this->data['auditUidList'] = SupplierApplyModel::pluck('audit_name', 'audit_uid')->toArray();
......
<?php
namespace App\Http\Services;
//后台用户相关信息服务
use App\Http\Controllers\Filter\ChainFilter;
use App\Http\Transformers\ChainTransformer;
class ChainService
{
//供应商申请列表
public function getChainList($map)
{
$limit = array_get($map, 'limit', 10);
$filter = new ChainFilter();
$query = $filter->listFilter($map);
$list = $query->paginate($limit)->toArray();
$transformer = new ChainTransformer();
$list['data'] = $transformer->transformList($list['data']);
return $list;
}
}
\ No newline at end of file
......@@ -88,15 +88,6 @@ class SupplierContactService
$newContact = $model->where('contact_id', $contactId)->first()->toArray();
if ($result) {
// $needAudit = $this->checkNeedAudit($oldContact, $newContact);
// if ($needAudit) {
// //修改供应商为审核状态
// $supplierModel->where('supplier_id', $contact['supplier_id'])->update([
// 'update_time' => time(),
// 'status' => SupplierChannelModel::STATUS_PENDING,
// ]);
// }
$logService = new LogService();
$content = !empty($contact['contact_id']) ? '修改联系人' : '添加联系人';
$remark = json_encode([
......
......@@ -6,6 +6,7 @@ namespace App\Http\Services;
use App\Http\Controllers\Filter\SupplierFilter;
use App\Http\Transformers\SupplierTransformer;
use App\Http\Validators\SupplierValidator;
use App\Model\BigData\DataManageModel;
use App\Model\LogModel;
use App\Model\RedisModel;
use App\Model\SupplierAccountModel;
......@@ -59,7 +60,6 @@ class SupplierService
}
public function saveSupplier($channel)
{
$supplierTransformer = new SupplierTransformer();
......@@ -493,14 +493,21 @@ class SupplierService
$logService = new LogService();
$redis = new RedisModel();
foreach ($supplierIds as $supplierId) {
$preYunxinChannelUid = SupplierChannelModel::where('supplier_id', $supplierId)->value('yunxin_channel_uid');
$supplier = SupplierChannelModel::where('supplier_id', $supplierId)->select(['supplier_code', 'yunxin_channel_uid'])
->first()->toArray();
$preYunxinChannelUid = $supplier['yunxin_channel_uid'];
SupplierChannelModel::where('supplier_id', $supplierId)->update([
'yunxin_channel_uid' => $yunxinChannelUid
]);
//去查找数据对接系统是否有这个供应商,有的话,把采购员也改成这个
DataManageModel::where('canal', $supplier['supplier_code'])->update([
'pur_uid' => $yunxinChannelUid,
'update_time' => time(),
]);
$supplier = SupplierChannelModel::where('supplier_id', $supplierId)->first()->toArray();
//还要丢队列给批量修改sku的内部编码
$redisKey = 'lie_supplier_change_yunxin_user_' . $supplierId;
if (!$redis->get($redisKey)) {
if ($redis->get($redisKey)) {
$data = [
'canal' => $supplier['supplier_code'],
"encoded" => $yunxinChannelUid,
......
<?php
namespace App\Http\Transformers;
use App\Model\RedisModel;
use App\Model\SupplierApplyModel;
use App\Model\SupplierChannelModel;
class ChainTransformer
{
public function transformList($list)
{
$redis = new RedisModel();
foreach ($list as &$item) {
$item['create_time'] = $item['create_time'] ? date('Y-m-d H:i:s', $item['create_time']) : '';
$item['supplier_type_name'] = array_get(config('field.ChainSupplierType'), $item['supplier_type'], '无');
$item['data_type_name'] = array_get(config('field.ChainDataType'), $item['data_type'], '无');
}
unset($item);
return $list;
}
}
\ No newline at end of file
......@@ -30,18 +30,17 @@ class SupplierTransformer
$viewData = $viewCheckService->checkSupplierView($supplierIds);
$adminUserService = new AdminUserService();
//获取基石上传记录情况,展示第一次上传时间和最后一次上传时间
$firstUploadSkuTimes = SkuService::getUploadTimeBySupplierCodes(array_column($list, 'supplier_code'), 'first');
$lastUploadSkuTimes = SkuService::getUploadTimeBySupplierCodes(array_column($list, 'supplier_code'), 'last');
foreach ($list as &$supplier) {
$supplier['viewed'] = array_get($viewData, $supplier['supplier_id'], false);
$supplier = $this->getStockupType($supplier);
$supplier['supplier_group'] = array_get(config('fixed.SupplierGroup'), $supplier['supplier_group'], '未设置');
$supplier['purchase_type_name'] = array_get(config('field.PurchaseType'), $supplier['purchase_type'], '无');
$supplier['region_name'] = array_get(config('fixed.Region'), $supplier['region']);
$supplier['create_time'] = $supplier['create_time'] ? date('Y-m-d H:i:s', $supplier['create_time']) : '';
$supplier['audit_time'] = $supplier['audit_time'] ? date('Y-m-d H:i:s', $supplier['audit_time']) : '';
$supplier['update_time'] = $supplier['update_time'] ? date('Y-m-d H:i:s', $supplier['update_time']) : '';
$supplier['sku_create_time'] = $supplier['sku_create_time'] ? date('Y-m-d H:i:s', $supplier['sku_create_time']) : '';
$supplier['sku_update_time'] = $supplier['sku_update_time'] ? date('Y-m-d H:i:s', $supplier['sku_update_time']) : '';
$supplier['channel_username'] = $this->getChannelUserNames($supplier['channel_uid']);
$supplier['purchase_username'] = array_get($users, $supplier['purchase_uid']);
$supplier['yunxin_channel_username'] = array_get($users, $supplier['yunxin_channel_uid']);
......@@ -63,10 +62,6 @@ class SupplierTransformer
$userInfo = $adminUserService->getAdminUserInfo($supplier['create_uid']);
$supplier['create_name'] = array_get($userInfo, 'name');
}
$supplier['first_upload_sku_time'] = array_get($firstUploadSkuTimes, $supplier['supplier_code']) ? date('Y-m-d H:i:s',
$firstUploadSkuTimes[$supplier['supplier_code']]) : '';
$supplier['last_upload_sku_time'] = array_get($lastUploadSkuTimes, $supplier['supplier_code']) ? date('Y-m-d H:i:s',
$lastUploadSkuTimes[$supplier['supplier_code']]) : '';
//获取最新修改人以及下级审核员
$log = LogModel::getLastLog($supplier['supplier_id']);
......@@ -209,6 +204,8 @@ class SupplierTransformer
array_get($supplier, 'has_certification', ''), '');
$supplier['sku_tag_name'] = array_get(config('field.SkuTag'), array_get($supplier, 'sku_tag', ''), '无');
$supplier['sku_mode_name'] = array_get(config('field.SkuMode'), array_get($supplier, 'sku_mode', ''), '无');
// $supplier['purchase_type'] = array_get(config('field.PurchaseType'), array_get($supplier, 'purchase_type', ''), '无');
$supplier['purchase_type_name'] = array_get(config('field.PurchaseType'), $supplier['purchase_type'], '无');
return $supplier;
}
......
......@@ -32,6 +32,7 @@ Route::group(['middleware' => ['web', 'menu']], function () {
Route::match(['get', 'post'], '/supplier_apply/{key}', 'SupplierApplyController@info');
Route::match(['get', 'post'], '/purchase_remark/{key}', 'PurchaseRemarkController@info');
Route::match(['get', 'post'], '/shipping_cost_ruler/{key}', 'ShippingCostRulerController@info');
Route::match(['get', 'post'], '/chain/{key}', 'ChainController@info');
});
Route::group(['middleware' => ['web'], 'namespace' => 'Api'], function () {
......@@ -54,6 +55,7 @@ Route::group(['middleware' => ['web'], 'namespace' => 'Api'], function () {
Route::match(['get', 'post'], '/api/supplier_apply/{key}', 'SupplierApplyApiController@Entrance');
Route::match(['get', 'post'], '/api/purchase_remark/{key}', 'PurchaseRemarkApiController@Entrance');
Route::match(['get', 'post'], '/api/shipping_cost_ruler/{key}', 'ShippingCostRulerApiController@Entrance');
Route::match(['get', 'post'], '/api/chain/{key}', 'ChainApiController@Entrance');
//单独的统计接口
Route::match(['get', 'post'], '/statisticsSkuNumber', function () {
(new \App\Http\Services\DataService())->statisticsSkuNumberFromSKu();
......
<?php
namespace App\Model;
use App\Http\Services\AdminUserService;
use App\Http\Services\DepartmentService;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\Redis;
class ChainModel extends Model
{
protected $connection = 'liexin';
protected $table = 'chain';
protected $primaryKey = 'chain_id';
public $timestamps = false;
}
......@@ -269,4 +269,24 @@ return [
1 => '小于',
2 => '大于等于'
],
//代购类型
'PurchaseType' => [
0 => '无',
1 => '国内代购',
2 => '海外代购',
3 => '非代购',
],
'ChainDataType' => [
1 => 'PC端',
2 => '移动端'
],
'ChainSupplierType' => [
1 => '自营供应商',
2 => '联营供应商',
3 => '国产推荐'
],
];
\ No newline at end of file
......@@ -56,5 +56,6 @@ return [
'ticket_time' => '到票时间',
'billing_period_detail' => '账期详情',
'registered_capital' => '注册资金(万)',
'purchase_type_name' => '代购类型',
]
];
\ No newline at end of file
<script>
layui.use(['table', 'form', 'element', 'upload', 'layer', 'Split', 'admin', 'xmSelect'], function () {
let $ = layui.jquery;
let Split = layui.Split;
let table = layui.table;
let upload = layui.upload;
let form = layui.form;
let admin = layui.admin;
let xmSelect = layui.xmSelect;
let initCondition = {source_type: 'all'};
let whereCondition = initCondition;
let type = 'all';
$(document).on("click", ".layui-table-body table.layui-table tbody tr", function () {
let index = $(this).attr('data-index');
let tableBox = $(this).parents('.layui-table-box');
let tableDiv = null;
if (tableBox.find(".layui-table-fixed.layui-table-fixed-l").length > 0) {
tableDiv = tableBox.find(".layui-table-fixed.layui-table-fixed-l");
} else {
tableDiv = tableBox.find(".layui-table-body.layui-table-main");
}
let checkCell = tableDiv.find("tr[data-index=" + index + "]").find("td div.laytable-cell-checkbox div.layui-form-checkbox I");
if (checkCell.length > 0) {
checkCell.click();
}
});
$(document).on("click", "td div.laytable-cell-checkbox div.layui-form-checkbox", function (e) {
e.stopPropagation();
});
//监听复选框事件,被选中的行高亮显示
table.on('checkbox(chainList)', function (obj) {
//拉黑就不用变色了
if (obj.data.status === -3) {
return
}
if (obj.checked === true && obj.type === 'all') {
//点击全选,拉黑的不用选上
$('.layui-table-body table.layui-table tbody tr:not(.block-class)').addClass('layui-table-click');
$('.layui-table-body table.layui-table tbody').find('.block-class').find('.layui-form-checkbox').remove();
$('.layui-table-body table.layui-table tbody tr .block-class').addClass('layui-table-click');
} else if (obj.checked === false && obj.type === 'all') {
//点击全不选
$('.layui-table-body table.layui-table tbody tr').removeClass('layui-table-click');
} else if (obj.checked === true && obj.type === 'one') {
//点击单行
if (obj.checked === true) {
obj.tr.addClass('layui-table-click');
} else {
obj.tr.removeClass('layui-table-click');
}
} else if (obj.checked === false && obj.type === 'one') {
//点击全选之后点击单行
if (obj.tr.hasClass('layui-table-click')) {
obj.tr.removeClass('layui-table-click');
}
}
});
let cols = [
{field: 'chain_id', title: '序号', align: 'center', width: 80},
{field: 'com_name', title: '公司名称', align: 'center', width: 250},
{field: 'link_name', title: '联系人', align: 'center', width: 170},
{field: 'mobile', title: '联系方式', align: 'center', width: 160},
{
field: 'main_brand', title: '主营产品', align: 'center'
},
{field: 'supplier_type_name', title: '入驻类型', align: 'center', width: 100},
{field: 'data_type_name', title: '来源', align: 'center', width: 100},
{field: 'ip_address', title: 'IP地址', align: 'center', width: 150},
{field: 'create_time', title: '创建时间', align: 'center', width: 150},
];
let currentPage = 0;
let url = '/api/chain/GetChainList';
$('#three_days_button').remove();
table.render({
elem: '#chainList'
, url: url
, method: 'post'
, size: 'sm'
, limit: 20
, height: 600
, cellMinWidth: 50 //全局定义常规单元格的最小宽度
, where: whereCondition
, loading: true
, first: true //不显示首页
, last: false //不显示尾页
, cols: [cols]
, id: 'chainList'
, page: {}
, done: function (res, curr, count) {
currentPage = curr;
}
});
$("#add_supplier_examination").click(function () {
layer.open({
type: 2,
content: '/supplier_examination/AddChain?view=iframe&supplier_id=' + getQueryVariable('supplier_id'),
area: ['80%', '90%'],
title: '添加IQC检测记录',
end: function () {
table.reload('chainList');
}
});
return false;
});
$("#update_supplier_examination").click(function () {
let checkStatus = table.checkStatus('chainList');
let data = checkStatus.data;
if (data.length > 1) {
layer.msg('该操作不支持多选', {icon: 5});
return;
}
if (!data.length) {
layer.msg('请先选择要操作的记录', {icon: 5});
} else {
let id = data[0].id;
layer.open({
type: 2,
content: '/supplier_examination/UpdateChain?view=iframe&id=' + id + '&supplier_id=' + getQueryVariable('supplier_id'),
area: ['80%', '90%'],
title: '添加IQC检测记录',
end: function () {
table.reload('chainList');
}
});
}
return false;
});
$("#batch_update_supplier_examination").click(function () {
let checkStatus = table.checkStatus('chainList');
let data = checkStatus.data;
let ids = [];
$.each(data, function (i, v) {
ids.push(v.id);
});
if (!ids) {
layer.msg('请先选择要操作的记录', {icon: 5});
} else {
ids = ids.join(',')
layer.open({
type: 2,
content: '/supplier_examination/BatchUpdateChain?view=iframe&ids=' + ids + '&supplier_id=' + getQueryVariable('supplier_id'),
area: ['80%', '90%'],
title: '批量修改IQC检测记录',
end: function () {
table.reload('chainList');
}
});
}
return false;
});
//启用
$("#delete_supplier_examination").click(function () {
let checkStatus = table.checkStatus('chainList');
let data = checkStatus.data;
if (!data.length) {
layer.msg('请先选择要操作的检测数据', {icon: 5})
} else {
layer.confirm('是否删除所选记录?', function (index) {
let ids = [];
$.each(data, function (index, value) {
ids.push(value.id);
});
ids = ids.join(',');
let res = ajax('/api/supplier_examination/DeleteChains', {ids: ids})
if (res.err_code === 0) {
table.reload('chainList');
layer.closeAll();
layer.msg(res.err_msg, {icon: 6})
} else {
layer.msg(res.err_msg, {icon: 5})
}
});
}
});
form.on('submit(load)', function (data) {
whereCondition = $.extend(false, initCondition, data.field);
//执行重载
table.reload('chainList', {
page: {
curr: 1
}
, where: whereCondition
});
return false;
});
form.on('submit(reset)', function (data) {
layer.load(1);
location.reload();
});
//执行实例
var uploadInst = upload.render({
elem: '#import_supplier_examination', //绑定元素
url: '/api/supplier_examination/ImportChain', //上传接口
auto: true,
exts: 'xlsx',
before: function (obj) { //obj参数包含的信息,跟 choose回调完全一致,可参见上文。
layer.msg('上传中', {icon: 16}); //上传loading
},
done: function (res) {
if (!res) {
return layui.msg('上传失败', {icon: 5});
}
if (res.err_code === 0) {
layer.msg(res.err_msg, {icon: 6});
table.reload('chainList');
} else {
let errMsg = res.err_msg;
let msg = '';
$.each(errMsg.split('&'), function (index, value) {
msg += "<span>" + value + "</span><br>"
});
layer.msg(msg, {icon: 5, time: 5000})
}
},
error: function () {
return layer.msg('上传失败', {icon: 5});
}
});
});
</script>
\ No newline at end of file
......@@ -120,6 +120,7 @@
return "<span title='" + data.stockup_type + "'>" + data.stockup_type + "</span>"
}
},
{field: 'purchase_type_name', title: '代购类型', align: 'center', width: 80},
{
field: 'has_quality_assurance_agreement',
title: '品质协议',
......@@ -183,8 +184,8 @@
{field: 'update_time', title: '最近修改时间', align: 'center', width: 145},
{field: 'supplier_type_name', title: '供应商类别', align: 'center', width: 110},
{field: 'create_time', title: '创建时间', align: 'center', width: 145},
{field: 'first_upload_sku_time', title: '首次上传sku时间', align: 'center', width: 145},
{field: 'last_upload_sku_time', title: '最新上传sku时间', align: 'center', width: 145},
{field: 'sku_create_time', title: '首次上传sku时间', align: 'center', width: 145},
{field: 'sku_update_time', title: '最新上传sku时间', align: 'center', width: 145},
];
cols.push(
);
......
......@@ -220,7 +220,8 @@
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 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>
......@@ -228,8 +229,12 @@
<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>
<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>
......@@ -246,16 +251,24 @@
</div>
</div>
<div class="layui-form-item">
<div class="layui-inline">
<label class="layui-form-label"><span class="require">*</span>合作类型</label>
<div class="layui-input-block">
<input type="hidden" name="stockup_type"
value="{{$supplier['stockup_type'] or ''}}">
@foreach(config('fixed.StockupType') as $k=>$type)
<input type="checkbox" name="stockup_type[{{$k}}]" lay-filter="stockup_type_filter"
lay-skin="primary"
title="{{$type}}">
@endforeach
<div class="layui-col-md6">
<div class="layui-inline">
<label class="layui-form-label"><span class="require">*</span>合作类型</label>
<div class="layui-input-block">
<input type="hidden" name="stockup_type"
value="{{$supplier['stockup_type'] or ''}}">
@foreach(config('fixed.StockupType') as $k=>$type)
<input type="checkbox" name="stockup_type[{{$k}}]" lay-filter="stockup_type_filter"
lay-skin="primary"
title="{{$type}}">
@endforeach
</div>
</div>
</div>
<div class="layui-col-md6">
<div class="layui-inline">
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('purchase_type','代购类型 : ',!empty($supplier)?$supplier['purchase_type']:'',config('field.PurchaseType')) !!}
</div>
</div>
</div>
......
<div class="layui-collapse">
<form class="layui-form" style="margin-top: 15px">
<div class="layui-row">
<div class="layui-inline">
<label class="layui-form-label">公司名称</label>
<div class="layui-input-inline">
<input type="text" value="" name="com_name" placeholder="支持模糊匹配" autocomplete="off"
class="layui-input">
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">联系人</label>
<div class="layui-input-inline">
<input type="text" value="" name="link_name" placeholder="支持模糊匹配" autocomplete="off"
class="layui-input">
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">联系方式</label>
<div class="layui-input-inline">
<input type="text" value="" name="mobile" placeholder="支持模糊匹配" autocomplete="off"
class="layui-input">
</div>
</div>
<div class="layui-inline">
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('data_type','平台来源',request()->get('data_type'),config('field.ChainDataType')) !!}
</div>
<div class="layui-inline">
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('supplier_type','入驻类型',request()->get('data_type'),config('field.ChainSupplierType')) !!}
</div>
</div>
<div class="layui-row">
<div class="layui-inline" style="width: 600px">
@inject('transformableTimeIntervalPresenter','App\Presenters\Filter\TransformableTimeIntervalPresenter')
{!! $transformableTimeIntervalPresenter->render(['create_time'=>'创建时间']) !!}
</div>
</div>
<div class="layui-row" style="margin-top:10px;margin-bottom: 10px;margin-left: 20px;">
<button class="layui-btn layui-btn-sm layui-btn load" id="getSupplierListButton" lay-submit=""
lay-filter="load">查询
</button>
<button type="button" class="layui-btn layui-btn-sm layui-btn" lay-submit="" lay-filter="reset">重置
</button>
</div>
</form>
</div>
<div style="margin-left: 20px;margin-right: 20px">
<div class="layui-btn-group demoTable" style="margin-top: 15px">
</div>
<table class="layui-table" id="chainList" lay-filter="chainList"></table>
</div>
@include('script.ChainListScript')
......@@ -48,8 +48,9 @@
@else
{{$supplier['stockup_type_name']}}
@endif
</div>
{{-- <div class="layui-col-md2">--}}
{{-- </div>--}}
<div class="layui-col-md2">
线上采购员 : {{$supplier['yunxin_channel_username']}}
</div>
......@@ -199,6 +200,9 @@
<div class="layui-col-md3">
<span class="required_field">*</span> 合作类型 :{{$supplier['stockup_type_name']}}
</div>
<div class="layui-col-md2">
代购类型 : {{$supplier['purchase_type_name']}}
</div>
</div>
<div class="layui-row">
<div class="layui-col-md2">
......
......@@ -256,17 +256,25 @@
</div>
</div>
<div class="layui-form-item">
<div class="layui-inline">
<label class="layui-form-label"><span class="require">*</span>合作类型</label>
<div class="layui-input-block">
@foreach(config('fixed.StockupType') as $k=>$type)
<input type="checkbox" lay-filter="stockup_type_filter" name="stockup_type[{{$k}}]"
lay-skin="primary"
@if(!empty($supplier['stockup_type_data'])&&in_array($k,$supplier['stockup_type_data']))
checked
@endif
title="{{$type}}">
@endforeach
<div class="layui-col-md6">
<div class="layui-inline">
<label class="layui-form-label"><span class="require">*</span>合作类型</label>
<div class="layui-input-block">
@foreach(config('fixed.StockupType') as $k=>$type)
<input type="checkbox" lay-filter="stockup_type_filter" name="stockup_type[{{$k}}]"
lay-skin="primary"
@if(!empty($supplier['stockup_type_data'])&&in_array($k,$supplier['stockup_type_data']))
checked
@endif
title="{{$type}}">
@endforeach
</div>
</div>
</div>
<div class="layui-col-md6">
<div class="layui-inline">
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('purchase_type','代购类型 : ',!empty($supplier)?$supplier['purchase_type']:'',config('field.PurchaseType')) !!}
</div>
</div>
</div>
......
......@@ -92,11 +92,11 @@
</a>
</div>
@endif
{{-- <div class="layui-row">--}}
{{-- <a title="公司性质为现货商性质的供应商没有上传品质协议" class="main_filter"--}}
{{-- id="no_quality_assurance_agreement">--}}
{{-- </a>--}}
{{-- </div>--}}
{{-- <div class="layui-row">--}}
{{-- <a title="公司性质为现货商性质的供应商没有上传品质协议" class="main_filter"--}}
{{-- id="no_quality_assurance_agreement">--}}
{{-- </a>--}}
{{-- </div>--}}
<div class="layui-row">
<a title="采购员全离职" class="main_filter" id="all_channel_user_resigned">
</a>
......@@ -257,12 +257,17 @@
{!! $multiTransformableSelectPresenter->render(['has_cooperation_agreement'=>'平台合作协议'],
['has_cooperation_agreement'=>[1=>'是',-1=>'否']]) !!}
</div>
<div class="layui-inline">
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('purchase_type','代购类型','',config('field.PurchaseType')) !!}
</div>
</div>
<div class="layui-row">
<div class="layui-inline" style="width: 600px">
@inject('transformableTimeIntervalPresenter','App\Presenters\Filter\TransformableTimeIntervalPresenter')
{!! $transformableTimeIntervalPresenter->render(['update_time'=>'更新时间','create_time'=>'创建时间']) !!}
{!! $transformableTimeIntervalPresenter->render(['update_time'=>'更新时间','create_time'=>'创建时间','sku_create_time' => '首次上传sku时间','sku_update_time'=> '最新上传sku时间']) !!}
</div>
</div>
<div class="layui-row" style="margin-top:10px;margin-bottom: 10px;margin-left: 20px;">
......
<?php //4bb7646dd6dfea03c51428d2ddea97c2
<?php //3e2415e87294d82b077effb84f44bd4e
/** @noinspection all */
namespace Illuminate\Support\Facades {
......@@ -19,9 +19,9 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Foundation\Application::hasMonologConfigurator
* @method static bool hasMonologConfigurator()
* @see \Illuminate\Foundation\Application::getDeferredServices
* @method static array getDeferredServices()
* @method static array|mixed getDeferredServices()
* @see \Illuminate\Foundation\Application::registerDeferredProvider
* @method static void registerDeferredProvider(string $provider, string $service = null)
* @method static void registerDeferredProvider($provider, $service = null)
* @see \Illuminate\Foundation\Application::handle
* @method static \Symfony\Component\HttpFoundation\Response handle(\Symfony\Component\HttpFoundation\Request $request, $type = self::MASTER_REQUEST, $catch = true)
* @see \Illuminate\Container\Container::bindIf
......@@ -29,33 +29,33 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Foundation\Application::version
* @method static string version()
* @see \Illuminate\Container\Container::rebinding
* @method static mixed|void rebinding($abstract, \Closure $callback)
* @method static mixed|null|void rebinding($abstract, \Closure $callback)
* @see \Illuminate\Container\Container::extend
* @method static void extend($abstract, \Closure $closure)
* @see \Illuminate\Foundation\Application::useStoragePath
* @method static \Illuminate\Foundation\Application useStoragePath(string $path)
* @method static \Illuminate\Foundation\Application useStoragePath($path)
* @see \Illuminate\Foundation\Application::hasBeenBootstrapped
* @method static bool hasBeenBootstrapped()
* @method static bool|mixed hasBeenBootstrapped()
* @see \Illuminate\Container\Container::offsetUnset
* @method static void offsetUnset($key)
* @see \Illuminate\Foundation\Application::loadEnvironmentFrom
* @method static \Illuminate\Foundation\Application loadEnvironmentFrom(string $file)
* @method static \Illuminate\Foundation\Application loadEnvironmentFrom($file)
* @see \Illuminate\Container\Container::setInstance
* @method static void setInstance(\Illuminate\Contracts\Container\Container $container)
* @see \Illuminate\Foundation\Application::terminate
* @method static void terminate()
* @see \Illuminate\Foundation\Application::environmentFile
* @method static string environmentFile()
* @method static mixed|string environmentFile()
* @see \Illuminate\Foundation\Application::getCachedCompilePath
* @method static string getCachedCompilePath()
* @see \Illuminate\Foundation\Application::runningUnitTests
* @method static bool runningUnitTests()
* @see \Illuminate\Foundation\Application::setLocale
* @method static void setLocale(string $locale)
* @method static void setLocale($locale)
* @see \Illuminate\Foundation\Application::bootstrapPath
* @method static string bootstrapPath()
* @see \Illuminate\Foundation\Application::detectEnvironment
* @method static string detectEnvironment(\Closure $callback)
* @method static mixed|string detectEnvironment(\Closure $callback)
* @see \Illuminate\Foundation\Application::isLocal
* @method static bool isLocal()
* @see \Illuminate\Foundation\Application::getCachedServicesPath
......@@ -65,21 +65,21 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Foundation\Application::registerConfiguredProviders
* @method static void registerConfiguredProviders()
* @see \Illuminate\Foundation\Application::isLocale
* @method static bool isLocale(string $locale)
* @method static bool isLocale($locale)
* @see \Illuminate\Container\Container::share
* @method static \Closure share(\Closure $closure)
* @see \Illuminate\Foundation\Application::getNamespace
* @method static null|string getNamespace()
* @method static int|mixed|null|string getNamespace()
* @see \Illuminate\Container\Container::resolved
* @method static bool resolved($abstract)
* @see \Illuminate\Foundation\Application::getProvider
* @method static \Illuminate\Support\ServiceProvider|null getProvider(\Illuminate\Support\ServiceProvider|string $provider)
* @method static false|mixed getProvider($provider)
* @see \Illuminate\Container\Container::refresh
* @method static mixed|null refresh($abstract, $target, $method)
* @method static mixed|null|void refresh($abstract, $target, $method)
* @see \Illuminate\Foundation\Application::registerCoreContainerAliases
* @method static void registerCoreContainerAliases()
* @see \Illuminate\Foundation\Application::useDatabasePath
* @method static \Illuminate\Foundation\Application useDatabasePath(string $path)
* @method static \Illuminate\Foundation\Application useDatabasePath($path)
* @see \Illuminate\Foundation\Application::environmentFilePath
* @method static string environmentFilePath()
* @see \Illuminate\Foundation\Application::booting
......@@ -89,15 +89,15 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Container\Container::call
* @method static mixed call($callback, array $parameters = [], $defaultMethod = null)
* @see \Illuminate\Foundation\Application::getLocale
* @method static string getLocale()
* @method static void getLocale()
* @see \Illuminate\Foundation\Application::terminating
* @method static \Illuminate\Foundation\Application terminating(\Closure $callback)
* @see \Illuminate\Foundation\Application::beforeBootstrapping
* @method static void beforeBootstrapping(string $bootstrapper, \Closure $callback)
* @method static void beforeBootstrapping($bootstrapper, \Closure $callback)
* @see \Illuminate\Container\Container::wrap
* @method static \Closure wrap(\Closure $callback, array $parameters = [])
* @see \Illuminate\Foundation\Application::register
* @method static \Illuminate\Support\ServiceProvider|string register(\Illuminate\Support\ServiceProvider|string $provider, array $options = [], bool $force = false)
* @method static \Illuminate\Support\ServiceProvider|mixed|string register($provider, $options = [], $force = false)
* @see \Illuminate\Foundation\Application::environmentPath
* @method static string environmentPath()
* @see \Illuminate\Foundation\Application::addDeferredServices
......@@ -113,13 +113,13 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Foundation\Application::storagePath
* @method static string storagePath()
* @see \Illuminate\Foundation\Application::resolveProviderClass
* @method static \Illuminate\Support\ServiceProvider resolveProviderClass(string $provider)
* @method static mixed resolveProviderClass($provider)
* @see \Illuminate\Foundation\Application::loadDeferredProvider
* @method static void loadDeferredProvider(string $service)
* @method static void loadDeferredProvider($service)
* @see \Illuminate\Foundation\Application::booted
* @method static void booted($callback)
* @see \Illuminate\Foundation\Application::routesAreCached
* @method static bool routesAreCached()
* @method static void routesAreCached()
* @see \Illuminate\Container\Container::tag
* @method static void tag($abstracts, $tags)
* @see \Illuminate\Foundation\Application::publicPath
......@@ -131,17 +131,17 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Foundation\Application::loadDeferredProviders
* @method static void loadDeferredProviders()
* @see \Illuminate\Foundation\Application::abort
* @method static void abort(int $code, string $message = '', array $headers = [])
* @method static void abort($code, $message = '', array $headers = [])
* @see \Illuminate\Container\Container::afterResolving
* @method static void afterResolving($abstract, \Closure $callback = null)
* @see \Illuminate\Foundation\Application::afterBootstrapping
* @method static void afterBootstrapping(string $bootstrapper, \Closure $callback)
* @method static void afterBootstrapping($bootstrapper, \Closure $callback)
* @see \Illuminate\Foundation\Application::configurationIsCached
* @method static bool configurationIsCached()
* @see \Illuminate\Foundation\Application::runningInConsole
* @method static bool runningInConsole()
* @see \Illuminate\Container\Container::offsetGet
* @method static mixed offsetGet($key)
* @method static mixed|null offsetGet($key)
* @see \Illuminate\Foundation\Application::langPath
* @method static string langPath()
* @see \Illuminate\Container\Container::offsetSet
......@@ -157,7 +157,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Foundation\Application::boot
* @method static void boot()
* @see \Illuminate\Foundation\Application::make
* @method static mixed make(string $abstract, array $parameters = [])
* @method static mixed|null|object make($abstract, array $parameters = [])
* @see \Illuminate\Foundation\Application::getMonologConfigurator
* @method static callable|null getMonologConfigurator()
* @see \Illuminate\Foundation\Application::bootstrapWith
......@@ -171,29 +171,29 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Container\Container::resolving
* @method static void resolving($abstract, \Closure $callback = null)
* @see \Illuminate\Foundation\Application::bound
* @method static bool bound(string $abstract)
* @method static bool bound($abstract)
* @see \Illuminate\Foundation\Application::isBooted
* @method static bool isBooted()
* @method static bool|mixed isBooted()
* @see \Illuminate\Foundation\Application::getCachedRoutesPath
* @method static string getCachedRoutesPath()
* @see \Illuminate\Container\Container::getBindings
* @method static array|mixed getBindings()
* @see \Illuminate\Foundation\Application::useEnvironmentPath
* @method static \Illuminate\Foundation\Application useEnvironmentPath(string $path)
* @method static \Illuminate\Foundation\Application useEnvironmentPath($path)
* @see \Illuminate\Foundation\Application::setBasePath
* @method static \Illuminate\Foundation\Application setBasePath(string $basePath)
* @method static \Illuminate\Foundation\Application setBasePath($basePath)
* @see \Illuminate\Foundation\Application::environment
* @method static bool|string environment()
* @see \Illuminate\Foundation\Application::isDeferredService
* @method static bool isDeferredService(string $service)
* @method static bool isDeferredService($service)
* @see \Illuminate\Container\Container::build
* @method static mixed|object build($concrete, array $parameters = [])
* @method static mixed|null|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 getLoadedProviders()
* @method static array|mixed getLoadedProviders()
* @see \Illuminate\Container\Container::getInstance
* @method static \Illuminate\Container\Container getInstance()
*/
......@@ -215,29 +215,29 @@ namespace Illuminate\Support\Facades {
/**
* @see \Illuminate\Auth\AuthManager::setDefaultDriver
* @method static void setDefaultDriver(string $name)
* @method static void setDefaultDriver($name)
* @see \Illuminate\Auth\AuthManager::shouldUse
* @method static void shouldUse(string $name)
* @method static void shouldUse($name)
* @see \Illuminate\Auth\AuthManager::guard
* @method static \Illuminate\Contracts\Auth\Guard|\Illuminate\Contracts\Auth\StatefulGuard guard(string $name = null)
* @method static \Illuminate\Contracts\Auth\Guard|\Illuminate\Contracts\Auth\StatefulGuard|mixed guard($name = null)
* @see \Illuminate\Auth\CreatesUserProviders::createUserProvider
* @method static \Illuminate\Contracts\Auth\UserProvider createUserProvider(string $provider)
* @see \Illuminate\Auth\AuthManager::createTokenDriver
* @method static \Illuminate\Auth\TokenGuard createTokenDriver(string $name, array $config)
* @method static \Illuminate\Auth\TokenGuard createTokenDriver($name, $config)
* @see \Illuminate\Auth\AuthManager::viaRequest
* @method static \Illuminate\Auth\AuthManager viaRequest(string $driver, callable $callback)
* @method static \Illuminate\Auth\AuthManager viaRequest($driver, callable $callback)
* @see \Illuminate\Auth\AuthManager::extend
* @method static \Illuminate\Auth\AuthManager extend(string $driver, \Closure $callback)
* @method static \Illuminate\Auth\AuthManager extend($driver, \Closure $callback)
* @see \Illuminate\Auth\AuthManager::provider
* @method static \Illuminate\Auth\AuthManager provider(string $name, \Closure $callback)
* @method static \Illuminate\Auth\AuthManager provider($name, \Closure $callback)
* @see \Illuminate\Auth\AuthManager::userResolver
* @method static \Closure userResolver()
* @see \Illuminate\Auth\AuthManager::resolveUsersUsing
* @method static \Illuminate\Auth\AuthManager resolveUsersUsing(\Closure $userResolver)
* @see \Illuminate\Auth\AuthManager::createSessionDriver
* @method static \Illuminate\Auth\SessionGuard createSessionDriver(string $name, array $config)
* @method static \Illuminate\Auth\SessionGuard createSessionDriver($name, $config)
* @see \Illuminate\Auth\AuthManager::getDefaultDriver
* @method static string getDefaultDriver()
* @method static void getDefaultDriver()
* @see \Illuminate\Contracts\Auth\Guard::setUser
* @method static void setUser(\Illuminate\Contracts\Auth\Authenticatable $user)
* @see \Illuminate\Contracts\Auth\Guard::guest
......@@ -269,51 +269,51 @@ namespace Illuminate\Support\Facades {
/**
* @see \Illuminate\View\Compilers\BladeCompiler::getCustomDirectives
* @method static array getCustomDirectives()
* @method static array|mixed getCustomDirectives()
* @see \Illuminate\View\Compilers\BladeCompiler::setEchoFormat
* @method static void setEchoFormat(string $format)
* @method static void setEchoFormat($format)
* @see \Illuminate\View\Compilers\BladeCompiler::compile
* @method static void compile(string $path = null)
* @method static void compile($path = null)
* @see \Illuminate\View\Compilers\Compiler::isExpired
* @method static bool isExpired($path)
* @method static bool isExpired(string $path)
* @see \Illuminate\View\Compilers\BladeCompiler::extend
* @method static void extend(callable $compiler)
* @see \Illuminate\View\Compilers\BladeCompiler::getContentTags
* @method static array|string getContentTags()
* @method static array getContentTags()
* @see \Illuminate\View\Compilers\BladeCompiler::setEscapedContentTags
* @method static void setEscapedContentTags(string $openTag, string $closeTag)
* @method static void setEscapedContentTags($openTag, $closeTag)
* @see \Illuminate\View\Compilers\Compiler::getCompiledPath
* @method static string getCompiledPath($path)
* @method static string getCompiledPath(string $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 array|mixed|string[] getRawTags()
* @see \Illuminate\View\Compilers\BladeCompiler::compileEchoDefaults
* @method static string compileEchoDefaults(string $value)
* @method static array|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 array|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 void dispatch($command)
* @method static mixed dispatch($command)
* @see \Illuminate\Contracts\Bus\Dispatcher::dispatchNow
* @method static void dispatchNow($command)
* @method static mixed dispatchNow($command)
* @see \Illuminate\Contracts\Bus\Dispatcher::pipeThrough
* @method static void pipeThrough(array $pipes)
* @method static \Illuminate\Contracts\Bus\Dispatcher pipeThrough(array $pipes)
*/
class Bus {}
......@@ -429,11 +429,11 @@ namespace Illuminate\Support\Facades {
/**
* @see \Illuminate\Encryption\Encrypter::encrypt
* @method static string encrypt($value)
* @method static string encrypt(string $value)
* @see \Illuminate\Encryption\Encrypter::decrypt
* @method static mixed|string decrypt($payload)
* @method static string decrypt(string $payload)
* @see \Illuminate\Encryption\Encrypter::supported
* @method static bool supported($key, $cipher)
* @method static bool supported(string $key, string $cipher)
*/
class Crypt {}
......@@ -611,13 +611,13 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Events\Dispatcher::createClassListener
* @method static \Closure createClassListener($listener)
* @see \Illuminate\Events\Dispatcher::getListeners
* @method static array getListeners($eventName)
* @method static void getListeners($eventName)
*/
class Event {}
/**
* @see \Illuminate\Filesystem\Filesystem::extension
* @method static string|string[] extension($path)
* @method static array|string extension($path)
* @see \Illuminate\Filesystem\Filesystem::isWritable
* @method static bool isWritable($path)
* @see \Illuminate\Filesystem\Filesystem::prepend
......@@ -627,7 +627,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Filesystem\Filesystem::type
* @method static false|string type($path)
* @see \Illuminate\Filesystem\Filesystem::dirname
* @method static string|string[] dirname($path)
* @method static array|string dirname($path)
* @see \Illuminate\Filesystem\Filesystem::delete
* @method static bool delete($paths)
* @see \Illuminate\Filesystem\Filesystem::put
......@@ -661,7 +661,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Filesystem\Filesystem::deleteDirectory
* @method static bool deleteDirectory($directory, $preserve = false)
* @see \Illuminate\Filesystem\Filesystem::basename
* @method static string|string[] basename($path)
* @method static array|string basename($path)
* @see \Illuminate\Filesystem\Filesystem::size
* @method static false|int size($path)
* @see \Illuminate\Filesystem\Filesystem::lastModified
......@@ -669,13 +669,13 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Filesystem\Filesystem::makeDirectory
* @method static bool makeDirectory($path, $mode = 0755, $recursive = false, $force = false)
* @see \Illuminate\Filesystem\Filesystem::name
* @method static string|string[] name($path)
* @method static array|string name($path)
* @see \Illuminate\Filesystem\Filesystem::files
* @method static array|false files($directory)
* @see \Illuminate\Filesystem\Filesystem::exists
* @method static bool exists($path)
* @see \Illuminate\Filesystem\Filesystem::mimeType
* @method static mixed mimeType($path)
* @method static false|string mimeType($path)
* @see \Illuminate\Filesystem\Filesystem::allFiles
* @method static array allFiles($directory, $hidden = false)
* @see \Illuminate\Filesystem\Filesystem::cleanDirectory
......@@ -707,13 +707,13 @@ namespace Illuminate\Support\Facades {
/**
* @see \Illuminate\Hashing\BcryptHasher::setRounds
* @method static \Illuminate\Hashing\BcryptHasher setRounds($rounds)
* @method static \Illuminate\Hashing\BcryptHasher setRounds(int $rounds)
* @see \Illuminate\Hashing\BcryptHasher::needsRehash
* @method static bool needsRehash($hashedValue, array $options = [])
* @method static bool needsRehash(string $hashedValue, array $options = [])
* @see \Illuminate\Hashing\BcryptHasher::check
* @method static bool check($value, $hashedValue, array $options = [])
* @method static bool check(string $value, string $hashedValue, array $options = [])
* @see \Illuminate\Hashing\BcryptHasher::make
* @method static null|string make($value, array $options = [])
* @method static string make(string $value, array $options = [])
*/
class Hash {}
......@@ -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 void cookie($key = null, $default = null)
* @method static array|string cookie(string $key = null, array|null|string $default = null)
* @see \Illuminate\Http\Request::method
* @method static string method()
* @see \Illuminate\Http\Request::old
* @method static void old($key = null, $default = null)
* @method static array|string old(string $key = null, array|null|string $default = null)
* @see \Illuminate\Http\Request::ip
* @method static mixed|null|string ip()
* @method static 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|null[] ips()
* @method static array ips()
* @see \Illuminate\Http\Request::getRouteResolver
* @method static \Closure getRouteResolver()
* @see \Illuminate\Http\Request::input
* @method static mixed input($key = null, $default = null)
* @method static array|string input(string $key = null, array|null|string $default = null)
* @see \Symfony\Component\HttpFoundation\Request::enableHttpMethodParameterOverride
* @method static void enableHttpMethodParameterOverride()
* @see \Illuminate\Http\Request::route
* @method static mixed route($param = null)
* @method static \Illuminate\Routing\Route|object|string route(null|string $param = null)
* @see \Symfony\Component\HttpFoundation\Request::getPathInfo
* @method static string getPathInfo()
* @see \Illuminate\Http\Request::offsetUnset
* @method static null offsetUnset($offset)
* @method static void offsetUnset(string $offset)
* @see \Illuminate\Http\Request::flashOnly
* @method static null flashOnly($keys)
* @method static null|void flashOnly(array|mixed $keys)
* @see \Illuminate\Http\Request::except
* @method static array except($keys)
* @method static array except(array|mixed $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($filter = null, $keys = [])
* @method static void flash(string $filter = null, array $keys = [])
* @see \Symfony\Component\HttpFoundation\Request::setTrustedHeaderName
* @method static void setTrustedHeaderName(string $key, string $value)
* @see \Illuminate\Http\Request::server
* @method static void server($key = null, $default = null)
* @method static array|string server(string $key = null, array|null|string $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 mixed file($key = null, $default = null)
* @method static array|\Illuminate\Http\UploadedFile|null file(string $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($actual, $type)
* @method static bool matchesType(string $actual, string $type)
* @see \Illuminate\Http\Request::acceptsJson
* @method static bool acceptsJson()
* @see \Illuminate\Http\Request::prefers
* @method static mixed|void prefers($contentTypes)
* @method static null|string prefers(array|string $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($key)
* @method static bool hasHeader(string $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($key)
* @method static bool exists(array|string $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($key)
* @method static bool hasFile(string $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|\Symfony\Component\HttpFoundation\Request createFromBase(\Symfony\Component\HttpFoundation\Request $request)
* @method static \Illuminate\Http\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 string|void bearerToken()
* @method static null|string bearerToken()
* @see \Symfony\Component\HttpFoundation\Request::getClientIps
* @method static array|null[] getClientIps()
* @see \Illuminate\Http\Request::segment
* @method static mixed segment($index, $default = null)
* @method static null|string segment(int $index, null|string $default = null)
* @see \Illuminate\Http\Request::only
* @method static array only($keys)
* @method static array only(array|mixed $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($key)
* @method static bool has(array|string $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($contentTypes)
* @method static bool accepts(array|string $contentTypes)
* @see \Illuminate\Http\Request::query
* @method static void query($key = null, $default = null)
* @method static array|string query(string $key = null, array|null|string $default = null)
* @see \Illuminate\Http\Request::format
* @method static int|mixed|string format($default = 'html')
* @method static string format(string $default = 'html')
* @see \Illuminate\Http\Request::capture
* @method static \Illuminate\Http\Request|\Symfony\Component\HttpFoundation\Request capture()
* @method static \Illuminate\Http\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($key)
* @method static bool hasCookie(string $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 void header($key = null, $default = null)
* @method static array|string header(string $key = null, array|null|string $default = null)
* @see \Symfony\Component\HttpFoundation\Request::getBasePath
* @method static string getBasePath()
* @see \Illuminate\Http\Request::offsetGet
* @method static mixed offsetGet($offset)
* @method static mixed offsetGet(string $offset)
* @see \Symfony\Component\HttpFoundation\Request::getTrustedHeaderName
* @method static string getTrustedHeaderName(string $key)
* @see \Illuminate\Http\Request::session
* @method static null|\Symfony\Component\HttpFoundation\Session\SessionInterface session()
* @method static \Illuminate\Session\Store session()
* @see \Symfony\Component\HttpFoundation\Request::isNoCache
* @method static bool isNoCache()
* @see \Illuminate\Http\Request::offsetSet
* @method static null offsetSet($offset, $value)
* @method static void offsetSet(string $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 flashExcept($keys)
* @method static null|void flashExcept(array|mixed $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|\Symfony\Component\HttpFoundation\ParameterBag json($key = null, $default = null)
* @method static mixed|string|\Symfony\Component\HttpFoundation\ParameterBag json(string $key = null, $default = null)
* @see \Illuminate\Http\Request::offsetExists
* @method static bool offsetExists($offset)
* @method static bool offsetExists(string $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($keys)
* @method static array intersect(array|mixed $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|array[]|\array[][]|\array[][][]|\Illuminate\Http\UploadedFile[]|\Illuminate\Http\UploadedFile[][]|\Illuminate\Http\UploadedFile[][][]|null[]|\null[][]|\null[][][] allFiles()
* @method static array allFiles()
* @see \Illuminate\Http\Request::user
* @method static mixed user($guard = null)
* @method static mixed user(null|string $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(string $key, array $parsed)
* @method static void setParsedKey($key, $parsed)
* @see \Illuminate\Translation\Translator::addNamespace
* @method static void addNamespace(string $namespace, string $hint)
* @see \Illuminate\Translation\Translator::getFallback
......@@ -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 void cookie($key = null, $default = null)
* @method static array|string cookie(string $key = null, array|null|string $default = null)
* @see \Illuminate\Http\Request::method
* @method static string method()
* @see \Illuminate\Http\Request::old
* @method static void old($key = null, $default = null)
* @method static array|string old(string $key = null, array|null|string $default = null)
* @see \Illuminate\Http\Request::ip
* @method static mixed|null|string ip()
* @method static 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|null[] ips()
* @method static array ips()
* @see \Illuminate\Http\Request::getRouteResolver
* @method static \Closure getRouteResolver()
* @see \Illuminate\Http\Request::input
* @method static mixed input($key = null, $default = null)
* @method static array|string input(string $key = null, array|null|string $default = null)
* @see \Symfony\Component\HttpFoundation\Request::enableHttpMethodParameterOverride
* @method static void enableHttpMethodParameterOverride()
* @see \Illuminate\Http\Request::route
* @method static mixed route($param = null)
* @method static \Illuminate\Routing\Route|object|string route(null|string $param = null)
* @see \Symfony\Component\HttpFoundation\Request::getPathInfo
* @method static string getPathInfo()
* @see \Illuminate\Http\Request::offsetUnset
* @method static null offsetUnset($offset)
* @method static void offsetUnset(string $offset)
* @see \Illuminate\Http\Request::flashOnly
* @method static null flashOnly($keys)
* @method static null|void flashOnly(array|mixed $keys)
* @see \Illuminate\Http\Request::except
* @method static array except($keys)
* @method static array except(array|mixed $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($filter = null, $keys = [])
* @method static void flash(string $filter = null, array $keys = [])
* @see \Symfony\Component\HttpFoundation\Request::setTrustedHeaderName
* @method static void setTrustedHeaderName(string $key, string $value)
* @see \Illuminate\Http\Request::server
* @method static void server($key = null, $default = null)
* @method static array|string server(string $key = null, array|null|string $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 mixed file($key = null, $default = null)
* @method static array|\Illuminate\Http\UploadedFile|null file(string $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($actual, $type)
* @method static bool matchesType(string $actual, string $type)
* @see \Illuminate\Http\Request::acceptsJson
* @method static bool acceptsJson()
* @see \Illuminate\Http\Request::prefers
* @method static mixed|void prefers($contentTypes)
* @method static null|string prefers(array|string $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($key)
* @method static bool hasHeader(string $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($key)
* @method static bool exists(array|string $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($key)
* @method static bool hasFile(string $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|\Symfony\Component\HttpFoundation\Request createFromBase(\Symfony\Component\HttpFoundation\Request $request)
* @method static \Illuminate\Http\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 string|void bearerToken()
* @method static null|string bearerToken()
* @see \Symfony\Component\HttpFoundation\Request::getClientIps
* @method static array|null[] getClientIps()
* @see \Illuminate\Http\Request::segment
* @method static mixed segment($index, $default = null)
* @method static null|string segment(int $index, null|string $default = null)
* @see \Illuminate\Http\Request::only
* @method static array only($keys)
* @method static array only(array|mixed $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($key)
* @method static bool has(array|string $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($contentTypes)
* @method static bool accepts(array|string $contentTypes)
* @see \Illuminate\Http\Request::query
* @method static void query($key = null, $default = null)
* @method static array|string query(string $key = null, array|null|string $default = null)
* @see \Illuminate\Http\Request::format
* @method static int|mixed|string format($default = 'html')
* @method static string format(string $default = 'html')
* @see \Illuminate\Http\Request::capture
* @method static \Illuminate\Http\Request|\Symfony\Component\HttpFoundation\Request capture()
* @method static \Illuminate\Http\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($key)
* @method static bool hasCookie(string $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 void header($key = null, $default = null)
* @method static array|string header(string $key = null, array|null|string $default = null)
* @see \Symfony\Component\HttpFoundation\Request::getBasePath
* @method static string getBasePath()
* @see \Illuminate\Http\Request::offsetGet
* @method static mixed offsetGet($offset)
* @method static mixed offsetGet(string $offset)
* @see \Symfony\Component\HttpFoundation\Request::getTrustedHeaderName
* @method static string getTrustedHeaderName(string $key)
* @see \Illuminate\Http\Request::session
* @method static null|\Symfony\Component\HttpFoundation\Session\SessionInterface session()
* @method static \Illuminate\Session\Store session()
* @see \Symfony\Component\HttpFoundation\Request::isNoCache
* @method static bool isNoCache()
* @see \Illuminate\Http\Request::offsetSet
* @method static null offsetSet($offset, $value)
* @method static void offsetSet(string $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 flashExcept($keys)
* @method static null|void flashExcept(array|mixed $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|\Symfony\Component\HttpFoundation\ParameterBag json($key = null, $default = null)
* @method static mixed|string|\Symfony\Component\HttpFoundation\ParameterBag json(string $key = null, $default = null)
* @see \Illuminate\Http\Request::offsetExists
* @method static bool offsetExists($offset)
* @method static bool offsetExists(string $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($keys)
* @method static array intersect(array|mixed $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|array[]|\array[][]|\Illuminate\Http\UploadedFile[]|\Illuminate\Http\UploadedFile[][]|null[]|\null[][] allFiles()
* @method static array allFiles()
* @see \Illuminate\Http\Request::user
* @method static mixed user($guard = null)
* @method static mixed user(null|string $guard = null)
* @see \Symfony\Component\HttpFoundation\Request::getLanguages
* @method static array getLanguages()
*/
......@@ -1501,23 +1501,23 @@ namespace Illuminate\Support\Facades {
/**
* @see \Illuminate\Routing\Router::currentRouteName
* @method static array|callable|\Closure|null|string currentRouteName()
* @method static array|callable|\Closure|mixed|null|string currentRouteName()
* @see \Illuminate\Routing\Router::dispatch
* @method static \Symfony\Component\HttpFoundation\Response dispatch(\Illuminate\Http\Request $request)
* @method static \Illuminate\Http\Response|\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 mixed|string getLastGroupPrefix()
* @see \Illuminate\Routing\Router::put
* @method static \Illuminate\Routing\Route put($uri, $action = null)
* @method static \Illuminate\Routing\Route|void put($uri, $action = null)
* @see \Illuminate\Routing\Router::patch
* @method static \Illuminate\Routing\Route patch($uri, $action = null)
* @method static \Illuminate\Routing\Route|void patch($uri, $action = null)
* @see \Illuminate\Routing\Router::bind
* @method static void bind($key, $binder)
* @see \Illuminate\Routing\Router::post
* @method static \Illuminate\Routing\Route post($uri, $action = null)
* @method static \Illuminate\Routing\Route|void post($uri, $action = null)
* @see \Illuminate\Routing\Router::options
* @method static \Illuminate\Routing\Route options($uri, $action = null)
* @method static \Illuminate\Routing\Route|void options($uri, $action = null)
* @see \Illuminate\Routing\Router::controllers
* @method static void controllers(array $controllers)
* @see \Illuminate\Routing\Router::model
......@@ -1541,7 +1541,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Routing\Router::is
* @method static bool is()
* @see \Illuminate\Routing\Router::dispatchToRoute
* @method static \Symfony\Component\HttpFoundation\Response dispatchToRoute(\Illuminate\Http\Request $request)
* @method static \Illuminate\Http\Response|\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
......@@ -1557,7 +1557,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Routing\Router::pattern
* @method static void pattern($key, $pattern)
* @see \Illuminate\Routing\Router::delete
* @method static \Illuminate\Routing\Route delete($uri, $action = null)
* @method static \Illuminate\Routing\Route|void delete($uri, $action = null)
* @see \Illuminate\Routing\Router::current
* @method static \Illuminate\Routing\Route current()
* @see \Illuminate\Routing\Router::hasGroupStack
......@@ -1567,7 +1567,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Routing\Router::getMiddleware
* @method static array|mixed getMiddleware()
* @see \Illuminate\Routing\Router::get
* @method static \Illuminate\Routing\Route get($uri, $action = null)
* @method static \Illuminate\Routing\Route|void get($uri, $action = null)
* @see \Illuminate\Routing\Router::resourceParameters
* @method static void resourceParameters(array $parameters = [])
* @see \Illuminate\Routing\Router::resolveMiddlewareClassName
......@@ -1577,7 +1577,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Routing\Router::mergeWithLastGroup
* @method static array mergeWithLastGroup($new)
* @see \Illuminate\Routing\Router::gatherRouteMiddlewares
* @method static array gatherRouteMiddlewares(\Illuminate\Routing\Route $route)
* @method static array|mixed gatherRouteMiddlewares(\Illuminate\Routing\Route $route)
* @see \Illuminate\Support\Traits\Macroable::macro
* @method static void macro($name, callable $macro)
* @see \Illuminate\Routing\Router::controller
......@@ -1587,7 +1587,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Routing\Router::currentRouteNamed
* @method static bool currentRouteNamed($name)
* @see \Illuminate\Routing\Router::match
* @method static \Illuminate\Routing\Route match($methods, $uri, $action = null)
* @method static \Illuminate\Routing\Route|void match($methods, $uri, $action = null)
* @see \Illuminate\Routing\Router::resources
* @method static void resources(array $resources)
* @see \Illuminate\Routing\Router::createClassBinding
......@@ -1649,13 +1649,13 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Session\SessionManager::getSessionConfig
* @method static array getSessionConfig()
* @see \Illuminate\Support\Manager::extend
* @method static \Illuminate\Support\Manager extend($driver, \Closure $callback)
* @method static \Illuminate\Support\Manager extend(string $driver, \Closure $callback)
* @see \Illuminate\Support\Manager::driver
* @method static mixed driver($driver = null)
* @method static mixed driver(string $driver = null)
* @see \Illuminate\Session\SessionManager::getDefaultDriver
* @method static string getDefaultDriver()
* @see \Illuminate\Support\Manager::getDrivers
* @method static array|mixed getDrivers()
* @method static array getDrivers()
* @see \Illuminate\Session\Store::regenerateToken
* @method static void regenerateToken()
* @see \Illuminate\Session\Store::handlerNeedsRequest
......@@ -1667,63 +1667,63 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Session\Store::flashInput
* @method static void flashInput(array $value)
* @see \Illuminate\Session\Store::getBagData
* @method static mixed getBagData($name)
* @method static array getBagData(string $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)
* @method static void put(array|string $key, $value = null)
* @see \Illuminate\Session\Store::getToken
* @method static mixed getToken()
* @method static string getToken()
* @see \Illuminate\Session\Store::previousUrl
* @method static mixed previousUrl()
* @method static null|string previousUrl()
* @see \Illuminate\Session\Store::has
* @method static bool has($name)
* @see \Illuminate\Session\Store::all
* @method static array|mixed all()
* @method static array all()
* @see \Illuminate\Session\Store::setPreviousUrl
* @method static null setPreviousUrl($url)
* @method static null|void setPreviousUrl(string $url)
* @see \Illuminate\Session\Store::getId
* @method static string getId()
* @see \Illuminate\Session\Store::isValidId
* @method static bool isValidId($id)
* @method static bool isValidId(string $id)
* @see \Illuminate\Session\Store::push
* @method static void push($key, $value)
* @method static void push(string $key, $value)
* @see \Illuminate\Session\Store::setName
* @method static void setName($name)
* @see \Illuminate\Session\Store::reflash
* @method static void reflash()
* @see \Illuminate\Session\Store::forget
* @method static void forget($keys)
* @method static void forget(array|string $keys)
* @see \Illuminate\Session\Store::setExists
* @method static void setExists($value)
* @method static void setExists(bool $value)
* @see \Illuminate\Session\Store::regenerate
* @method static true regenerate($destroy = false)
* @method static bool regenerate(bool $destroy = false)
* @see \Illuminate\Session\Store::isStarted
* @method static bool|mixed isStarted()
* @method static bool isStarted()
* @see \Illuminate\Session\Store::keep
* @method static void keep($keys = null)
* @method static void keep(array|mixed $keys = null)
* @see \Illuminate\Session\Store::getOldInput
* @method static mixed getOldInput($key = null, $default = null)
* @method static mixed getOldInput(string $key = null, $default = null)
* @see \Illuminate\Session\Store::migrate
* @method static true migrate($destroy = false, $lifetime = null)
* @method static bool migrate($destroy = false, $lifetime = null)
* @see \Illuminate\Session\Store::flash
* @method static void flash($key, $value)
* @method static void flash(string $key, $value)
* @see \Illuminate\Session\Store::hasOldInput
* @method static bool hasOldInput($key = null)
* @method static bool hasOldInput(string $key = null)
* @see \Illuminate\Session\Store::getMetadataBag
* @method static \Symfony\Component\HttpFoundation\Session\Storage\MetadataBag getMetadataBag()
* @see \Illuminate\Session\Store::save
* @method static void save()
* @see \Illuminate\Session\Store::increment
* @method static int|mixed increment($key, $amount = 1)
* @method static int|mixed increment(string $key, int $amount = 1)
* @see \Illuminate\Session\Store::remove
* @method static mixed remove($name)
* @method static array|\ArrayAccess|mixed remove($name)
* @see \Illuminate\Session\Store::flush
* @method static void flush()
* @see \Illuminate\Session\Store::get
* @method static mixed get($name, $default = null)
* @method static array|\ArrayAccess|mixed get($name, $default = null)
* @see \Illuminate\Session\Store::now
* @method static void now($key, $value)
* @method static void now(string $key, $value)
* @see \Illuminate\Session\Store::registerBag
* @method static void registerBag(\Symfony\Component\HttpFoundation\Session\SessionBagInterface $bag)
* @see \Illuminate\Session\Store::set
......@@ -1735,19 +1735,19 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Session\Store::getHandler
* @method static \SessionHandlerInterface getHandler()
* @see \Illuminate\Session\Store::invalidate
* @method static true invalidate($lifetime = null)
* @method static bool invalidate($lifetime = null)
* @see \Illuminate\Session\Store::token
* @method static mixed token()
* @method static string token()
* @see \Illuminate\Session\Store::getName
* @method static mixed|string getName()
* @method static string getName()
* @see \Illuminate\Session\Store::pull
* @method static mixed pull($key, $default = null)
* @method static mixed pull(string $key, string $default = null)
* @see \Illuminate\Session\Store::decrement
* @method static int|mixed decrement($key, $amount = 1)
* @method static int decrement(string $key, int $amount = 1)
* @see \Illuminate\Session\Store::setId
* @method static void setId($id)
* @see \Illuminate\Session\Store::getBag
* @method static mixed getBag($name)
* @method static array|\ArrayAccess|mixed getBag($name)
*/
class Session {}
......@@ -1791,7 +1791,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Support\Traits\Macroable::macro
* @method static void macro($name, callable $macro)
* @see \Illuminate\Routing\UrlGenerator::previous
* @method static string previous($fallback = false)
* @method static array|\ArrayAccess|mixed|string previous($fallback = false)
* @see \Illuminate\Routing\UrlGenerator::setSessionResolver
* @method static \Illuminate\Routing\UrlGenerator setSessionResolver(callable $sessionResolver)
* @see \Illuminate\Routing\UrlGenerator::setRoutes
......
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