Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
liexin_supplier
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
018cb350
authored
Oct 10, 2024
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1.银行信息添加国家选择以及同步到金蝶要拼接上国家
2.银行账号格式规范
parent
ed2a10a4
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
360 additions
and
305 deletions
app/Http/Controllers/Api/SupplierApiController.php
app/Http/Controllers/Api/SupplierReceiptApiController.php
app/Http/Controllers/SupplierController.php
app/Http/Controllers/SupplierReceiptController.php
app/Http/Services/SupplierReceiptService.php
app/Http/Services/SupplierService.php
app/Http/Services/SyncSupplierService.php
app/Http/Transformers/SupplierTransformer.php
app/Http/Validators/ReceiptValidator.php
app/Http/function.php
app/Model/NationModel.php
app/Model/SupplierReceiptModel.php
resources/views/script/AddSupplierScript.blade.php
resources/views/script/supplier/SupplierReceiptScript.blade.php
resources/views/web/AddSupplier.blade.php
resources/views/web/AddSupplierReceipt.blade.php
vendor/_laravel_idea/_ide_helper_facades.php
app/Http/Controllers/Api/SupplierApiController.php
View file @
018cb350
...
...
@@ -148,6 +148,7 @@ class SupplierApiController extends Controller
'account_adderss'
,
'certificate'
,
'swift_code'
,
'nation_id'
,
]);
$channel
=
$request
->
only
(
$channelMap
);
...
...
app/Http/Controllers/Api/SupplierReceiptApiController.php
View file @
018cb350
...
...
@@ -29,14 +29,14 @@ class SupplierReceiptApiController extends Controller
$limit
=
$request
->
get
(
'limit'
,
10
);
$model
=
new
SupplierReceiptModel
();
$model
->
where
(
'supplier_id'
,
$supplierId
)
->
paginate
();
$list
=
$model
->
where
(
'supplier_id'
,
$supplierId
)
->
orderBy
(
'receipt_id'
,
'desc'
)
$list
=
$model
->
w
ith
([
'nation'
])
->
w
here
(
'supplier_id'
,
$supplierId
)
->
orderBy
(
'receipt_id'
,
'desc'
)
->
paginate
(
$limit
)
->
toArray
();
$transformer
=
new
ReceiptTransformer
();
$list
[
'data'
]
=
$transformer
->
transformList
(
$list
[
'data'
]);
$this
->
response
(
0
,
'ok'
,
$list
[
'data'
],
$list
[
'total'
]);
}
//
获取供应商信息变更记录
//
新增银行信息
public
function
AddSupplierReceipt
(
$request
)
{
//先去表单验证
...
...
@@ -61,11 +61,13 @@ class SupplierReceiptApiController extends Controller
'certificate'
,
'account_name'
,
'remark'
,
'nation_id'
,
//'international_code'
]);
$receipt
[
'account_adderss'
]
=
empty
(
$receipt
[
'account_adderss'
])
?
' '
:
$receipt
[
'account_adderss'
];
if
(
$receipt
[
'receipt_type'
]
==
1
)
{
$receipt
[
'swift_code'
]
=
''
;
$receipt
[
'nation_id'
]
=
0
;
}
$receiptId
=
$request
->
get
(
'receipt_id'
);
$supplierId
=
$request
->
get
(
'supplier_id'
);
...
...
app/Http/Controllers/SupplierController.php
View file @
018cb350
...
...
@@ -16,6 +16,7 @@ use App\Http\Transformers\LogTransformer;
use
App\Http\Transformers\SupplierTransformer
;
use
App\Model\IntracodeModel
;
use
App\Model\LogModel
;
use
App\Model\NationModel
;
use
App\Model\SupplierChannelModel
;
use
App\Model\SupplierContactModel
;
use
Illuminate\Http\Request
;
...
...
@@ -172,6 +173,7 @@ class SupplierController extends Controller
//省市区数据放到script模板
$regionService
=
new
RegionService
();
$this
->
data
[
'region_data'
]
=
$regionService
->
getCityRegionData
();
$this
->
data
[
'nationList'
]
=
NationModel
::
pluck
(
'name_cn'
,
'nation_id'
)
->
toArray
();
$this
->
data
[
'brand_init_value'
]
=
[];
$this
->
data
[
'agency_brand_init_value'
]
=
[];
//编辑
...
...
app/Http/Controllers/SupplierReceiptController.php
View file @
018cb350
...
...
@@ -8,6 +8,7 @@ use App\Http\Services\SupplierService;
use
App\Http\Services\SupplierStatisticsService
;
use
App\Http\Services\ViewCheckService
;
use
App\Model\IntracodeModel
;
use
App\Model\NationModel
;
use
App\Model\SupplierChannelModel
;
use
App\Model\SupplierReceiptModel
;
use
Illuminate\Http\Request
;
...
...
@@ -46,6 +47,7 @@ class SupplierReceiptController extends Controller
public
function
AddSupplierReceipt
(
$request
)
{
$this
->
data
[
'title'
]
=
'添加供应商银行'
;
$this
->
data
[
'nationList'
]
=
NationModel
::
pluck
(
'name_cn'
,
'nation_id'
)
->
toArray
();
return
$this
->
view
(
'添加供应商银行'
);
}
...
...
@@ -57,11 +59,11 @@ class SupplierReceiptController extends Controller
$model
=
new
SupplierReceiptModel
();
$this
->
data
[
'receipt'
]
=
$model
->
where
(
'receipt_id'
,
$receiptId
)
->
first
()
->
toArray
();
}
$this
->
data
[
'nationList'
]
=
NationModel
::
pluck
(
'name_cn'
,
'nation_id'
)
->
toArray
();
$this
->
data
[
'title'
]
=
'修改供应商银行'
;
$this
->
data
[
'view'
]
=
'AddSupplierReceipt'
;
return
$this
->
view
(
'修改供应商银行'
);
}
}
\ No newline at end of file
}
app/Http/Services/SupplierReceiptService.php
View file @
018cb350
...
...
@@ -13,7 +13,7 @@ class SupplierReceiptService
{
//判断字符串是否自由数字、英文字母、字符“-”和“()”
public
static
function
checkAccountNo
(
$str
)
{
return
preg_match
(
"/^[0-9a-zA-Z\-\(\)]*$/"
,
$str
)
===
1
;
return
preg_match
(
"/^[0-9a-zA-Z\-\(\)
]*$/"
,
$str
)
===
1
;
}
//字符串保留数字、英文字母、字符“-”和“()”
...
...
app/Http/Services/SupplierService.php
View file @
018cb350
...
...
@@ -66,7 +66,6 @@ class SupplierService
$supplierTransformer
=
new
SupplierTransformer
();
//先处理下数据
$channel
=
$supplierTransformer
->
transformPostData
(
$channel
);
$logService
=
new
LogService
();
$model
=
new
SupplierChannelModel
();
...
...
app/Http/Services/SyncSupplierService.php
View file @
018cb350
...
...
@@ -91,18 +91,19 @@ class SyncSupplierService
->
where
(
'is_type'
,
0
)
->
where
(
'group_code'
,
'!='
,
''
)
->
pluck
(
'supplier_id'
)
->
toArray
();
//银行信息
$receipts
=
SupplierReceiptModel
::
whereIn
(
'supplier_id'
,
$supplierIds
)
->
get
()
->
toArray
();
$receipts
=
SupplierReceiptModel
::
w
ith
([
'nation'
])
->
w
hereIn
(
'supplier_id'
,
$supplierIds
)
->
get
()
->
toArray
();
//->where('bank_name', '!=', '')->where('account_no', '!=', '')->get()->toArray();
if
(
!
empty
(
$receipts
))
{
$message
[
'bankinfo'
]
=
[];
foreach
(
$receipts
as
$receipt
)
{
$address
=
!
empty
(
$receipt
[
'nation'
][
'name_cn'
])
?
$receipt
[
'nation'
][
'name_cn'
]
.
$receipt
[
'account_adderss'
]
:
$receipt
[
'account_adderss'
];
$message
[
'bankinfo'
][]
=
[
"bank"
=>
$receipt
[
'bank_adderss'
],
'bankaccount'
=>
$receipt
[
'account_no'
],
'supplier'
=>
$receipt
[
'bank_name'
],
'swiftCode'
=>
$receipt
[
'swift_code'
],
'beneficiary'
=>
$receipt
[
'account_name'
],
'bankAddress'
=>
$
receipt
[
'account_adderss'
]
,
'bankAddress'
=>
$
address
,
'infoEvidence'
=>
$receipt
[
'certificate'
],
'recid'
=>
$receipt
[
'receipt_id'
],
//'bankaccount' => $receipt['international_code'],
...
...
app/Http/Transformers/SupplierTransformer.php
View file @
018cb350
...
...
@@ -285,7 +285,8 @@ class SupplierTransformer
public
function
transformPostData
(
$channel
)
{
$channel
[
'supplier_name'
]
=
trim
(
$channel
[
'supplier_name'
]);
$channel
[
'supplier_name'
]
=
replaceSpace
(
$channel
[
'supplier_name'
]);
$channel
[
'supplier_name'
]
=
replaceSpecialSpace
(
$channel
[
'supplier_name'
]);
$channel
[
'supplier_name'
]
=
deleteExtraSpace
(
$channel
[
'supplier_name'
]);
if
(
!
empty
(
$channel
[
'stockup_type'
]))
{
$stockupType
=
array_keys
(
$channel
[
'stockup_type'
]);
$stockupType
=
!
empty
(
$stockupType
)
?
implode
(
","
,
$stockupType
)
:
''
;
...
...
app/Http/Validators/ReceiptValidator.php
View file @
018cb350
...
...
@@ -18,7 +18,7 @@ class ReceiptValidator
$rules
=
[
"bank_name"
=>
"required"
,
"bank_adderss"
=>
"required"
,
"account_no"
=>
"required"
,
"account_no"
=>
[
'required'
,
'regex:/^[0-9]+$/'
]
,
//"account_no" => "required|regex:/^[0-9\-]+$/",
"receipt_type"
=>
'required'
,
"certificate"
=>
"required"
,
...
...
@@ -28,19 +28,20 @@ class ReceiptValidator
$rules
[
"account_adderss"
]
=
'required'
;
$rules
[
"account_name"
]
=
'required'
;
$rules
[
"bank_adderss"
]
=
'required'
;
$rules
[
"nation_id"
]
=
'required'
;
$rules
[
'account_no'
]
=
[
'required'
];
//$rules["international_code"] = 'required';
}
$messages
=
$this
->
messages
();
$validator
=
Validator
::
make
(
$receipt
,
$rules
,
$messages
);
$otherErrors
=
[];
if
(
!
SupplierReceiptService
::
checkAccountNo
(
$receipt
[
'account_no'
]))
{
if
(
!
SupplierReceiptService
::
checkAccountNo
(
$receipt
[
'account_no'
])
&&
$receipt
[
'receipt_type'
]
==
2
)
{
if
(
$returnAllError
)
{
$otherErrors
[]
=
'银行账号仅支持输入数字、英文字母、符号
“-”“()”
'
;
$otherErrors
[]
=
'银行账号仅支持输入数字、英文字母、符号
- () 、空格
'
;
return
$otherErrors
;
}
else
{
return
'银行账号仅支持输入数字、英文字母、符号
“-”“()”
'
;
}
else
{
return
'银行账号仅支持输入数字、英文字母、符号
- () 、空格
'
;
}
}
...
...
@@ -67,9 +68,11 @@ class ReceiptValidator
'bank_adderss.required'
=>
'开户行 不能为空'
,
'swift_code.required'
=>
'银行国际代码 Swift Code 不能为空'
,
'account_no.required'
=>
'银行账号 不能为空'
,
'account_no.regex'
=>
'国内银行账号仅支持输入数字且中间不能有空格'
,
'account_name.required'
=>
'账户名称 不能为空'
,
'certificate.required'
=>
'银行信息凭证 不能为空'
,
'account_adderss.required'
=>
'银行地址 不能为空'
,
'nation_id.required'
=>
'银行国家 不能为空'
,
//'international_code.required' => '国际代码 不能为空',
];
}
...
...
app/Http/function.php
View file @
018cb350
...
...
@@ -320,7 +320,7 @@ function getSpuSkuDb($id)
}
//去除特殊空格
function
replaceSpace
(
$str
)
function
replaceSp
ecialSp
ace
(
$str
)
{
$str
=
str_replace
(
" "
,
" "
,
$str
);
//头尾的空格去掉
...
...
@@ -332,3 +332,14 @@ function isDevEnvironment()
{
return
config
(
'perm.perm.menuId'
)
==
16
;
}
//去除多余空格
function
deleteExtraSpace
(
$inputString
)
{
// 使用正则表达式替换多个空格为一个空格
$outputString
=
preg_replace
(
'/\s+/'
,
' '
,
$inputString
);
// 输出结果
return
$outputString
;
// 输出: "This is a string with several spaces."
}
app/Model/NationModel.php
0 → 100644
View file @
018cb350
<?php
namespace
App\Model
;
use
Illuminate\Database\Eloquent\Model
;
class
NationModel
extends
Model
{
protected
$connection
=
'liexin'
;
protected
$table
=
'nation'
;
protected
$primaryKey
=
'nation_id'
;
public
$timestamps
=
false
;
}
app/Model/SupplierReceiptModel.php
View file @
018cb350
...
...
@@ -7,52 +7,62 @@ use request;
class
SupplierReceiptModel
extends
Model
{
protected
$connection
=
'web'
;
protected
$table
=
'supplier_receipt'
;
protected
$connection
=
'web'
;
protected
$table
=
'supplier_receipt'
;
public
$timestamps
=
false
;
public
function
AddInfo
(
$SupplierID
=
''
,
$data
=
''
){
if
(
empty
(
$SupplierID
)
||
empty
(
$data
)
||
!
is_array
(
$data
))
return
false
;
foreach
(
$data
as
$k
=>
$v
){
public
function
nation
()
{
return
$this
->
hasOne
(
NationModel
::
class
,
'nation_id'
,
'nation_id'
);
}
public
function
AddInfo
(
$SupplierID
=
''
,
$data
=
''
)
{
if
(
empty
(
$SupplierID
)
||
empty
(
$data
)
||
!
is_array
(
$data
))
return
false
;
foreach
(
$data
as
$k
=>
$v
)
{
unset
(
$v
[
'receipt_id'
]);
$v
[
'supplier_id'
]
=
$SupplierID
;
$v
[
'receipt_type'
]
=
$k
;
$result
=
$this
->
insert
(
$v
);
$result
=
$this
->
insert
(
$v
);
}
return
$result
;
}
public
function
SaveInfo
(
$SupplierID
=
''
,
$data
=
''
){
if
(
!
is_array
(
$data
)
||
(
empty
(
$data
[
1
][
'receipt_id'
])
&&
empty
(
$data
[
2
][
'receipt_id'
])))
return
false
;
if
(
isset
(
$data
[
1
][
'receipt_id'
])
&&
!
empty
(
$data
[
1
][
'receipt_id'
])){
public
function
SaveInfo
(
$SupplierID
=
''
,
$data
=
''
)
{
if
(
!
is_array
(
$data
)
||
(
empty
(
$data
[
1
][
'receipt_id'
])
&&
empty
(
$data
[
2
][
'receipt_id'
])))
return
false
;
if
(
isset
(
$data
[
1
][
'receipt_id'
])
&&
!
empty
(
$data
[
1
][
'receipt_id'
]))
{
$data
[
1
][
'supplier_id'
]
=
$SupplierID
;
$receipt_id
=
$data
[
1
][
'receipt_id'
];
unset
(
$data
[
1
][
'receipt_id'
]);
$res
=
$this
->
where
(
'receipt_id'
,
'='
,
$receipt_id
)
->
update
(
$data
[
1
]);
$res
=
$this
->
where
(
'receipt_id'
,
'='
,
$receipt_id
)
->
update
(
$data
[
1
]);
}
if
(
isset
(
$data
[
2
][
'receipt_id'
])
&&
!
empty
(
$data
[
2
][
'receipt_id'
]))
{
if
(
isset
(
$data
[
2
][
'receipt_id'
])
&&
!
empty
(
$data
[
2
][
'receipt_id'
]))
{
$data
[
2
][
'supplier_id'
]
=
$SupplierID
;
$receipt_id
=
$data
[
2
][
'receipt_id'
];
unset
(
$data
[
2
][
'receipt_id'
]);
$res
=
$this
->
where
(
'receipt_id'
,
'='
,
$receipt_id
)
->
update
(
$data
[
2
]);
}
else
{
$res
=
$this
->
where
(
'receipt_id'
,
'='
,
$receipt_id
)
->
update
(
$data
[
2
]);
}
else
{
$data
[
2
][
'supplier_id'
]
=
$SupplierID
;
$data
[
2
][
'receipt_type'
]
=
2
;
$result
=
$this
->
insert
(
$data
[
2
]);
$result
=
$this
->
insert
(
$data
[
2
]);
}
return
$res
;
}
public
function
ReceiptInfo
(
$SupplierID
=
''
){
$collert
=
Request
::
only
(
'supplier_id'
);
$collert
=
TrimX
(
$collert
,
true
,[
'supplier_id'
]);
empty
(
$collert
)
&&
$collert
[
'supplier_id'
]
=
$SupplierID
;
if
(
empty
(
$collert
[
'supplier_id'
]))
return
false
;
$info
=
$this
->
where
(
'supplier_id'
,
'='
,
$collert
[
'supplier_id'
])
->
get
();
if
(
!
$info
)
return
false
;
public
function
ReceiptInfo
(
$SupplierID
=
''
)
{
$collert
=
Request
::
only
(
'supplier_id'
);
$collert
=
TrimX
(
$collert
,
true
,
[
'supplier_id'
]);
empty
(
$collert
)
&&
$collert
[
'supplier_id'
]
=
$SupplierID
;
if
(
empty
(
$collert
[
'supplier_id'
]))
return
false
;
$info
=
$this
->
where
(
'supplier_id'
,
'='
,
$collert
[
'supplier_id'
])
->
get
();
if
(
!
$info
)
return
false
;
$res
=
$info
->
toArray
();
$data
=
array
();
foreach
(
$res
as
$k
=>
$v
)
{
foreach
(
$res
as
$k
=>
$v
)
{
$data
[
$v
[
'receipt_type'
]]
=
$v
;
}
return
$data
;
...
...
resources/views/script/AddSupplierScript.blade.php
View file @
018cb350
...
...
@@ -11,11 +11,13 @@
form
.
on
(
'radio(receipt_type)'
,
function
(
data
)
{
if
(
data
.
value
==
1
)
{
$
(
'#swift_code_div'
).
hide
();
$
(
'#nation_id_div'
).
hide
();
$
(
'#account_name_label'
).
text
(
'账户名称 : '
);
$
(
'#account_name_require_span'
).
hide
();
$
(
'#bank_address_require_span'
).
hide
();
}
else
{
$
(
'#swift_code_div'
).
show
();
$
(
'#nation_id_div'
).
show
();
$
(
'#account_name_label'
).
text
(
'国外受益人 : '
);
$
(
'#account_name_require_span'
).
show
();
$
(
'#bank_address_require_span'
).
show
();
...
...
resources/views/script/supplier/SupplierReceiptScript.blade.php
View file @
018cb350
...
...
@@ -38,12 +38,17 @@
{
field
:
'certificate'
,
title
:
'
<
span
class
=
"require"
>*
<
/span>信息凭证'
,
width
:
20
0
,
align
:
'center'
,
width
:
15
0
,
align
:
'center'
,
templet
:
function
(
data
)
{
return
"
<
a
style
=
'color: blue'
href
=
'" + data.certificate + "'
target
=
'_blank'
>
" + data.certificate + "
<
/a>"
;
}
},
{
field
:
'account_adderss'
,
title
:
'银行地址'
,
align
:
'center'
,
width
:
200
},
{
field
:
'nation_name'
,
title
:
'银行国家'
,
align
:
'center'
,
width
:
100
,
templet
:
function
(
data
)
{
return
data
.
nation
?
data
.
nation
.
name_cn
:
''
;
}
},
{
field
:
'remark'
,
title
:
'备注'
,
align
:
'center'
,
width
:
200
},
]],
id
:
'receiptList'
,
...
...
@@ -55,7 +60,7 @@
layer
.
open
({
type
:
2
,
content
:
'/supplier_receipt/AddSupplierReceipt?view=iframe&supplier_id='
+
supplierId
,
area
:
[
'50%'
,
'
7
0%'
],
area
:
[
'50%'
,
'
9
0%'
],
title
:
'新增银行'
,
end
:
function
()
{
table
.
reload
(
'receiptList'
);
...
...
@@ -75,7 +80,7 @@
layer
.
open
({
type
:
2
,
content
:
'/supplier_receipt/UpdateSupplierReceipt?view=iframe&supplier_id='
+
supplierId
+
'&receipt_id='
+
receiptId
,
area
:
[
'50%'
,
'
7
0%'
],
area
:
[
'50%'
,
'
9
0%'
],
title
:
'修改银行'
,
end
:
function
()
{
table
.
reload
(
'receiptList'
);
...
...
resources/views/web/AddSupplier.blade.php
View file @
018cb350
...
...
@@ -319,7 +319,9 @@
</div>
</div>
<div
class=
"layui-col-md4"
>
<label
class=
"layui-form-label"
><span
class=
"require"
id=
"account_name_require_span"
style=
"display: none"
>
*
</span><span
id=
"account_name_label"
>
账户名称
</span>
</label>
<label
class=
"layui-form-label"
><span
class=
"require"
id=
"account_name_require_span"
style=
"display: none"
>
*
</span><span
id=
"account_name_label"
>
账户名称
</span>
</label>
<div
class=
"layui-input-block block-42"
>
<input
type=
"text"
name=
"account_name"
id=
"account_name"
placeholder=
"请输入账户名称"
class=
"layui-input"
...
...
@@ -327,7 +329,8 @@
</div>
</div>
<div
class=
"layui-col-md4"
>
<label
class=
"layui-form-label"
><span
class=
"require"
style=
"display: none"
id=
"bank_address_require_span"
>
*
</span>
银行地址 :
</label>
<label
class=
"layui-form-label"
><span
class=
"require"
style=
"display: none"
id=
"bank_address_require_span"
>
*
</span>
银行地址 :
</label>
<div
class=
"layui-input-block block-42"
>
<input
type=
"text"
name=
"account_adderss"
id=
"account_adderss"
placeholder=
"请输入银行具体地址或银行所在国家"
class=
"layui-input"
...
...
@@ -335,19 +338,10 @@
</div>
</div>
<div
class=
"layui-col-md4"
>
<label
class=
"layui-form-label"
>
<span
class=
"require"
>
*
</span>
银行凭证:
</label>
<div
class=
"layui-input-block"
>
<input
type=
"hidden"
name=
"certificate"
id=
"certificate"
value=
""
>
<button
type=
"button"
class=
"layui-btn upload-img layui-btn-sm"
preview=
"preview"
data-obj=
"certificate"
>
<i
class=
"layui-icon"
>

</i>
上传文件
</button>
<a
target=
"_blank"
id=
"certificate_url"
href=
""
></a>
<div
class=
"layui-form-item"
id=
"nation_id_div"
style=
"display: none"
>
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('nation_id','银行国家 : ',0,
$nationList,['required'=>true]) !!}
</div>
</div>
<div
class=
"layui-col-md4"
>
...
...
@@ -368,6 +362,23 @@
value=
""
>
</div>
</div>
<div
class=
"layui-col-md12"
>
<label
class=
"layui-form-label"
>
<span
class=
"require"
>
*
</span>
银行凭证:
</label>
<div
class=
"layui-input-block"
>
<input
type=
"hidden"
name=
"certificate"
id=
"certificate"
value=
""
>
<button
type=
"button"
class=
"layui-btn upload-img layui-btn-sm"
preview=
"preview"
data-obj=
"certificate"
>
<i
class=
"layui-icon"
>

</i>
上传文件
</button>
<a
target=
"_blank"
id=
"certificate_url"
href=
""
></a>
</div>
</div>
</div>
<blockquote
class=
"layui-elem-quote layui-text"
>
<b>
联系人
</b>
...
...
resources/views/web/AddSupplierReceipt.blade.php
View file @
018cb350
...
...
@@ -69,16 +69,11 @@
value=
"{{$receipt['account_adderss'] or ''}}"
>
</div>
</div>
{{--
<div
class=
"layui-form-item"
x-show=
"receiptType === '2'"
>
--}}
{{--
<label
class=
"layui-form-label"
>
--}}
{{--
<span
style=
"color: red"
>
*
</span>
--}}
{{-- 国际代码 :
</label>
--}}
{{--
<div
class=
"layui-input-block block-42"
>
--}}
{{--
<input
type=
"text"
name=
"international_code"
id=
"international_code"
--
}}
{{
--
placeholder=
"请输入银行国际代码"
class=
"layui-input"
--
}}
{{
--
value=
"{{$receipt['international_code'] or ''}}"
>
--}}
{{--
</div>
--}}
{{--
</div>
--}}
<div
class=
"layui-form-item"
id=
"nation_id_div"
x-show=
"receiptType === '2'"
>
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('nation_id','银行国家 : ',isset($receipt['nation_id'])?$receipt['nation_id']:0,
$nationList,['required'=>true]) !!}
</div>
<div
class=
"layui-form-item"
id=
"swift_code_div"
x-show=
"receiptType === '2'"
>
<label
class=
"layui-form-label"
><span
class=
"require"
>
*
</span>
Swift Code :
</label>
<div
class=
"layui-input-block block-42"
>
...
...
@@ -100,8 +95,6 @@
</button>
<a
target=
"_blank"
id=
"certificate_url"
href=
"{{$receipt['certificate'] or ''}}"
>
{{$receipt['certificate'] or ''}}
</a>
{{--
<img
@
if
(!
empty
($
receipt
['
certificate
']))
src=
"{{$receipt['certificate'] or ''}}"
--
}}
{{
--
@
endif
class=
"layui-upload-img"
width=
"50px"
height=
"50px"
id=
"preview"
>
--}}
</div>
</div>
<div
class=
"layui-form-item"
>
...
...
vendor/_laravel_idea/_ide_helper_facades.php
View file @
018cb350
<?php
//
b08edbfc6252a2a86d86f79c4a6f702
0
<?php
//
92fb076c9ca247c2d807c9ccf316c10
0
/** @noinspection all */
namespace
Illuminate\Support\Facades
{
...
...
@@ -7,79 +7,79 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Foundation\Application::basePath
* @method static string basePath()
* @see \Illuminate\Container\Container::when
* @method static \Illuminate\Container\ContextualBindingBuilder
when(
$concrete)
* @method static \Illuminate\Container\ContextualBindingBuilder
|\Illuminate\Contracts\Container\ContextualBindingBuilder when(string
$concrete)
* @see \Illuminate\Foundation\Application::path
* @method static string path()
* @see \Illuminate\Container\Container::bind
* @method static void bind(
$abstract, $concrete = null,
$shared = false)
* @method static void bind(
array|string $abstract, \Closure|null|string $concrete = null, bool
$shared = false)
* @see \Illuminate\Container\Container::tagged
* @method static array tagged($tag)
* @method static array tagged(
string
$tag)
* @see \Illuminate\Foundation\Application::setDeferredServices
* @method static void setDeferredServices(array $services)
* @see \Illuminate\Foundation\Application::hasMonologConfigurator
* @method static bool hasMonologConfigurator()
* @see \Illuminate\Foundation\Application::getDeferredServices
* @method static array
|mixed
getDeferredServices()
* @method static array getDeferredServices()
* @see \Illuminate\Foundation\Application::registerDeferredProvider
* @method static void registerDeferredProvider(
$provider,
$service = null)
* @method static void registerDeferredProvider(
string $provider, string
$service = null)
* @see \Illuminate\Foundation\Application::handle
* @method static \Symfony\Component\HttpFoundation\Response handle(\Symfony\Component\HttpFoundation\Request $request, $type = \Illuminate\Foundation\Application::MASTER_REQUEST, $catch = true)
* @see \Illuminate\Container\Container::bindIf
* @method static void bindIf(
$abstract, $concrete = null,
$shared = false)
* @method static void bindIf(
string $abstract, \Closure|null|string $concrete = null, bool
$shared = false)
* @see \Illuminate\Foundation\Application::version
* @method static string version()
* @see \Illuminate\Container\Container::rebinding
* @method static mixed
|null|object|void rebinding(
$abstract, \Closure $callback)
* @method static mixed
rebinding(string
$abstract, \Closure $callback)
* @see \Illuminate\Container\Container::extend
* @method static void extend($abstract, \Closure $closure)
* @method static void extend(
string
$abstract, \Closure $closure)
* @see \Illuminate\Foundation\Application::useStoragePath
* @method static \Illuminate\Foundation\Application useStoragePath($path)
* @method static \Illuminate\Foundation\Application useStoragePath(
string
$path)
* @see \Illuminate\Foundation\Application::hasBeenBootstrapped
* @method static bool
|mixed
hasBeenBootstrapped()
* @method static bool hasBeenBootstrapped()
* @see \Illuminate\Container\Container::offsetUnset
* @method static void offsetUnset($key)
* @method static void offsetUnset(
string
$key)
* @see \Illuminate\Foundation\Application::loadEnvironmentFrom
* @method static \Illuminate\Foundation\Application loadEnvironmentFrom($file)
* @method static \Illuminate\Foundation\Application loadEnvironmentFrom(
string
$file)
* @see \Illuminate\Container\Container::setInstance
* @method static void setInstance(\Illuminate\Contracts\Container\Container $container)
* @see \Illuminate\Foundation\Application::terminate
* @method static void terminate()
* @see \Illuminate\Foundation\Application::environmentFile
* @method static
mixed|
string environmentFile()
* @method static string environmentFile()
* @see \Illuminate\Foundation\Application::getCachedCompilePath
* @method static string getCachedCompilePath()
* @see \Illuminate\Foundation\Application::runningUnitTests
* @method static bool runningUnitTests()
* @see \Illuminate\Foundation\Application::setLocale
* @method static void setLocale($locale)
* @method static void setLocale(
string
$locale)
* @see \Illuminate\Foundation\Application::bootstrapPath
* @method static string bootstrapPath()
* @see \Illuminate\Foundation\Application::detectEnvironment
* @method static
mixed|
string detectEnvironment(\Closure $callback)
* @method static string detectEnvironment(\Closure $callback)
* @see \Illuminate\Foundation\Application::isLocal
* @method static bool isLocal()
* @see \Illuminate\Foundation\Application::getCachedServicesPath
* @method static string getCachedServicesPath()
* @see \Illuminate\Container\Container::isAlias
* @method static bool isAlias($name)
* @method static bool isAlias(
string
$name)
* @see \Illuminate\Foundation\Application::registerConfiguredProviders
* @method static void registerConfiguredProviders()
* @see \Illuminate\Foundation\Application::isLocale
* @method static bool isLocale($locale)
* @method static bool isLocale(
string
$locale)
* @see \Illuminate\Container\Container::share
* @method static \Closure share(\Closure $closure)
* @see \Illuminate\Foundation\Application::getNamespace
* @method static
int|mixed|
null|string getNamespace()
* @method static null|string getNamespace()
* @see \Illuminate\Container\Container::resolved
* @method static bool resolved($abstract)
* @method static bool resolved(
string
$abstract)
* @see \Illuminate\Foundation\Application::getProvider
* @method static
false|mixed getProvider(
$provider)
* @method static
\Illuminate\Support\ServiceProvider|null getProvider(\Illuminate\Support\ServiceProvider|string
$provider)
* @see \Illuminate\Container\Container::refresh
* @method static mixed
|null|object refresh($abstract, $target,
$method)
* @method static mixed
refresh(string $abstract, $target, string
$method)
* @see \Illuminate\Foundation\Application::registerCoreContainerAliases
* @method static void registerCoreContainerAliases()
* @see \Illuminate\Foundation\Application::useDatabasePath
* @method static \Illuminate\Foundation\Application useDatabasePath($path)
* @method static \Illuminate\Foundation\Application useDatabasePath(
string
$path)
* @see \Illuminate\Foundation\Application::environmentFilePath
* @method static string environmentFilePath()
* @see \Illuminate\Foundation\Application::booting
...
...
@@ -87,23 +87,23 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Foundation\Application::shouldSkipMiddleware
* @method static bool shouldSkipMiddleware()
* @see \Illuminate\Container\Container::call
* @method static mixed call(
$callback, array $parameters = [],
$defaultMethod = null)
* @method static mixed call(
callable|string $callback, array $parameters = [], null|string
$defaultMethod = null)
* @see \Illuminate\Foundation\Application::getLocale
* @method static
void
getLocale()
* @method static
string
getLocale()
* @see \Illuminate\Foundation\Application::terminating
* @method static \Illuminate\Foundation\Application terminating(\Closure $callback)
* @see \Illuminate\Foundation\Application::beforeBootstrapping
* @method static void beforeBootstrapping($bootstrapper, \Closure $callback)
* @method static void beforeBootstrapping(
string
$bootstrapper, \Closure $callback)
* @see \Illuminate\Container\Container::wrap
* @method static \Closure wrap(\Closure $callback, array $parameters = [])
* @see \Illuminate\Foundation\Application::register
* @method static \Illuminate\Support\ServiceProvider|
mixed|string register($provider, $options = [],
$force = false)
* @method static \Illuminate\Support\ServiceProvider|
string register(\Illuminate\Support\ServiceProvider|string $provider, array $options = [], bool
$force = false)
* @see \Illuminate\Foundation\Application::environmentPath
* @method static string environmentPath()
* @see \Illuminate\Foundation\Application::addDeferredServices
* @method static void addDeferredServices(array $services)
* @see \Illuminate\Container\Container::instance
* @method static void instance($abstract, $instance)
* @method static void instance(
string
$abstract, $instance)
* @see \Illuminate\Foundation\Application::configureMonologUsing
* @method static \Illuminate\Foundation\Application configureMonologUsing(callable $callback)
* @see \Illuminate\Foundation\Application::databasePath
...
...
@@ -113,87 +113,87 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Foundation\Application::storagePath
* @method static string storagePath()
* @see \Illuminate\Foundation\Application::resolveProviderClass
* @method static
mixed resolveProviderClass(
$provider)
* @method static
\Illuminate\Support\ServiceProvider resolveProviderClass(string
$provider)
* @see \Illuminate\Foundation\Application::loadDeferredProvider
* @method static void loadDeferredProvider($service)
* @method static void loadDeferredProvider(
string
$service)
* @see \Illuminate\Foundation\Application::booted
* @method static void booted($callback)
* @see \Illuminate\Foundation\Application::routesAreCached
* @method static
void
routesAreCached()
* @method static
bool
routesAreCached()
* @see \Illuminate\Container\Container::tag
* @method static void tag(
$abstracts,
$tags)
* @method static void tag(
array|string $abstracts, array|array[]
$tags)
* @see \Illuminate\Foundation\Application::publicPath
* @method static string publicPath()
* @see \Illuminate\Container\Container::addContextualBinding
* @method static void addContextualBinding(
$concrete, $abstract,
$implementation)
* @method static void addContextualBinding(
string $concrete, string $abstract, \Closure|string
$implementation)
* @see \Illuminate\Foundation\Application::isDownForMaintenance
* @method static bool isDownForMaintenance()
* @see \Illuminate\Foundation\Application::loadDeferredProviders
* @method static void loadDeferredProviders()
* @see \Illuminate\Foundation\Application::abort
* @method static void abort(
$code,
$message = '', array $headers = [])
* @method static void abort(
int $code, string
$message = '', array $headers = [])
* @see \Illuminate\Container\Container::afterResolving
* @method static void afterResolving($abstract, \Closure $callback = null)
* @method static void afterResolving(
string
$abstract, \Closure $callback = null)
* @see \Illuminate\Foundation\Application::afterBootstrapping
* @method static void afterBootstrapping($bootstrapper, \Closure $callback)
* @method static void afterBootstrapping(
string
$bootstrapper, \Closure $callback)
* @see \Illuminate\Foundation\Application::configurationIsCached
* @method static bool configurationIsCached()
* @see \Illuminate\Foundation\Application::runningInConsole
* @method static bool runningInConsole()
* @see \Illuminate\Container\Container::offsetGet
* @method static mixed
|null|object offsetGet(
$key)
* @method static mixed
offsetGet(string
$key)
* @see \Illuminate\Foundation\Application::langPath
* @method static string langPath()
* @see \Illuminate\Container\Container::offsetSet
* @method static void offsetSet($key, $value)
* @method static void offsetSet(
string
$key, $value)
* @see \Illuminate\Foundation\Application::flush
* @method static void flush()
* @see \Illuminate\Container\Container::alias
* @method static void alias(
$abstract,
$alias)
* @method static void alias(
string $abstract, string
$alias)
* @see \Illuminate\Container\Container::offsetExists
* @method static bool offsetExists($key)
* @method static bool offsetExists(
string
$key)
* @see \Illuminate\Foundation\Application::afterLoadingEnvironment
* @method static null afterLoadingEnvironment(\Closure $callback)
* @method static null
|void
afterLoadingEnvironment(\Closure $callback)
* @see \Illuminate\Foundation\Application::boot
* @method static void boot()
* @see \Illuminate\Foundation\Application::make
* @method static mixed
|null|object make(
$abstract, array $parameters = [])
* @method static mixed
make(string
$abstract, array $parameters = [])
* @see \Illuminate\Foundation\Application::getMonologConfigurator
* @method static callable|null getMonologConfigurator()
* @see \Illuminate\Foundation\Application::bootstrapWith
* @method static void bootstrapWith(array $bootstrappers)
* @see \Illuminate\Container\Container::singleton
* @method static void singleton(
$abstract,
$concrete = null)
* @method static void singleton(
array|string $abstract, \Closure|null|string
$concrete = null)
* @see \Illuminate\Container\Container::forgetInstance
* @method static void forgetInstance($abstract)
* @method static void forgetInstance(
string
$abstract)
* @see \Illuminate\Container\Container::isShared
* @method static bool isShared($abstract)
* @method static bool isShared(
string
$abstract)
* @see \Illuminate\Container\Container::resolving
* @method static void resolving($abstract, \Closure $callback = null)
* @method static void resolving(
string
$abstract, \Closure $callback = null)
* @see \Illuminate\Foundation\Application::bound
* @method static bool bound($abstract)
* @method static bool bound(
string
$abstract)
* @see \Illuminate\Foundation\Application::isBooted
* @method static bool
|mixed
isBooted()
* @method static bool isBooted()
* @see \Illuminate\Foundation\Application::getCachedRoutesPath
* @method static string getCachedRoutesPath()
* @see \Illuminate\Container\Container::getBindings
* @method static array
|mixed
getBindings()
* @method static array getBindings()
* @see \Illuminate\Foundation\Application::useEnvironmentPath
* @method static \Illuminate\Foundation\Application useEnvironmentPath($path)
* @method static \Illuminate\Foundation\Application useEnvironmentPath(
string
$path)
* @see \Illuminate\Foundation\Application::setBasePath
* @method static \Illuminate\Foundation\Application setBasePath($basePath)
* @method static \Illuminate\Foundation\Application setBasePath(
string
$basePath)
* @see \Illuminate\Foundation\Application::environment
* @method static bool|string environment()
* @see \Illuminate\Foundation\Application::isDeferredService
* @method static bool isDeferredService($service)
* @method static bool isDeferredService(
string
$service)
* @see \Illuminate\Container\Container::build
* @method static mixed
|null|object build(
$concrete, array $parameters = [])
* @method static mixed
build(string
$concrete, array $parameters = [])
* @see \Illuminate\Foundation\Application::getCachedConfigPath
* @method static string getCachedConfigPath()
* @see \Illuminate\Foundation\Application::configPath
* @method static string configPath()
* @see \Illuminate\Foundation\Application::getLoadedProviders
* @method static array
|mixed
getLoadedProviders()
* @method static array getLoadedProviders()
* @see \Illuminate\Container\Container::getInstance
* @method static \Illuminate\Container\Container getInstance()
*/
...
...
@@ -215,29 +215,29 @@ 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
...
...
@@ -343,7 +343,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Cache\Repository::remember
* @method static array|mixed remember(string $key, \DateTime|int $minutes, \Closure $callback)
* @see \Illuminate\Support\Traits\Macroable::hasMacro
* @method static bool hasMacro($name)
* @method static bool hasMacro(
string
$name)
* @see \Illuminate\Cache\Repository::get
* @method static array|mixed get(string $key, $default = null)
* @see \Illuminate\Cache\Repository::putMany
...
...
@@ -357,7 +357,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Cache\Repository::getStore
* @method static \Illuminate\Contracts\Cache\Store getStore()
* @see \Illuminate\Support\Traits\Macroable::macro
* @method static void macro($name, callable $macro)
* @method static void macro(
string
$name, callable $macro)
* @see \Illuminate\Cache\Repository::getDefaultCacheTime
* @method static int getDefaultCacheTime()
* @see \Illuminate\Cache\Repository::many
...
...
@@ -375,7 +375,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Cache\Repository::sear
* @method static array|mixed sear(string $key, \Closure $callback)
* @see \Illuminate\Support\Traits\Macroable::macroCall
* @method static mixed macroCall(
$method,
$parameters)
* @method static mixed macroCall(
string $method, array
$parameters)
* @see \Illuminate\Cache\Repository::forever
* @method static void forever(string $key, $value)
*/
...
...
@@ -383,25 +383,25 @@ namespace Illuminate\Support\Facades {
/**
* @see \Illuminate\Config\Repository::all
* @method static array
|mixed
all()
* @method static array all()
* @see \Illuminate\Config\Repository::offsetGet
* @method static
array|\ArrayAccess|mixed offsetGet(
$key)
* @method static
mixed offsetGet(string
$key)
* @see \Illuminate\Config\Repository::set
* @method static void set($key, $value = null)
* @method static void set(
array|string
$key, $value = null)
* @see \Illuminate\Config\Repository::offsetUnset
* @method static void offsetUnset($key)
* @method static void offsetUnset(
string
$key)
* @see \Illuminate\Config\Repository::get
* @method static
array|\ArrayAccess|mixed get(
$key, $default = null)
* @method static
mixed get(string
$key, $default = null)
* @see \Illuminate\Config\Repository::prepend
* @method static void prepend($key, $value)
* @method static void prepend(
string
$key, $value)
* @see \Illuminate\Config\Repository::offsetExists
* @method static bool offsetExists($key)
* @method static bool offsetExists(
string
$key)
* @see \Illuminate\Config\Repository::has
* @method static bool has($key)
* @method static bool has(
string
$key)
* @see \Illuminate\Config\Repository::offsetSet
* @method static void offsetSet($key, $value)
* @method static void offsetSet(
string
$key, $value)
* @see \Illuminate\Config\Repository::push
* @method static void push($key, $value)
* @method static void push(
string
$key, $value)
*/
class
Config
{}
...
...
@@ -429,35 +429,35 @@ 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
{}
/**
* @see \Illuminate\Database\DatabaseManager::setDefaultConnection
* @method static void setDefaultConnection($name)
* @method static void setDefaultConnection(
string
$name)
* @see \Illuminate\Database\DatabaseManager::disconnect
* @method static void disconnect($name = null)
* @method static void disconnect(
string
$name = null)
* @see \Illuminate\Database\DatabaseManager::supportedDrivers
* @method static string[] supportedDrivers()
* @method static
array|
string[] supportedDrivers()
* @see \Illuminate\Database\DatabaseManager::getConnections
* @method static array
|mixed
getConnections()
* @method static array getConnections()
* @see \Illuminate\Database\DatabaseManager::purge
* @method static void purge($name = null)
* @method static void purge(
string
$name = null)
* @see \Illuminate\Database\DatabaseManager::getDefaultConnection
* @method static string getDefaultConnection()
* @see \Illuminate\Database\DatabaseManager::extend
* @method static void extend($name, callable $resolver)
* @method static void extend(
string
$name, callable $resolver)
* @see \Illuminate\Database\DatabaseManager::reconnect
* @method static \Illuminate\Database\Connection
|\Illuminate\Database\ConnectionInterface|mixed reconnect(
$name = null)
* @method static \Illuminate\Database\Connection
reconnect(string
$name = null)
* @see \Illuminate\Database\DatabaseManager::availableDrivers
* @method static array
|string[]
availableDrivers()
* @method static array availableDrivers()
* @see \Illuminate\Database\DatabaseManager::connection
* @method static \Illuminate\Database\Connection
|\Illuminate\Database\ConnectionInterface|mixed connection(
$name = null)
* @method static \Illuminate\Database\Connection
connection(string
$name = null)
* @see \Illuminate\Database\Connection::logQuery
* @method static void logQuery(string $query, array $bindings, float|null $time = null)
* @see \Illuminate\Database\Connection::getPostProcessor
...
...
@@ -617,103 +617,103 @@ namespace Illuminate\Support\Facades {
/**
* @see \Illuminate\Filesystem\Filesystem::extension
* @method static
array|string extension(
$path)
* @method static
string extension(string
$path)
* @see \Illuminate\Filesystem\Filesystem::isWritable
* @method static bool isWritable($path)
* @method static bool isWritable(
string
$path)
* @see \Illuminate\Filesystem\Filesystem::prepend
* @method static
false|int prepend($path,
$data)
* @method static
int prepend(string $path, string
$data)
* @see \Illuminate\Filesystem\Filesystem::glob
* @method static array
|false glob($pattern,
$flags = 0)
* @method static array
glob(string $pattern, int
$flags = 0)
* @see \Illuminate\Filesystem\Filesystem::type
* @method static
false|string type(
$path)
* @method static
string type(string
$path)
* @see \Illuminate\Filesystem\Filesystem::dirname
* @method static
array|string dirname(
$path)
* @method static
string dirname(string
$path)
* @see \Illuminate\Filesystem\Filesystem::delete
* @method static bool delete($paths)
* @method static bool delete(
array|string
$paths)
* @see \Illuminate\Filesystem\Filesystem::put
* @method static
false|int put($path, $contents,
$lock = false)
* @method static
int put(string $path, string $contents, bool
$lock = false)
* @see \Illuminate\Filesystem\Filesystem::requireOnce
* @method static
void requireOnce(
$file)
* @method static
mixed requireOnce(string
$file)
* @see \Illuminate\Filesystem\Filesystem::copyDirectory
* @method static bool copyDirectory(
$directory, $destination,
$options = null)
* @method static bool copyDirectory(
string $directory, string $destination, int
$options = null)
* @see \Illuminate\Support\Traits\Macroable::hasMacro
* @method static bool hasMacro($name)
* @method static bool hasMacro(
string
$name)
* @see \Illuminate\Filesystem\Filesystem::get
* @method static
false|string get($path,
$lock = false)
* @method static
string get(string $path, bool
$lock = false)
* @see \Illuminate\Filesystem\Filesystem::isFile
* @method static bool isFile($file)
* @method static bool isFile(
string
$file)
* @see \Illuminate\Filesystem\Filesystem::directories
* @method static array directories($directory)
* @method static array directories(
string
$directory)
* @see \Illuminate\Filesystem\Filesystem::copy
* @method static bool copy(
$path,
$target)
* @method static bool copy(
string $path, string
$target)
* @see \Illuminate\Support\Traits\Macroable::macro
* @method static void macro($name, callable $macro)
* @method static void macro(
string
$name, callable $macro)
* @see \Illuminate\Filesystem\Filesystem::move
* @method static bool move(
$path,
$target)
* @method static bool move(
string $path, string
$target)
* @see \Illuminate\Filesystem\Filesystem::isDirectory
* @method static bool isDirectory($directory)
* @method static bool isDirectory(
string
$directory)
* @see \Illuminate\Filesystem\Filesystem::moveDirectory
* @method static bool moveDirectory(
$from, $to,
$overwrite = false)
* @method static bool moveDirectory(
string $from, string $to, bool
$overwrite = false)
* @see \Illuminate\Filesystem\Filesystem::sharedGet
* @method static
false|string sharedGet(
$path)
* @method static
string sharedGet(string
$path)
* @see \Illuminate\Filesystem\Filesystem::getRequire
* @method static mixed getRequire($path)
* @method static mixed getRequire(
string
$path)
* @see \Illuminate\Filesystem\Filesystem::deleteDirectory
* @method static bool deleteDirectory(
$directory,
$preserve = false)
* @method static bool deleteDirectory(
string $directory, bool
$preserve = false)
* @see \Illuminate\Filesystem\Filesystem::basename
* @method static
array|string basename(
$path)
* @method static
string basename(string
$path)
* @see \Illuminate\Filesystem\Filesystem::size
* @method static
false|int size(
$path)
* @method static
int size(string
$path)
* @see \Illuminate\Filesystem\Filesystem::lastModified
* @method static
false|int lastModified(
$path)
* @method static
int lastModified(string
$path)
* @see \Illuminate\Filesystem\Filesystem::makeDirectory
* @method static bool makeDirectory(
$path, $mode = 0755, $recursive = false,
$force = false)
* @method static bool makeDirectory(
string $path, int $mode = 0755, bool $recursive = false, bool
$force = false)
* @see \Illuminate\Filesystem\Filesystem::name
* @method static
array|string name(
$path)
* @method static
string name(string
$path)
* @see \Illuminate\Filesystem\Filesystem::files
* @method static array
|false files(
$directory)
* @method static array
files(string
$directory)
* @see \Illuminate\Filesystem\Filesystem::exists
* @method static bool exists($path)
* @method static bool exists(
string
$path)
* @see \Illuminate\Filesystem\Filesystem::mimeType
* @method static false|string mimeType($path)
* @method static false|string mimeType(
string
$path)
* @see \Illuminate\Filesystem\Filesystem::allFiles
* @method static array allFiles(
$directory,
$hidden = false)
* @method static array allFiles(
string $directory, bool
$hidden = false)
* @see \Illuminate\Filesystem\Filesystem::cleanDirectory
* @method static bool cleanDirectory($directory)
* @method static bool cleanDirectory(
string
$directory)
* @see \Illuminate\Filesystem\Filesystem::append
* @method static
false|int append($path,
$data)
* @method static
int append(string $path, string
$data)
*/
class
File
{}
/**
* @see \Illuminate\Contracts\Auth\Access\Gate::allows
* @method static
void allows($ability,
$arguments = [])
* @method static
bool allows(string $ability, array|mixed
$arguments = [])
* @see \Illuminate\Contracts\Auth\Access\Gate::before
* @method static
void
before(callable $callback)
* @method static
\Illuminate\Contracts\Auth\Access\Gate
before(callable $callback)
* @see \Illuminate\Contracts\Auth\Access\Gate::forUser
* @method static
void forUser(
$user)
* @method static
\Illuminate\Contracts\Auth\Access\Gate forUser(\Illuminate\Contracts\Auth\Authenticatable|mixed
$user)
* @see \Illuminate\Contracts\Auth\Access\Gate::define
* @method static
void define($ability,
$callback)
* @method static
\Illuminate\Contracts\Auth\Access\Gate define(string $ability, callable|string
$callback)
* @see \Illuminate\Contracts\Auth\Access\Gate::has
* @method static
void has(
$ability)
* @method static
bool has(string
$ability)
* @see \Illuminate\Contracts\Auth\Access\Gate::check
* @method static
void check($ability,
$arguments = [])
* @method static
bool check(string $ability, array|mixed
$arguments = [])
* @see \Illuminate\Contracts\Auth\Access\Gate::denies
* @method static
void denies($ability,
$arguments = [])
* @method static
bool denies(string $ability, array|mixed
$arguments = [])
* @see \Illuminate\Contracts\Auth\Access\Gate::policy
* @method static
void policy($class,
$policy)
* @method static
\Illuminate\Contracts\Auth\Access\Gate policy(string $class, string
$policy)
*/
class
Gate
{}
/**
* @see \Illuminate\Hashing\BcryptHasher::setRounds
* @method static \Illuminate\Hashing\BcryptHasher setRounds($rounds)
* @method static \Illuminate\Hashing\BcryptHasher setRounds(
int
$rounds)
* @see \Illuminate\Hashing\BcryptHasher::needsRehash
* @method static bool needsRehash($hashedValue, array $options = [])
* @method static bool needsRehash(
string
$hashedValue, array $options = [])
* @see \Illuminate\Hashing\BcryptHasher::check
* @method static bool check(
$value,
$hashedValue, array $options = [])
* @method static bool check(
string $value, string
$hashedValue, array $options = [])
* @see \Illuminate\Hashing\BcryptHasher::make
* @method static
null|string make(
$value, array $options = [])
* @method static
string make(string
$value, array $options = [])
*/
class
Hash
{}
...
...
@@ -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(
$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
mixed 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 array|string 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,19 +817,19 @@ 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)
* @method static bool hasMacro(
string
$name)
* @see \Symfony\Component\HttpFoundation\Request::getContentType
* @method static null|string getContentType()
* @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 array|string 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 array|string 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\SessionInterfac
e session()
* @method static
\Illuminate\Session\Stor
e 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|string|\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
...
...
@@ -957,13 +957,13 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::getScriptName
* @method static string getScriptName()
* @see \Illuminate\Support\Traits\Macroable::macro
* @method static void macro($name, callable $macro)
* @method static void macro(
string
$name, callable $macro)
* @see \Symfony\Component\HttpFoundation\Request::isSecure
* @method static bool isSecure()
* @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[][]|\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()
*/
...
...
@@ -1003,7 +1003,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Translation\Translator::has
* @method static bool has(string $key, null|string $locale = null, bool $fallback = true)
* @see \Illuminate\Support\NamespacedItemResolver::setParsedKey
* @method static void setParsedKey(
$key,
$parsed)
* @method static void setParsedKey(
string $key, array
$parsed)
* @see \Illuminate\Translation\Translator::addNamespace
* @method static void addNamespace(string $namespace, string $hint)
* @see \Illuminate\Translation\Translator::getFallback
...
...
@@ -1025,41 +1025,41 @@ namespace Illuminate\Support\Facades {
/**
* @see \Illuminate\Log\Writer::useSyslog
* @method static \
Monolog\Logger useSyslog($name = 'laravel',
$level = 'debug')
* @method static \
Psr\Log\LoggerInterface useSyslog(string $name = 'laravel', string
$level = 'debug')
* @see \Illuminate\Log\Writer::debug
* @method static null|void debug($message, array $context = [])
* @method static null|void debug(
string
$message, array $context = [])
* @see \Illuminate\Log\Writer::critical
* @method static null|void critical($message, array $context = [])
* @method static null|void critical(
string
$message, array $context = [])
* @see \Illuminate\Log\Writer::log
* @method static null|void log(
$level,
$message, array $context = [])
* @method static null|void log(
string $level, string
$message, array $context = [])
* @see \Illuminate\Log\Writer::useDailyFiles
* @method static void useDailyFiles(
$path, $days = 0,
$level = 'debug')
* @method static void useDailyFiles(
string $path, int $days = 0, string
$level = 'debug')
* @see \Illuminate\Log\Writer::emergency
* @method static null|void emergency($message, array $context = [])
* @method static null|void emergency(
string
$message, array $context = [])
* @see \Illuminate\Log\Writer::getMonolog
* @method static \Monolog\Logger getMonolog()
* @see \Illuminate\Log\Writer::error
* @method static null|void error($message, array $context = [])
* @method static null|void error(
string
$message, array $context = [])
* @see \Illuminate\Log\Writer::setEventDispatcher
* @method static void setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $dispatcher)
* @see \Illuminate\Log\Writer::useFiles
* @method static void useFiles(
$path,
$level = 'debug')
* @method static void useFiles(
string $path, string
$level = 'debug')
* @see \Illuminate\Log\Writer::listen
* @method static void listen(\Closure $callback)
* @see \Illuminate\Log\Writer::alert
* @method static null|void alert($message, array $context = [])
* @method static null|void alert(
string
$message, array $context = [])
* @see \Illuminate\Log\Writer::getEventDispatcher
* @method static \Illuminate\Contracts\Events\Dispatcher getEventDispatcher()
* @see \Illuminate\Log\Writer::warning
* @method static null|void warning($message, array $context = [])
* @method static null|void warning(
string
$message, array $context = [])
* @see \Illuminate\Log\Writer::useErrorLog
* @method static void useErrorLog(
$level = 'debug',
$messageType = \Monolog\Handler\ErrorLogHandler::OPERATING_SYSTEM)
* @method static void useErrorLog(
string $level = 'debug', int
$messageType = \Monolog\Handler\ErrorLogHandler::OPERATING_SYSTEM)
* @see \Illuminate\Log\Writer::write
* @method static null
write($level,
$message, array $context = [])
* @method static null
|void write(string $level, string
$message, array $context = [])
* @see \Illuminate\Log\Writer::info
* @method static null|void info($message, array $context = [])
* @method static null|void info(
string
$message, array $context = [])
* @see \Illuminate\Log\Writer::notice
* @method static null|void notice($message, array $context = [])
* @method static null|void notice(
string
$message, array $context = [])
*/
class
Log
{}
...
...
@@ -1241,13 +1241,13 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::isXmlHttpRequest
* @method static bool isXmlHttpRequest()
* @see \Illuminate\Http\Request::cookie
* @method static array|string cookie(
$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
mixed 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 array|string 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,19 +1307,19 @@ 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)
* @method static bool hasMacro(
string
$name)
* @see \Symfony\Component\HttpFoundation\Request::getContentType
* @method static null|string getContentType()
* @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 array|string 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 array|string 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\SessionInterfac
e session()
* @method static
\Illuminate\Session\Stor
e 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|string|\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
...
...
@@ -1447,13 +1447,13 @@ namespace Illuminate\Support\Facades {
* @see \Symfony\Component\HttpFoundation\Request::getScriptName
* @method static string getScriptName()
* @see \Illuminate\Support\Traits\Macroable::macro
* @method static void macro($name, callable $macro)
* @method static void macro(
string
$name, callable $macro)
* @see \Symfony\Component\HttpFoundation\Request::isSecure
* @method static bool isSecure()
* @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[][]
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()
*/
...
...
@@ -1563,7 +1563,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Routing\Router::hasGroupStack
* @method static bool hasGroupStack()
* @see \Illuminate\Support\Traits\Macroable::hasMacro
* @method static bool hasMacro($name)
* @method static bool hasMacro(
string
$name)
* @see \Illuminate\Routing\Router::getMiddleware
* @method static array getMiddleware()
* @see \Illuminate\Routing\Router::get
...
...
@@ -1579,7 +1579,7 @@ namespace Illuminate\Support\Facades {
* @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)
* @method static void macro(
string
$name, callable $macro)
* @see \Illuminate\Routing\Router::controller
* @method static void controller(string $uri, string $controller, array $names = [])
* @see \Illuminate\Routing\Router::middlewareGroup
...
...
@@ -1645,9 +1645,9 @@ 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)
* @see \Illuminate\Support\Manager::driver
...
...
@@ -1679,7 +1679,7 @@ namespace Illuminate\Support\Facades {
* @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|void setPreviousUrl(string $url)
* @see \Illuminate\Session\Store::getId
...
...
@@ -1699,7 +1699,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Session\Store::regenerate
* @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(array|mixed $keys = null)
* @see \Illuminate\Session\Store::getOldInput
...
...
@@ -1739,7 +1739,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Session\Store::token
* @method static string token()
* @see \Illuminate\Session\Store::getName
* @method static string getName()
* @method static
mixed|
string getName()
* @see \Illuminate\Session\Store::pull
* @method static mixed pull(string $key, string $default = null)
* @see \Illuminate\Session\Store::decrement
...
...
@@ -1781,7 +1781,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Routing\UrlGenerator::current
* @method static string current()
* @see \Illuminate\Support\Traits\Macroable::hasMacro
* @method static bool hasMacro($name)
* @method static bool hasMacro(
string
$name)
* @see \Illuminate\Routing\UrlGenerator::action
* @method static string action(string $action, $parameters = [], bool $absolute = true)
* @see \Illuminate\Routing\UrlGenerator::secureAsset
...
...
@@ -1789,7 +1789,7 @@ namespace Illuminate\Support\Facades {
* @see \Illuminate\Routing\UrlGenerator::getRequest
* @method static \Illuminate\Http\Request getRequest()
* @see \Illuminate\Support\Traits\Macroable::macro
* @method static void macro($name, callable $macro)
* @method static void macro(
string
$name, callable $macro)
* @see \Illuminate\Routing\UrlGenerator::previous
* @method static string previous($fallback = false)
* @see \Illuminate\Routing\UrlGenerator::setSessionResolver
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment