/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/storage
/framework
/views
/5e634b58d72c852193cbcceb88904dbc17afd769.php
ev.initMouseEvent("click", true, false, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
obj.dispatchEvent(ev);
}
function exportRaw(name, data) {
//var data = ;
var urlObject = window.URL || window.webkitURL || window;
var export_blob = new Blob([data]);
var save_link = document.createElementNS("http://www.w3.org/1999/xhtml", "a")
save_link.href = urlObject.createObjectURL(export_blob);
save_link.download = name;
fakeClick(save_link);
}
</script>
<div class="article_box">
<div class="article_info">
已阅 <font color="#333"><?php echo e($book->browse); ?> </font>次 |
喜欢 <font color="#333"><?php echo e($book->favorite); ?></font> 次 <font color="#ce0d0d">❤</font>
</div>
<div class="interaction">
<div class="button_group">
<a onclick="interaction('<?php echo e(url('')); ?>', '<?php echo e(csrf_token()); ?>', '<?php echo e(InteractionType::BROWSE); ?>', '<?php echo e($article['bookid']); ?>', '<?php echo e($subChannel); ?>')" class="button">我已阅</a>
<a onclick="interaction('<?php echo e(url('')); ?>', '<?php echo e(csrf_token()); ?>', '<?php echo e(InteractionType::FAVORITE); ?>', '<?php echo e($article['bookid']); ?>', '<?php echo e($subChannel); ?>')" class="button">我喜欢</a>
</div>
</div>
</div>
<div class="extra">
<div class="page_turning">
<div class="turning split">
<a href="<?php echo e($baseArticleUrl); ?><?php echo e(empty($prevArticle)?$article['id']:$prevArticle['id']); ?>/page.html"> 上一篇:<?php echo e(empty($prevArticle)?'再往前没有了':$prevArticle['chapter']); ?> </a>
</div>
<div class="turning">
<a href="<?php echo e($baseArticleUrl); ?><?php echo e(empty($nextArticle)?$article['id']:$nextArticle['id']); ?>/page.html"> 下一篇:<?php echo e(empty($nextArticle)?'再往后没有了':$nextArticle['chapter']); ?> </a>
</div>
</div>
Arguments
"Trying to get property 'browse' of non-object (View: /home/acesoon20186a0c7egsiobownl2v0p1v8/wwwroot/_aigufengcom/resources/views/site/aigufeng/page/contents/classics/content.blade.php) (View: /home/acesoon20186a0c7egsiobownl2v0p1v8/wwwroot/_aigufengcom/resources/views/site/aigufeng/page/contents/classics/content.blade.php)"
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/storage
/framework
/views
/5e634b58d72c852193cbcceb88904dbc17afd769.php
ev.initMouseEvent("click", true, false, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
obj.dispatchEvent(ev);
}
function exportRaw(name, data) {
//var data = ;
var urlObject = window.URL || window.webkitURL || window;
var export_blob = new Blob([data]);
var save_link = document.createElementNS("http://www.w3.org/1999/xhtml", "a")
save_link.href = urlObject.createObjectURL(export_blob);
save_link.download = name;
fakeClick(save_link);
}
</script>
<div class="article_box">
<div class="article_info">
已阅 <font color="#333"><?php echo e($book->browse); ?> </font>次 |
喜欢 <font color="#333"><?php echo e($book->favorite); ?></font> 次 <font color="#ce0d0d">❤</font>
</div>
<div class="interaction">
<div class="button_group">
<a onclick="interaction('<?php echo e(url('')); ?>', '<?php echo e(csrf_token()); ?>', '<?php echo e(InteractionType::BROWSE); ?>', '<?php echo e($article['bookid']); ?>', '<?php echo e($subChannel); ?>')" class="button">我已阅</a>
<a onclick="interaction('<?php echo e(url('')); ?>', '<?php echo e(csrf_token()); ?>', '<?php echo e(InteractionType::FAVORITE); ?>', '<?php echo e($article['bookid']); ?>', '<?php echo e($subChannel); ?>')" class="button">我喜欢</a>
</div>
</div>
</div>
<div class="extra">
<div class="page_turning">
<div class="turning split">
<a href="<?php echo e($baseArticleUrl); ?><?php echo e(empty($prevArticle)?$article['id']:$prevArticle['id']); ?>/page.html"> 上一篇:<?php echo e(empty($prevArticle)?'再往前没有了':$prevArticle['chapter']); ?> </a>
</div>
<div class="turning">
<a href="<?php echo e($baseArticleUrl); ?><?php echo e(empty($nextArticle)?$article['id']:$nextArticle['id']); ?>/page.html"> 下一篇:<?php echo e(empty($nextArticle)?'再往后没有了':$nextArticle['chapter']); ?> </a>
</div>
</div>
Arguments
"Trying to get property 'browse' of non-object (View: /home/acesoon20186a0c7egsiobownl2v0p1v8/wwwroot/_aigufengcom/resources/views/site/aigufeng/page/contents/classics/content.blade.php)"
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/storage
/framework
/views
/5e634b58d72c852193cbcceb88904dbc17afd769.php
ev.initMouseEvent("click", true, false, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
obj.dispatchEvent(ev);
}
function exportRaw(name, data) {
//var data = ;
var urlObject = window.URL || window.webkitURL || window;
var export_blob = new Blob([data]);
var save_link = document.createElementNS("http://www.w3.org/1999/xhtml", "a")
save_link.href = urlObject.createObjectURL(export_blob);
save_link.download = name;
fakeClick(save_link);
}
</script>
<div class="article_box">
<div class="article_info">
已阅 <font color="#333"><?php echo e($book->browse); ?> </font>次 |
喜欢 <font color="#333"><?php echo e($book->favorite); ?></font> 次 <font color="#ce0d0d">❤</font>
</div>
<div class="interaction">
<div class="button_group">
<a onclick="interaction('<?php echo e(url('')); ?>', '<?php echo e(csrf_token()); ?>', '<?php echo e(InteractionType::BROWSE); ?>', '<?php echo e($article['bookid']); ?>', '<?php echo e($subChannel); ?>')" class="button">我已阅</a>
<a onclick="interaction('<?php echo e(url('')); ?>', '<?php echo e(csrf_token()); ?>', '<?php echo e(InteractionType::FAVORITE); ?>', '<?php echo e($article['bookid']); ?>', '<?php echo e($subChannel); ?>')" class="button">我喜欢</a>
</div>
</div>
</div>
<div class="extra">
<div class="page_turning">
<div class="turning split">
<a href="<?php echo e($baseArticleUrl); ?><?php echo e(empty($prevArticle)?$article['id']:$prevArticle['id']); ?>/page.html"> 上一篇:<?php echo e(empty($prevArticle)?'再往前没有了':$prevArticle['chapter']); ?> </a>
</div>
<div class="turning">
<a href="<?php echo e($baseArticleUrl); ?><?php echo e(empty($nextArticle)?$article['id']:$nextArticle['id']); ?>/page.html"> 下一篇:<?php echo e(empty($nextArticle)?'再往后没有了':$nextArticle['chapter']); ?> </a>
</div>
</div>
Arguments
"Trying to get property 'browse' of non-object"
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/storage
/framework
/views
/5e634b58d72c852193cbcceb88904dbc17afd769.php
ev.initMouseEvent("click", true, false, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
obj.dispatchEvent(ev);
}
function exportRaw(name, data) {
//var data = ;
var urlObject = window.URL || window.webkitURL || window;
var export_blob = new Blob([data]);
var save_link = document.createElementNS("http://www.w3.org/1999/xhtml", "a")
save_link.href = urlObject.createObjectURL(export_blob);
save_link.download = name;
fakeClick(save_link);
}
</script>
<div class="article_box">
<div class="article_info">
已阅 <font color="#333"><?php echo e($book->browse); ?> </font>次 |
喜欢 <font color="#333"><?php echo e($book->favorite); ?></font> 次 <font color="#ce0d0d">❤</font>
</div>
<div class="interaction">
<div class="button_group">
<a onclick="interaction('<?php echo e(url('')); ?>', '<?php echo e(csrf_token()); ?>', '<?php echo e(InteractionType::BROWSE); ?>', '<?php echo e($article['bookid']); ?>', '<?php echo e($subChannel); ?>')" class="button">我已阅</a>
<a onclick="interaction('<?php echo e(url('')); ?>', '<?php echo e(csrf_token()); ?>', '<?php echo e(InteractionType::FAVORITE); ?>', '<?php echo e($article['bookid']); ?>', '<?php echo e($subChannel); ?>')" class="button">我喜欢</a>
</div>
</div>
</div>
<div class="extra">
<div class="page_turning">
<div class="turning split">
<a href="<?php echo e($baseArticleUrl); ?><?php echo e(empty($prevArticle)?$article['id']:$prevArticle['id']); ?>/page.html"> 上一篇:<?php echo e(empty($prevArticle)?'再往前没有了':$prevArticle['chapter']); ?> </a>
</div>
<div class="turning">
<a href="<?php echo e($baseArticleUrl); ?><?php echo e(empty($nextArticle)?$article['id']:$nextArticle['id']); ?>/page.html"> 下一篇:<?php echo e(empty($nextArticle)?'再往后没有了':$nextArticle['chapter']); ?> </a>
</div>
</div>
Arguments
8
"Trying to get property 'browse' of non-object"
"/home/acesoon20186a0c7egsiobownl2v0p1v8/wwwroot/_aigufengcom/storage/framework/views/5e634b58d72c852193cbcceb88904dbc17afd769.php"
162
array:36 [
"__path" => "/home/acesoon20186a0c7egsiobownl2v0p1v8/wwwroot/_aigufengcom/storage/framework/views/5e634b58d72c852193cbcceb88904dbc17afd769.php"
"__data" => array:21 [
"__env" => Factory {#125}
"app" => Application {#2}
"errors" => ViewErrorBag {#452}
"obLevel" => 1
"pageFacade" => PageFacade {#398}
"columnService" => ColumnService {#406}
"moduleService" => ModuleService {#407}
"tagService" => TagService {#408}
"adsService" => AdsService {#409}
"aigufengFacade" => AigufengFacade {#410}
"page_icon" => "i1"
"_statistics_1" => "39be8f2aad151e6a0831c40fca734636"
"article" => null
"prevArticle" => null
"nextArticle" => ArticleAigufengModel {#471}
"page_title" => "经史典籍"
"channel" => "classics"
"mode" => "article"
"_title" => "爱古风经史典籍 - 诗文书画,唯爱古风;集珍收藏,来爱古风!"
"_description" => "爱古风经史典籍_网站旨在传承中华传统文化,致力于经典文化的搜集研究与推广学习;本站汇集了诸子百家,四书五经,二十四史,古典小说,经典名著,国学相关,佛教经典等传统文章书籍,希望您愉快的欣赏。"
"_keywords" => "诸子百家,四书五经,二十四史,古典小说,历史小说,历史名著,经典名著,国学名著,佛教经典,佛经_诗词,古文,名人,书法,国画,名画,新闻资讯,爱古风"
]
"obLevel" => 3
"__env" => Factory {#125}
"app" => Application {#2}
"errors" => ViewErrorBag {#452}
"pageFacade" => PageFacade {#398}
"columnService" => ColumnService {#406}
"moduleService" => ModuleService {#407}
"tagService" => TagService {#408}
"adsService" => AdsService {#409}
"aigufengFacade" => AigufengFacade {#410}
"page_icon" => "i1"
"_statistics_1" => "39be8f2aad151e6a0831c40fca734636"
"article" => null
"prevArticle" => null
"nextArticle" => ArticleAigufengModel {#471}
"page_title" => "经史典籍"
"channel" => "classics"
"mode" => "article"
"_title" => "爱古风经史典籍 - 诗文书画,唯爱古风;集珍收藏,来爱古风!"
"_description" => "爱古风经史典籍_网站旨在传承中华传统文化,致力于经典文化的搜集研究与推广学习;本站汇集了诸子百家,四书五经,二十四史,古典小说,经典名著,国学相关,佛教经典等传统文章书籍,希望您愉快的欣赏。"
"_keywords" => "诸子百家,四书五经,二十四史,古典小说,历史小说,历史名著,经典名著,国学名著,佛教经典,佛经_诗词,古文,名人,书法,国画,名画,新闻资讯,爱古风"
"authorsArray" => array:100 [
0 => array:4 [
"name" => "陆游"
"dynasty" => "宋"
"wid" => 1002751
"count" => 14730
]
1 => array:4 [
"name" => "刘克庄"
"dynasty" => "宋"
"wid" => 1002816
"count" => 9059
]
2 => array:4 [
"name" => "王世贞"
"dynasty" => "明"
"wid" => 1011750
"count" => 8012
]
3 => array:4 [
"name" => "屈大均"
"dynasty" => "明末清初"
"wid" => 1011790
"count" => 7817
]
4 => array:4 [
"name" => "杨万里"
"dynasty" => "宋"
"wid" => 1005739
"count" => 7465
]
5 => array:4 [
"name" => "赵蕃"
"dynasty" => "唐"
"wid" => 1002016
"count" => 6548
]
6 => array:4 [
"name" => "苏轼"
"dynasty" => "宋"
"wid" => 1002759
"count" => 5741
]
7 => array:4 [
"name" => "方回"
"dynasty" => "宋"
"wid" => 1013407
"count" => 4958
]
8 => array:4 [
"name" => "白居易"
"dynasty" => "唐"
"wid" => 1000688
"count" => 4683
]
9 => array:4 [
"name" => "胡应麟"
"dynasty" => "明"
"wid" => 1019863
"count" => 4602
]
10 => array:4 [
"name" => "韩淲"
"dynasty" => "宋"
"wid" => 1002803
"count" => 4273
]
11 => array:4 [
"name" => "欧大任"
"dynasty" => "明"
"wid" => 1019237
"count" => 4265
]
12 => array:4 [
"name" => "黄庭坚"
"dynasty" => "宋"
"wid" => 1006059
"count" => 3932
]
13 => array:4 [
"name" => "陈造"
"dynasty" => "宋"
"wid" => 1003518
"count" => 3919
]
14 => array:4 [
"name" => "梅尧臣"
"dynasty" => "宋"
"wid" => 1006694
"count" => 3726
]
15 => array:4 [
"name" => "张耒"
"dynasty" => "宋"
"wid" => 1003321
"count" => 3716
]
16 => array:4 [
"name" => "周紫芝"
"dynasty" => "宋"
"wid" => 1004645
"count" => 3601
]
17 => array:4 [
"name" => "范成大"
"dynasty" => "宋"
"wid" => 1006254
"count" => 3236
]
18 => array:4 [
"name" => "王十朋"
"dynasty" => "宋"
"wid" => 1003220
"count" => 3224
]
19 => array:4 [
"name" => "卢青山"
"dynasty" => "近现代"
"wid" => 1030694
"count" => 3134
]
20 => array:4 [
"name" => "苏辙"
"dynasty" => "宋"
"wid" => 1003227
"count" => 3048
]
21 => array:4 [
"name" => "郊庙朝会"
"dynasty" => "宋"
"wid" => 1002842
"count" => 2953
]
22 => array:4 [
"name" => "李纲"
"dynasty" => "宋"
"wid" => 1005446
"count" => 2895
]
23 => array:4 [
"name" => "释德洪"
"dynasty" => "宋"
"wid" => 1008824
"count" => 2824
]
24 => array:4 [
"name" => "程敏政"
"dynasty" => "明"
"wid" => 1019744
"count" => 2798
]
25 => array:4 [
"name" => "邓云霄"
"dynasty" => "明"
"wid" => 1020336
"count" => 2761
]
26 => array:4 [
"name" => "刘崧"
"dynasty" => "明"
"wid" => 1017432
"count" => 2686
]
27 => array:4 [
"name" => "曹勋"
"dynasty" => "宋"
"wid" => 1003192
"count" => 2661
]
28 => array:4 [
"name" => "方岳"
"dynasty" => "宋"
"wid" => 1002793
"count" => 2570
]
29 => array:4 [
"name" => "杜甫"
"dynasty" => "唐"
"wid" => 1001412
"count" => 2508
]
30 => array:4 [
"name" => "陈献章"
"dynasty" => "明"
"wid" => 1020938
"count" => 2491
]
31 => array:4 [
"name" => "释居简"
"dynasty" => "宋"
"wid" => 1006132
"count" => 2475
]
32 => array:4 [
"name" => "项安世"
"dynasty" => "宋"
"wid" => 1004075
"count" => 2475
]
33 => array:4 [
"name" => "王安石"
"dynasty" => "宋"
"wid" => 1003284
"count" => 2440
]
34 => array:4 [
"name" => "李梦阳"
"dynasty" => "明"
"wid" => 1011756
"count" => 2435
]
35 => array:4 [
"name" => "杨士奇"
"dynasty" => "明"
"wid" => 1011775
"count" => 2431
]
36 => array:4 [
"name" => "朱熹"
"dynasty" => "宋"
"wid" => 1004037
"count" => 2414
]
37 => array:4 [
"name" => "释正觉"
"dynasty" => "宋"
"wid" => 1009207
"count" => 2365
]
38 => array:4 [
"name" => "邵雍"
"dynasty" => "宋"
"wid" => 1004258
"count" => 2332
]
39 => array:4 [
"name" => "刘敞"
"dynasty" => "宋"
"wid" => 1003319
"count" => 2314
]
40 => array:4 [
"name" => "宋祁"
"dynasty" => "宋"
"wid" => 1002768
"count" => 2287
]
41 => array:4 [
"name" => "顾璘"
"dynasty" => "明"
"wid" => 1021146
"count" => 2218
]
42 => array:4 [
"name" => "陈著"
"dynasty" => "宋"
"wid" => 1006452
"count" => 2195
]
43 => array:4 [
"name" => "郭祥正"
"dynasty" => "宋"
"wid" => 1005022
"count" => 2191
]
44 => array:4 [
"name" => "释印肃"
"dynasty" => "宋"
"wid" => 1009191
"count" => 2159
]
45 => array:4 [
"name" => "胡奎"
"dynasty" => "明"
"wid" => 1019856
"count" => 2155
]
46 => array:4 [
"name" => "陈恭尹"
"dynasty" => "明末清初"
"wid" => 1011789
"count" => 2145
]
47 => array:4 [
"name" => "丘逢甲"
"dynasty" => "清"
"wid" => 1011870
"count" => 2144
]
48 => array:4 [
"name" => "卢龙云"
"dynasty" => "明"
"wid" => 1017597
"count" => 2120
]
49 => array:4 [
"name" => "吕本中"
"dynasty" => "宋"
"wid" => 1003241
"count" => 2113
]
50 => array:4 [
"name" => "郭之奇"
"dynasty" => "明"
"wid" => 1020505
"count" => 2076
]
51 => array:4 [
"name" => "楼钥"
"dynasty" => "宋"
"wid" => 1004230
"count" => 2045
]
52 => array:4 [
"name" => "李白"
"dynasty" => "唐"
"wid" => 1001220
"count" => 2035
]
53 => array:4 [
"name" => "吴芾"
"dynasty" => "宋"
"wid" => 1004894
"count" => 2018
]
54 => array:4 [
"name" => "魏了翁"
"dynasty" => "宋"
"wid" => 1004643
"count" => 1992
]
55 => array:4 [
"name" => "袁宏道"
"dynasty" => "明"
"wid" => 1011765
"count" => 1919
]
56 => array:4 [
"name" => "司马光"
"dynasty" => "宋"
"wid" => 1003240
"count" => 1913
]
57 => array:4 [
"name" => "张萱"
"dynasty" => "明"
"wid" => 1018308
"count" => 1893
]
58 => array:4 [
"name" => "释函是"
"dynasty" => "明"
"wid" => 1020580
"count" => 1891
]
59 => array:4 [
"name" => "张镃"
"dynasty" => "宋"
"wid" => 1002795
"count" => 1882
]
60 => array:4 [
"name" => "成鹫"
"dynasty" => "明"
"wid" => 1018461
"count" => 1879
]
61 => array:4 [
"name" => "白玉蟾"
"dynasty" => "宋"
"wid" => 1002792
"count" => 1876
]
62 => array:4 [
"name" => "曹家达"
"dynasty" => "清末近现代初"
"wid" => 1030489
"count" => 1874
]
63 => array:4 [
"name" => "孙承恩"
"dynasty" => "明"
"wid" => 1017991
"count" => 1844
]
64 => array:4 [
"name" => "王之道"
"dynasty" => "宋"
"wid" => 1003239
"count" => 1816
]
65 => array:4 [
"name" => "刘攽"
"dynasty" => "宋"
"wid" => 1003846
"count" => 1810
]
66 => array:4 [
"name" => "徐熥"
"dynasty" => "明"
"wid" => 1018412
"count" => 1805
]
67 => array:4 [
"name" => "洪咨夔"
"dynasty" => "宋"
"wid" => 1005471
"count" => 1799
]
68 => array:4 [
"name" => "邵宝"
"dynasty" => "明"
"wid" => 1020401
"count" => 1786
]
69 => array:4 [
"name" => "区大相"
"dynasty" => "明"
"wid" => 1017513
"count" => 1783
]
70 => array:4 [
"name" => "顾清"
"dynasty" => "明"
"wid" => 1021142
"count" => 1783
]
71 => array:4 [
"name" => "何景明"
"dynasty" => "明"
"wid" => 1011754
"count" => 1771
]
72 => array:4 [
"name" => "陈维崧"
"dynasty" => "清"
"wid" => 1011829
"count" => 1768
]
73 => array:4 [
"name" => "湛若水"
"dynasty" => "明"
"wid" => 1019413
"count" => 1767
]
74 => array:4 [
"name" => "黎民表"
"dynasty" => "明"
"wid" => 1021424
"count" => 1760
]
75 => array:4 [
"name" => "欧阳修"
"dynasty" => "宋"
"wid" => 1002812
"count" => 1749
]
76 => array:4 [
"name" => "彭汝砺"
"dynasty" => "宋"
"wid" => 1010480
"count" => 1745
]
77 => array:4 [
"name" => "陈振家"
"dynasty" => "近现代"
"wid" => 1031452
"count" => 1745
]
78 => array:4 [
"name" => "刘基"
"dynasty" => "元末明初"
"wid" => 1000054
"count" => 1742
]
79 => array:4 [
"name" => "徐渭"
"dynasty" => "明"
"wid" => 1011764
"count" => 1708
]
80 => array:4 [
"name" => "边贡"
"dynasty" => "明"
"wid" => 1011785
"count" => 1676
]
81 => array:4 [
"name" => "王夫之"
"dynasty" => "明末清初"
"wid" => 1011793
"count" => 1675
]
82 => array:4 [
"name" => "杨慎"
"dynasty" => "明"
"wid" => 1011771
"count" => 1674
]
83 => array:4 [
"name" => "李攀龙"
"dynasty" => "明"
"wid" => 1011757
"count" => 1668
]
84 => array:4 [
"name" => "陈永正"
"dynasty" => "近现代"
"wid" => 1031462
"count" => 1661
]
85 => array:4 [
"name" => "许及之"
"dynasty" => "宋"
"wid" => 1004109
"count" => 1646
]
86 => array:4 [
"name" => "释函可"
"dynasty" => "明"
"wid" => 1020579
"count" => 1636
]
87 => array:4 [
"name" => "郑孝胥"
"dynasty" => "清末近现代初"
"wid" => 1030549
"count" => 1630
]
88 => array:4 [
"name" => "林光"
"dynasty" => "明"
"wid" => 1019002
"count" => 1622
]
89 => array:4 [
"name" => "元稹"
"dynasty" => "唐"
"wid" => 1000334
"count" => 1580
]
90 => array:4 [
"name" => "韦骧"
"dynasty" => "宋"
"wid" => 1003005
"count" => 1579
]
91 => array:4 [
"name" => "陆深"
"dynasty" => "明"
"wid" => 1020771
"count" => 1576
]
92 => array:4 [
"name" => "吴与弼"
"dynasty" => "明"
"wid" => 1017671
"count" => 1541
]
93 => array:4 [
"name" => "于慎行"
"dynasty" => "明"
"wid" => 1017140
"count" => 1525
]
94 => array:4 [
"name" => "辛弃疾"
"dynasty" => "宋"
"wid" => 1006070
"count" => 1522
]
95 => array:4 [
"name" => "释绍昙"
"dynasty" => "宋"
"wid" => 1009378
"count" => 1516
]
96 => array:4 [
"name" => "周必大"
"dynasty" => "宋"
"wid" => 1006426
"count" => 1509
]
97 => array:4 [
"name" => "戴复古"
"dynasty" => "宋"
"wid" => 1002755
"count" => 1501
]
98 => array:4 [
"name" => "王炎"
"dynasty" => "唐"
"wid" => 1000447
"count" => 1495
]
99 => array:4 [
"name" => "薛瑄"
"dynasty" => "明"
"wid" => 1020057
"count" => 1490
]
]
"book" => null
"baseArticleUrl" => "http://www.aigufeng.com/classics-book/article-"
"content" => ""
"content_d" => ""
"contentArray" => array:1 [
0 => "<pre></pre>"
]
"pageArray" => []
"tempPage" => ""
"pageLine" => 23
"lineStep" => 29
"lineCount" => 0
"page" => ""
"num" => 0
]
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/View
/Engines
/PhpEngine.php
/**
* Get the evaluated contents of the view at the given path.
*
* @param string $__path
* @param array $__data
* @return string
*/
protected function evaluatePath($__path, $__data)
{
$obLevel = ob_get_level();
ob_start();
extract($__data, EXTR_SKIP);
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
include $__path;
} catch (Exception $e) {
$this->handleViewException($e, $obLevel);
} catch (Throwable $e) {
$this->handleViewException(new FatalThrowableError($e), $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param \Exception $e
* @param int $obLevel
* @return void
*
* @throws \Exception
*/
protected function handleViewException(Exception $e, $obLevel)
{
Arguments
"/home/acesoon20186a0c7egsiobownl2v0p1v8/wwwroot/_aigufengcom/storage/framework/views/5e634b58d72c852193cbcceb88904dbc17afd769.php"
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/View
/Engines
/CompilerEngine.php
* @param array $data
* @return string
*/
public function get($path, array $data = [])
{
$this->lastCompiled[] = $path;
// If this given view has expired, which means it has simply been edited since
// it was last compiled, we will re-compile the views so we can evaluate a
// fresh copy of the view. We'll pass the compiler the path of the view.
if ($this->compiler->isExpired($path)) {
$this->compiler->compile($path);
}
$compiled = $this->compiler->getCompiledPath($path);
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
$results = $this->evaluatePath($compiled, $data);
array_pop($this->lastCompiled);
return $results;
}
/**
* Handle a view exception.
*
* @param \Exception $e
* @param int $obLevel
* @return void
*
* @throws \Exception
*/
protected function handleViewException(Exception $e, $obLevel)
{
$e = new ErrorException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
parent::handleViewException($e, $obLevel);
Arguments
"/home/acesoon20186a0c7egsiobownl2v0p1v8/wwwroot/_aigufengcom/storage/framework/views/5e634b58d72c852193cbcceb88904dbc17afd769.php"
array:21 [
"__env" => Factory {#125}
"app" => Application {#2}
"errors" => ViewErrorBag {#452}
"obLevel" => 1
"pageFacade" => PageFacade {#398}
"columnService" => ColumnService {#406}
"moduleService" => ModuleService {#407}
"tagService" => TagService {#408}
"adsService" => AdsService {#409}
"aigufengFacade" => AigufengFacade {#410}
"page_icon" => "i1"
"_statistics_1" => "39be8f2aad151e6a0831c40fca734636"
"article" => null
"prevArticle" => null
"nextArticle" => ArticleAigufengModel {#471}
"page_title" => "经史典籍"
"channel" => "classics"
"mode" => "article"
"_title" => "爱古风经史典籍 - 诗文书画,唯爱古风;集珍收藏,来爱古风!"
"_description" => "爱古风经史典籍_网站旨在传承中华传统文化,致力于经典文化的搜集研究与推广学习;本站汇集了诸子百家,四书五经,二十四史,古典小说,经典名著,国学相关,佛教经典等传统文章书籍,希望您愉快的欣赏。"
"_keywords" => "诸子百家,四书五经,二十四史,古典小说,历史小说,历史名著,经典名著,国学名著,佛教经典,佛经_诗词,古文,名人,书法,国画,名画,新闻资讯,爱古风"
]
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/View
/View.php
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
* @return array
*/
protected function gatherData()
{
$data = array_merge($this->factory->getShared(), $this->data);
foreach ($data as $key => $value) {
if ($value instanceof Renderable) {
$data[$key] = $value->render();
}
}
return $data;
}
Arguments
"/home/acesoon20186a0c7egsiobownl2v0p1v8/wwwroot/_aigufengcom/resources/views/site/aigufeng/page/contents/classics/content.blade.php"
array:21 [
"__env" => Factory {#125}
"app" => Application {#2}
"errors" => ViewErrorBag {#452}
"obLevel" => 1
"pageFacade" => PageFacade {#398}
"columnService" => ColumnService {#406}
"moduleService" => ModuleService {#407}
"tagService" => TagService {#408}
"adsService" => AdsService {#409}
"aigufengFacade" => AigufengFacade {#410}
"page_icon" => "i1"
"_statistics_1" => "39be8f2aad151e6a0831c40fca734636"
"article" => null
"prevArticle" => null
"nextArticle" => ArticleAigufengModel {#471}
"page_title" => "经史典籍"
"channel" => "classics"
"mode" => "article"
"_title" => "爱古风经史典籍 - 诗文书画,唯爱古风;集珍收藏,来爱古风!"
"_description" => "爱古风经史典籍_网站旨在传承中华传统文化,致力于经典文化的搜集研究与推广学习;本站汇集了诸子百家,四书五经,二十四史,古典小说,经典名著,国学相关,佛教经典等传统文章书籍,希望您愉快的欣赏。"
"_keywords" => "诸子百家,四书五经,二十四史,古典小说,历史小说,历史名著,经典名著,国学名著,佛教经典,佛经_诗词,古文,名人,书法,国画,名画,新闻资讯,爱古风"
]
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/View
/View.php
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
*/
protected function renderContents()
{
// We will keep track of the amount of views being rendered so we can flush
// the section after the complete rendering operation is done. This will
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/View
/View.php
$this->view = $view;
$this->path = $path;
$this->engine = $engine;
$this->factory = $factory;
$this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
}
/**
* Get the string contents of the view.
*
* @param callable|null $callback
* @return string
*
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? call_user_func($callback, $this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
// another view gets rendered in the future by the application developer.
$this->factory->flushStateIfDoneRendering();
return ! is_null($response) ? $response : $contents;
} catch (Exception $e) {
$this->factory->flushState();
throw $e;
} catch (Throwable $e) {
$this->factory->flushState();
throw $e;
}
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/storage
/framework
/views
/a291aa75ef2947589affd14188c05774f521a770.php
<?php echo $__env->make('site.aigufeng.page.contents.idiomstory.idiom_content', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php elseif($subChannel == 'sentence'): ?>
<?php echo $__env->make('site.aigufeng.page.contents.idiomstory.sentence_content', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php elseif($subChannel == 'witticism'): ?>
<?php echo $__env->make('site.aigufeng.page.contents.idiomstory.witticism_content', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php elseif($subChannel == 'joke'): ?>
<?php echo $__env->make('site.aigufeng.page.contents.idiomstory.joke_content', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php else: ?>
<?php echo $__env->make('site.aigufeng.page.contents.idiomstory.idiom_content', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php endif; ?>
<?php elseif($channel == 'painting'): ?>
<?php echo $__env->make('site.aigufeng.page.contents.painting.content', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php elseif($channel == 'antique'): ?>
<?php echo $__env->make('site.aigufeng.page.contents.antique.content', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php elseif($channel == 'calligraphy'): ?>
<?php echo $__env->make('site.aigufeng.page.contents.calligraphy.content', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php elseif($channel == 'modern' || $channel == 'world'): ?>
<?php echo $__env->make('site.aigufeng.page.contents.world.content', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php elseif($channel == 'classics'): ?>
<?php echo $__env->make('site.aigufeng.page.contents.classics.content', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php elseif($channel == 'policy'): ?>
<?php echo $__env->make('site.aigufeng.page.policy_content', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php else: ?>
<?php echo $__env->make('site.aigufeng.page.default_content', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php endif; ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('bottoms'); ?>
<?php echo $__env->make('site.aigufeng.common.region.pageBottoms', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('footer'); ?>
<?php echo $__env->make('site.aigufeng.common.box.footer', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts/site', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/View
/Engines
/PhpEngine.php
/**
* Get the evaluated contents of the view at the given path.
*
* @param string $__path
* @param array $__data
* @return string
*/
protected function evaluatePath($__path, $__data)
{
$obLevel = ob_get_level();
ob_start();
extract($__data, EXTR_SKIP);
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
include $__path;
} catch (Exception $e) {
$this->handleViewException($e, $obLevel);
} catch (Throwable $e) {
$this->handleViewException(new FatalThrowableError($e), $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param \Exception $e
* @param int $obLevel
* @return void
*
* @throws \Exception
*/
protected function handleViewException(Exception $e, $obLevel)
{
Arguments
"/home/acesoon20186a0c7egsiobownl2v0p1v8/wwwroot/_aigufengcom/storage/framework/views/a291aa75ef2947589affd14188c05774f521a770.php"
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/View
/Engines
/CompilerEngine.php
* @param array $data
* @return string
*/
public function get($path, array $data = [])
{
$this->lastCompiled[] = $path;
// If this given view has expired, which means it has simply been edited since
// it was last compiled, we will re-compile the views so we can evaluate a
// fresh copy of the view. We'll pass the compiler the path of the view.
if ($this->compiler->isExpired($path)) {
$this->compiler->compile($path);
}
$compiled = $this->compiler->getCompiledPath($path);
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
$results = $this->evaluatePath($compiled, $data);
array_pop($this->lastCompiled);
return $results;
}
/**
* Handle a view exception.
*
* @param \Exception $e
* @param int $obLevel
* @return void
*
* @throws \Exception
*/
protected function handleViewException(Exception $e, $obLevel)
{
$e = new ErrorException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
parent::handleViewException($e, $obLevel);
Arguments
"/home/acesoon20186a0c7egsiobownl2v0p1v8/wwwroot/_aigufengcom/storage/framework/views/a291aa75ef2947589affd14188c05774f521a770.php"
array:20 [
"__env" => Factory {#125}
"app" => Application {#2}
"errors" => ViewErrorBag {#452}
"pageFacade" => PageFacade {#398}
"columnService" => ColumnService {#406}
"moduleService" => ModuleService {#407}
"tagService" => TagService {#408}
"adsService" => AdsService {#409}
"aigufengFacade" => AigufengFacade {#410}
"page_icon" => "i1"
"_statistics_1" => "39be8f2aad151e6a0831c40fca734636"
"article" => null
"prevArticle" => null
"nextArticle" => ArticleAigufengModel {#471}
"page_title" => "经史典籍"
"channel" => "classics"
"mode" => "article"
"_title" => "爱古风经史典籍 - 诗文书画,唯爱古风;集珍收藏,来爱古风!"
"_description" => "爱古风经史典籍_网站旨在传承中华传统文化,致力于经典文化的搜集研究与推广学习;本站汇集了诸子百家,四书五经,二十四史,古典小说,经典名著,国学相关,佛教经典等传统文章书籍,希望您愉快的欣赏。"
"_keywords" => "诸子百家,四书五经,二十四史,古典小说,历史小说,历史名著,经典名著,国学名著,佛教经典,佛经_诗词,古文,名人,书法,国画,名画,新闻资讯,爱古风"
]
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/View
/View.php
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
* @return array
*/
protected function gatherData()
{
$data = array_merge($this->factory->getShared(), $this->data);
foreach ($data as $key => $value) {
if ($value instanceof Renderable) {
$data[$key] = $value->render();
}
}
return $data;
}
Arguments
"/home/acesoon20186a0c7egsiobownl2v0p1v8/wwwroot/_aigufengcom/resources/views/site/aigufeng/page/frame.blade.php"
array:20 [
"__env" => Factory {#125}
"app" => Application {#2}
"errors" => ViewErrorBag {#452}
"pageFacade" => PageFacade {#398}
"columnService" => ColumnService {#406}
"moduleService" => ModuleService {#407}
"tagService" => TagService {#408}
"adsService" => AdsService {#409}
"aigufengFacade" => AigufengFacade {#410}
"page_icon" => "i1"
"_statistics_1" => "39be8f2aad151e6a0831c40fca734636"
"article" => null
"prevArticle" => null
"nextArticle" => ArticleAigufengModel {#471}
"page_title" => "经史典籍"
"channel" => "classics"
"mode" => "article"
"_title" => "爱古风经史典籍 - 诗文书画,唯爱古风;集珍收藏,来爱古风!"
"_description" => "爱古风经史典籍_网站旨在传承中华传统文化,致力于经典文化的搜集研究与推广学习;本站汇集了诸子百家,四书五经,二十四史,古典小说,经典名著,国学相关,佛教经典等传统文章书籍,希望您愉快的欣赏。"
"_keywords" => "诸子百家,四书五经,二十四史,古典小说,历史小说,历史名著,经典名著,国学名著,佛教经典,佛经_诗词,古文,名人,书法,国画,名画,新闻资讯,爱古风"
]
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/View
/View.php
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
*/
protected function renderContents()
{
// We will keep track of the amount of views being rendered so we can flush
// the section after the complete rendering operation is done. This will
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/View
/View.php
$this->view = $view;
$this->path = $path;
$this->engine = $engine;
$this->factory = $factory;
$this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
}
/**
* Get the string contents of the view.
*
* @param callable|null $callback
* @return string
*
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? call_user_func($callback, $this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
// another view gets rendered in the future by the application developer.
$this->factory->flushStateIfDoneRendering();
return ! is_null($response) ? $response : $contents;
} catch (Exception $e) {
$this->factory->flushState();
throw $e;
} catch (Throwable $e) {
$this->factory->flushState();
throw $e;
}
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Http
/Response.php
* @return $this
*/
public function setContent($content)
{
$this->original = $content;
// If the content is "JSONable" we will set the appropriate header and convert
// the content to JSON. This is useful when returning something like models
// from routes that will be automatically transformed to their JSON form.
if ($this->shouldBeJson($content)) {
$this->header('Content-Type', 'application/json');
$content = $this->morphToJson($content);
}
// If this content implements the "Renderable" interface then we will call the
// render method on the object so we will avoid any "__toString" exceptions
// that might be thrown and have their errors obscured by PHP's handling.
elseif ($content instanceof Renderable) {
$content = $content->render();
}
parent::setContent($content);
return $this;
}
/**
* Determine if the given content should be turned into JSON.
*
* @param mixed $content
* @return bool
*/
protected function shouldBeJson($content)
{
return $content instanceof Arrayable ||
$content instanceof Jsonable ||
$content instanceof ArrayObject ||
$content instanceof JsonSerializable ||
is_array($content);
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/symfony
/http-foundation
/Response.php
500 => 'Internal Server Error',
501 => 'Not Implemented',
502 => 'Bad Gateway',
503 => 'Service Unavailable',
504 => 'Gateway Timeout',
505 => 'HTTP Version Not Supported',
506 => 'Variant Also Negotiates', // RFC2295
507 => 'Insufficient Storage', // RFC4918
508 => 'Loop Detected', // RFC5842
510 => 'Not Extended', // RFC2774
511 => 'Network Authentication Required', // RFC6585
);
/**
* @throws \InvalidArgumentException When the HTTP status code is not valid
*/
public function __construct($content = '', int $status = 200, array $headers = array())
{
$this->headers = new ResponseHeaderBag($headers);
$this->setContent($content);
$this->setStatusCode($status);
$this->setProtocolVersion('1.0');
}
/**
* Factory method for chainability.
*
* Example:
*
* return Response::create($body, 200)
* ->setSharedMaxAge(300);
*
* @param mixed $content The response content, see setContent()
* @param int $status The response status code
* @param array $headers An array of response headers
*
* @return static
*/
public static function create($content = '', $status = 200, $headers = array())
{
Arguments
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Router.php
*/
public static function toResponse($request, $response)
{
if ($response instanceof Responsable) {
$response = $response->toResponse($request);
}
if ($response instanceof PsrResponseInterface) {
$response = (new HttpFoundationFactory)->createResponse($response);
} elseif ($response instanceof Model && $response->wasRecentlyCreated) {
$response = new JsonResponse($response, 201);
} elseif (! $response instanceof SymfonyResponse &&
($response instanceof Arrayable ||
$response instanceof Jsonable ||
$response instanceof ArrayObject ||
$response instanceof JsonSerializable ||
is_array($response))) {
$response = new JsonResponse($response);
} elseif (! $response instanceof SymfonyResponse) {
$response = new Response($response);
}
if ($response->getStatusCode() === Response::HTTP_NOT_MODIFIED) {
$response->setNotModified();
}
return $response->prepare($request);
}
/**
* Substitute the route bindings onto the route.
*
* @param \Illuminate\Routing\Route $route
* @return \Illuminate\Routing\Route
*/
public function substituteBindings($route)
{
foreach ($route->parameters() as $key => $value) {
if (isset($this->binders[$key])) {
$route->setParameter($key, $this->performBinding($key, $value, $route));
Arguments
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Router.php
* Sort the given middleware by priority.
*
* @param \Illuminate\Support\Collection $middlewares
* @return array
*/
protected function sortMiddleware(Collection $middlewares)
{
return (new SortedMiddleware($this->middlewarePriority, $middlewares))->all();
}
/**
* Create a response instance from the given value.
*
* @param \Symfony\Component\HttpFoundation\Request $request
* @param mixed $response
* @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
*/
public function prepareResponse($request, $response)
{
return static::toResponse($request, $response);
}
/**
* Static version of prepareResponse.
*
* @param \Symfony\Component\HttpFoundation\Request $request
* @param mixed $response
* @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
*/
public static function toResponse($request, $response)
{
if ($response instanceof Responsable) {
$response = $response->toResponse($request);
}
if ($response instanceof PsrResponseInterface) {
$response = (new HttpFoundationFactory)->createResponse($response);
} elseif ($response instanceof Model && $response->wasRecentlyCreated) {
$response = new JsonResponse($response, 201);
} elseif (! $response instanceof SymfonyResponse &&
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
View {#473}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Router.php
/**
* Run the given route within a Stack "onion" instance.
*
* @param \Illuminate\Routing\Route $route
* @param \Illuminate\Http\Request $request
* @return mixed
*/
protected function runRouteWithinStack(Route $route, Request $request)
{
$shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
$this->container->make('middleware.disable') === true;
$middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
return (new Pipeline($this->container))
->send($request)
->through($middleware)
->then(function ($request) use ($route) {
return $this->prepareResponse(
$request, $route->run()
);
});
}
/**
* Gather the middleware for the given route with resolved class names.
*
* @param \Illuminate\Routing\Route $route
* @return array
*/
public function gatherRouteMiddleware(Route $route)
{
$middleware = collect($route->gatherMiddleware())->map(function ($name) {
return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
})->flatten();
return $this->sortMiddleware($middleware);
}
/**
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
View {#473}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Pipeline.php
use Symfony\Component\Debug\Exception\FatalThrowableError;
/**
* This extended pipeline catches any exceptions that occur during each slice.
*
* The exceptions are converted to HTTP responses for proper middleware handling.
*/
class Pipeline extends BasePipeline
{
/**
* Get the final piece of the Closure onion.
*
* @param \Closure $destination
* @return \Closure
*/
protected function prepareDestination(Closure $destination)
{
return function ($passable) use ($destination) {
try {
return $destination($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/app
/Http
/Middleware
/CheckEquipment.php
foreach ($server_self_array as $str){
if($str && strpos($str,'php') == false && strpos($str,'.') == false ){
$self_name = $str;
}
}
if((strpos($current_uri,'/m/')!== false)){
$url = str_replace('/m/', '', $current_uri);
}else if($this->endsWith($current_uri, '/m')){
$url = str_replace('/m', '', $current_uri);
}
if($self_name){
$url = str_replace($self_name, '', $url);
}
return Redirect::to($url);
}else{
// nothing to do
}
}
// return Redirect::to('/news/channel.html');
return $next($request);
}
// 字符串开头判断
private function startsWith($haystack, $needle)
{
$length = strlen($needle);
return (substr($haystack, 0, $length) === $needle);
}
// 字符串结束判断
private function endsWith($haystack, $needle)
{
$length = strlen($needle);
if ($length == 0) {
return true;
}
return (substr($haystack, -$length) === $needle);
}
}
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Pipeline
/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->container->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure($passable) {#426 …6}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Middleware
/SubstituteBindings.php
*/
public function __construct(Registrar $router)
{
$this->router = $router;
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$this->router->substituteBindings($route = $request->route());
$this->router->substituteImplicitBindings($route);
return $next($request);
}
}
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Pipeline
/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->container->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure($passable) {#428 …6}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Foundation
/Http
/Middleware
/VerifyCsrfToken.php
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*
* @throws \Illuminate\Session\TokenMismatchException
*/
public function handle($request, Closure $next)
{
if (
$this->isReading($request) ||
$this->runningUnitTests() ||
$this->inExceptArray($request) ||
$this->tokensMatch($request)
) {
return tap($next($request), function ($response) use ($request) {
if ($this->shouldAddXsrfTokenCookie()) {
$this->addCookieToResponse($request, $response);
}
});
}
throw new TokenMismatchException;
}
/**
* Determine if the HTTP request uses a ‘read’ verb.
*
* @param \Illuminate\Http\Request $request
* @return bool
*/
protected function isReading($request)
{
return in_array($request->method(), ['HEAD', 'GET', 'OPTIONS']);
}
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Pipeline
/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->container->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure($passable) {#429 …6}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/View
/Middleware
/ShareErrorsFromSession.php
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
// If the current session has an "errors" variable bound to it, we will share
// its value with all view instances so the views can easily access errors
// without having to bind. An empty bag is set when there aren't errors.
$this->view->share(
'errors', $request->session()->get('errors') ?: new ViewErrorBag
);
// Putting the errors in the view for every view allows the developer to just
// assume that some errors are always available, which is convenient since
// they don't have to continually run checks for the presence of errors.
return $next($request);
}
}
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Pipeline
/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->container->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure($passable) {#430 …6}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Session
/Middleware
/StartSession.php
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$this->sessionHandled = true;
// If a session driver has been configured, we will need to start the session here
// so that the data is ready for an application. Note that the Laravel sessions
// do not make use of PHP "native" sessions in any way since they are crappy.
if ($this->sessionConfigured()) {
$request->setLaravelSession(
$session = $this->startSession($request)
);
$this->collectGarbage($session);
}
$response = $next($request);
// Again, if the session has been configured we will need to close out the session
// so that the attributes may be persisted to some storage medium. We will also
// add the session identifier cookie to the application response headers now.
if ($this->sessionConfigured()) {
$this->storeCurrentUrl($request, $session);
$this->addCookieToResponse($response, $session);
}
return $response;
}
/**
* Perform any final actions for the request lifecycle.
*
* @param \Illuminate\Http\Request $request
* @param \Symfony\Component\HttpFoundation\Response $response
* @return void
*/
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Pipeline
/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->container->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure($passable) {#431 …6}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Cookie
/Middleware
/AddQueuedCookiesToResponse.php
* Create a new CookieQueue instance.
*
* @param \Illuminate\Contracts\Cookie\QueueingFactory $cookies
* @return void
*/
public function __construct(CookieJar $cookies)
{
$this->cookies = $cookies;
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$response = $next($request);
foreach ($this->cookies->getQueuedCookies() as $cookie) {
$response->headers->setCookie($cookie);
}
return $response;
}
}
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Pipeline
/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->container->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure($passable) {#432 …6}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Cookie
/Middleware
/EncryptCookies.php
* Disable encryption for the given cookie name(s).
*
* @param string|array $name
* @return void
*/
public function disableFor($name)
{
$this->except = array_merge($this->except, (array) $name);
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return \Symfony\Component\HttpFoundation\Response
*/
public function handle($request, Closure $next)
{
return $this->encrypt($next($this->decrypt($request)));
}
/**
* Decrypt the cookies on the request.
*
* @param \Symfony\Component\HttpFoundation\Request $request
* @return \Symfony\Component\HttpFoundation\Request
*/
protected function decrypt(Request $request)
{
foreach ($request->cookies as $key => $cookie) {
if ($this->isDisabled($key)) {
continue;
}
try {
$request->cookies->set($key, $this->decryptCookie($key, $cookie));
} catch (DecryptException $e) {
$request->cookies->set($key, null);
}
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Pipeline
/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->container->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure($passable) {#433 …6}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Pipeline
/Pipeline.php
public function via($method)
{
$this->method = $method;
return $this;
}
/**
* Run the pipeline with a final destination callback.
*
* @param \Closure $destination
* @return mixed
*/
public function then(Closure $destination)
{
$pipeline = array_reduce(
array_reverse($this->pipes), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Get the final piece of the Closure onion.
*
* @param \Closure $destination
* @return \Closure
*/
protected function prepareDestination(Closure $destination)
{
return function ($passable) use ($destination) {
return $destination($passable);
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Router.php
*
* @param \Illuminate\Routing\Route $route
* @param \Illuminate\Http\Request $request
* @return mixed
*/
protected function runRouteWithinStack(Route $route, Request $request)
{
$shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
$this->container->make('middleware.disable') === true;
$middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
return (new Pipeline($this->container))
->send($request)
->through($middleware)
->then(function ($request) use ($route) {
return $this->prepareResponse(
$request, $route->run()
);
});
}
/**
* Gather the middleware for the given route with resolved class names.
*
* @param \Illuminate\Routing\Route $route
* @return array
*/
public function gatherRouteMiddleware(Route $route)
{
$middleware = collect($route->gatherMiddleware())->map(function ($name) {
return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
})->flatten();
return $this->sortMiddleware($middleware);
}
/**
* Sort the given middleware by priority.
*
Arguments
Closure($request) {#260 …6}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Router.php
return $route;
}
/**
* Return the response for the given route.
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Routing\Route $route
* @return mixed
*/
protected function runRoute(Request $request, Route $route)
{
$request->setRouteResolver(function () use ($route) {
return $route;
});
$this->events->dispatch(new Events\RouteMatched($route, $request));
return $this->prepareResponse($request,
$this->runRouteWithinStack($route, $request)
);
}
/**
* Run the given route within a Stack "onion" instance.
*
* @param \Illuminate\Routing\Route $route
* @param \Illuminate\Http\Request $request
* @return mixed
*/
protected function runRouteWithinStack(Route $route, Request $request)
{
$shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
$this->container->make('middleware.disable') === true;
$middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
return (new Pipeline($this->container))
->send($request)
->through($middleware)
Arguments
Route {#228}
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Router.php
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
*/
public function dispatch(Request $request)
{
$this->currentRequest = $request;
return $this->dispatchToRoute($request);
}
/**
* Dispatch the request to a route and return the response.
*
* @param \Illuminate\Http\Request $request
* @return mixed
*/
public function dispatchToRoute(Request $request)
{
return $this->runRoute($request, $this->findRoute($request));
}
/**
* Find the route matching a given request.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Routing\Route
*/
protected function findRoute($request)
{
$this->current = $route = $this->routes->match($request);
$this->container->instance(Route::class, $route);
return $route;
}
/**
* Return the response for the given route.
*
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Route {#228}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Router.php
* @return mixed
*/
public function respondWithRoute($name)
{
$route = tap($this->routes->getByName($name))->bind($this->currentRequest);
return $this->runRoute($this->currentRequest, $route);
}
/**
* Dispatch the request to the application.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
*/
public function dispatch(Request $request)
{
$this->currentRequest = $request;
return $this->dispatchToRoute($request);
}
/**
* Dispatch the request to a route and return the response.
*
* @param \Illuminate\Http\Request $request
* @return mixed
*/
public function dispatchToRoute(Request $request)
{
return $this->runRoute($request, $this->findRoute($request));
}
/**
* Find the route matching a given request.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Routing\Route
*/
protected function findRoute($request)
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Foundation
/Http
/Kernel.php
* @return void
*/
public function bootstrap()
{
if (! $this->app->hasBeenBootstrapped()) {
$this->app->bootstrapWith($this->bootstrappers());
}
}
/**
* Get the route dispatcher callback.
*
* @return \Closure
*/
protected function dispatchToRouter()
{
return function ($request) {
$this->app->instance('request', $request);
return $this->router->dispatch($request);
};
}
/**
* Call the terminate method on any terminable middleware.
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Http\Response $response
* @return void
*/
public function terminate($request, $response)
{
$this->terminateMiddleware($request, $response);
$this->app->terminate();
}
/**
* Call the terminate method on any terminable middleware.
*
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Pipeline.php
use Symfony\Component\Debug\Exception\FatalThrowableError;
/**
* This extended pipeline catches any exceptions that occur during each slice.
*
* The exceptions are converted to HTTP responses for proper middleware handling.
*/
class Pipeline extends BasePipeline
{
/**
* Get the final piece of the Closure onion.
*
* @param \Closure $destination
* @return \Closure
*/
protected function prepareDestination(Closure $destination)
{
return function ($passable) use ($destination) {
try {
return $destination($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/fideloper
/proxy
/src
/TrustProxies.php
{
$this->config = $config;
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
*
* @throws \Symfony\Component\HttpKernel\Exception\HttpException
*
* @return mixed
*/
public function handle(Request $request, Closure $next)
{
$request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
$this->setTrustedProxyIpAddresses($request);
return $next($request);
}
/**
* Sets the trusted proxies on the request to the value of trustedproxy.proxies
*
* @param \Illuminate\Http\Request $request
*/
protected function setTrustedProxyIpAddresses(Request $request)
{
$trustedIps = $this->proxies ?: $this->config->get('trustedproxy.proxies');
// Only trust specific IP addresses
if (is_array($trustedIps)) {
return $this->setTrustedProxyIpAddressesToSpecificIps($request, $trustedIps);
}
// Trust any IP address that calls us
// `**` for backwards compatibility, but is depreciated
if ($trustedIps === '*' || $trustedIps === '**') {
return $this->setTrustedProxyIpAddressesToTheCallingIp($request);
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Pipeline
/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->container->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure($passable) {#213 …6}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Foundation
/Http
/Middleware
/TransformsRequest.php
*
* @var array
*/
protected $attributes = [];
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @param array ...$attributes
* @return mixed
*/
public function handle($request, Closure $next, ...$attributes)
{
$this->attributes = $attributes;
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
* @param \Illuminate\Http\Request $request
* @return void
*/
protected function clean($request)
{
$this->cleanParameterBag($request->query);
if ($request->isJson()) {
$this->cleanParameterBag($request->json());
} elseif ($request->request !== $request->query) {
$this->cleanParameterBag($request->request);
}
}
/**
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Pipeline
/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->container->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure($passable) {#236 …6}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Foundation
/Http
/Middleware
/TransformsRequest.php
*
* @var array
*/
protected $attributes = [];
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @param array ...$attributes
* @return mixed
*/
public function handle($request, Closure $next, ...$attributes)
{
$this->attributes = $attributes;
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
* @param \Illuminate\Http\Request $request
* @return void
*/
protected function clean($request)
{
$this->cleanParameterBag($request->query);
if ($request->isJson()) {
$this->cleanParameterBag($request->json());
} elseif ($request->request !== $request->query) {
$this->cleanParameterBag($request->request);
}
}
/**
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Pipeline
/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->container->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure($passable) {#237 …6}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Foundation
/Http
/Middleware
/ValidatePostSize.php
class ValidatePostSize
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*
* @throws \Illuminate\Http\Exceptions\PostTooLargeException
*/
public function handle($request, Closure $next)
{
$max = $this->getPostMaxSize();
if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
throw new PostTooLargeException;
}
return $next($request);
}
/**
* Determine the server 'post_max_size' as bytes.
*
* @return int
*/
protected function getPostMaxSize()
{
if (is_numeric($postMaxSize = ini_get('post_max_size'))) {
return (int) $postMaxSize;
}
$metric = strtoupper(substr($postMaxSize, -1));
$postMaxSize = (int) $postMaxSize;
switch ($metric) {
case 'K':
return $postMaxSize * 1024;
case 'M':
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Pipeline
/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->container->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure($passable) {#238 …6}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Foundation
/Http
/Middleware
/CheckForMaintenanceMode.php
*
* @throws \Symfony\Component\HttpKernel\Exception\HttpException
*/
public function handle($request, Closure $next)
{
if ($this->app->isDownForMaintenance()) {
$data = json_decode(file_get_contents($this->app->storagePath().'/framework/down'), true);
if (isset($data['allowed']) && IpUtils::checkIp($request->ip(), (array) $data['allowed'])) {
return $next($request);
}
if ($this->inExceptArray($request)) {
return $next($request);
}
throw new MaintenanceModeException($data['time'], $data['retry'], $data['message']);
}
return $next($request);
}
/**
* Determine if the request has a URI that should be accessible in maintenance mode.
*
* @param \Illuminate\Http\Request $request
* @return bool
*/
protected function inExceptArray($request)
{
foreach ($this->except as $except) {
if ($except !== '/') {
$except = trim($except, '/');
}
if ($request->fullUrlIs($except) || $request->is($except)) {
return true;
}
}
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Pipeline
/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->container->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure($passable) {#239 …6}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Pipeline
/Pipeline.php
public function via($method)
{
$this->method = $method;
return $this;
}
/**
* Run the pipeline with a final destination callback.
*
* @param \Closure $destination
* @return mixed
*/
public function then(Closure $destination)
{
$pipeline = array_reduce(
array_reverse($this->pipes), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Get the final piece of the Closure onion.
*
* @param \Closure $destination
* @return \Closure
*/
protected function prepareDestination(Closure $destination)
{
return function ($passable) use ($destination) {
return $destination($passable);
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Foundation
/Http
/Kernel.php
}
/**
* Send the given request through the middleware / router.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
protected function sendRequestThroughRouter($request)
{
$this->app->instance('request', $request);
Facade::clearResolvedInstance('request');
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Bootstrap the application for HTTP requests.
*
* @return void
*/
public function bootstrap()
{
if (! $this->app->hasBeenBootstrapped()) {
$this->app->bootstrapWith($this->bootstrappers());
}
}
/**
* Get the route dispatcher callback.
*
* @return \Closure
*/
protected function dispatchToRouter()
Arguments
Closure($request) {#22 …5}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/vendor
/laravel
/framework
/src
/Illuminate
/Foundation
/Http
/Kernel.php
$router->middlewareGroup($key, $middleware);
}
foreach ($this->routeMiddleware as $key => $middleware) {
$router->aliasMiddleware($key, $middleware);
}
}
/**
* Handle an incoming HTTP request.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
public function handle($request)
{
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Exception $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
} catch (Throwable $e) {
$this->reportException($e = new FatalThrowableError($e));
$response = $this->renderException($request, $e);
}
$this->app['events']->dispatch(
new Events\RequestHandled($request, $response)
);
return $response;
}
/**
* Send the given request through the middleware / router.
*
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/public
/index.php
*/
$app = require_once __DIR__.'/../bootstrap/app.php';
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#256 …6}
#routeResolver: Closure() {#258 …5}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classics/article-100256/page.html"
#requestUri: "/classics/article-100256/page.html"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#445}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/acesoon20186a0c7egsiobownl2v0p1v8
/wwwroot
/_aigufengcom
/index.php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylor@laravel.com>
*/
$uri = urldecode(
parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
);
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
// built-in PHP web server. This provides a convenient way to test a Laravel
// application without having installed a "real" web server software here.
if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) {
return false;
}
require_once __DIR__.'/public/index.php';
Arguments
"/home/acesoon20186a0c7egsiobownl2v0p1v8/wwwroot/_aigufengcom/public/index.php"