/home
/ecologyo
/public_html
/ecology
/app
/Http
/Controllers
/About
/RecordController.php
{
$value = (array)$value;
$ret[$index]["id"] = $value["id"];
$ret[$index]["year"] = $value["year"];
$ret[$index]["name"]= $value["name"];
$ret[$index]["content"] = $value["content"];
$ret[$index]["note"] = $value["note"];
// 控制選擇年份的邏輯
if ( !in_array($value["year"], $select) ) {
$select[] = $value["year"];
}
$str_start_date = explode("-", $value["start_date"]);
$str_end_date = explode("-", $value["end_date"]);
if ($value["start_date"] == $value["end_date"]) {
$ret[$index]["date"] = $str_start_date[1]. "/". $str_start_date[2];
} else {
$ret[$index]["date"] = $str_start_date[1]. "/". $str_start_date[2]. " ~ ". $str_end_date[1]. "/". $str_end_date[2];
}
}
return View::make('front/about/record',
[
"title" => $title,
"ret" => $ret,
'select' => $select,
'select_current' => $select_current
]
);
}
public function searchByYear($year)
{
$all = Record::GetAll();
$all_by_year = Record::GetByYear($year);
$ret = [];
$select = [];
Arguments
/home
/ecologyo
/public_html
/ecology
/app
/Http
/Controllers
/About
/RecordController.php
{
$value = (array)$value;
$ret[$index]["id"] = $value["id"];
$ret[$index]["year"] = $value["year"];
$ret[$index]["name"]= $value["name"];
$ret[$index]["content"] = $value["content"];
$ret[$index]["note"] = $value["note"];
// 控制選擇年份的邏輯
if ( !in_array($value["year"], $select) ) {
$select[] = $value["year"];
}
$str_start_date = explode("-", $value["start_date"]);
$str_end_date = explode("-", $value["end_date"]);
if ($value["start_date"] == $value["end_date"]) {
$ret[$index]["date"] = $str_start_date[1]. "/". $str_start_date[2];
} else {
$ret[$index]["date"] = $str_start_date[1]. "/". $str_start_date[2]. " ~ ". $str_end_date[1]. "/". $str_end_date[2];
}
}
return View::make('front/about/record',
[
"title" => $title,
"ret" => $ret,
'select' => $select,
'select_current' => $select_current
]
);
}
public function searchByYear($year)
{
$all = Record::GetAll();
$all_by_year = Record::GetByYear($year);
$ret = [];
$select = [];
Arguments
8
"Undefined offset: 1"
"/home/ecologyo/public_html/ecology/app/Http/Controllers/About/RecordController.php"
46
array:7 [
"ret" => array:44 [
0 => array:6 [
"id" => "1662"
"year" => "2022"
"name" => "王豫煌"
"content" => """
<p><span style="font-size:12pt"><span style="font-family:Calibri,sans-serif"><span style="font-family:"新細明體",serif">事由:行政院農業委員會林務局新竹林區管理處開會通知單</span> <span style="font-family:"新細明體",serif">召開國土生態保育綠色網絡示範區後龍溪暨苗南淺山丘陵保育軸帶跨域平台會議</span></span></span></p>\r\n
\r\n
<p><span style="font-size:12pt"><span style="font-family:Calibri,sans-serif"><span style="font-family:"新細明體",serif">地點:</span> <span style="font-family:"新細明體",serif">新竹林區管理處</span></span></span></p>\r\n
\r\n
<p> </p>
"""
"note" => null
"date" => "01/19"
]
1 => array:6 [
"id" => "1663"
"year" => "2022"
"name" => "鄭執翰"
"content" => """
<p><span style="font-size:12pt"><span style="font-family:Calibri,sans-serif"><span style="font-family:"新細明體",serif">事由:</span> <span style="font-family:"新細明體",serif">翻轉世界</span> <span style="font-family:"新細明體",serif">永續創新(導讀《</span>SDGs<span style="font-family:"新細明體",serif">:我們想要的未來</span> 17<span style="font-family:"新細明體",serif">項永續發展目標&國際實踐範例》)</span></span></span></p>\r\n
\r\n
<p><span style="font-size:12pt"><span style="font-family:Calibri,sans-serif"><span style="font-family:"新細明體",serif">地點:台中天乙堂幸福小講堂</span></span></span></p>\r\n
\r\n
<p> </p>
"""
"note" => null
"date" => "01/22"
]
2 => array:6 [
"id" => "1664"
"year" => "2022"
"name" => "張豐年、王豫煌"
"content" => """
<p><span style="font-size:12pt"><span style="font-family:Calibri,sans-serif"><span style="font-family:"新細明體",serif">事由:生態保育民眾參與總平台</span>111<span style="font-family:"新細明體",serif">年度第</span>1<span style="font-family:"新細明體",serif">次會議</span></span></span></p>\r\n
\r\n
<p><span style="font-size:12pt"><span style="font-family:Calibri,sans-serif"><span style="font-family:"新細明體",serif">地點:南投</span></span></span></p>\r\n
\r\n
<p> </p>
"""
"note" => null
"date" => "02/08"
]
3 => array:6 [
"id" => "1665"
"year" => "2022"
"name" => "鄭執翰"
"content" => """
<p><span style="font-size:12pt"><span style="font-family:Calibri,sans-serif"><span style="font-family:"新細明體",serif">事由:歷史與文化前進</span> SDGs</span></span></p>\r\n
\r\n
<p><span style="font-size:12pt"><span style="font-family:Calibri,sans-serif"><span style="font-family:"新細明體",serif">地點:亞洲大學通識教育中心教學研習營</span></span></span></p>\r\n
\r\n
<p> </p>
"""
"note" => null
"date" => "02/09"
]
4 => array:6 [
"id" => "1666"
"year" => "2022"
"name" => "楊國禎"
"content" => """
<p><span style="font-size:12pt"><span style="font-family:Calibri,sans-serif"><span style="font-family:"新細明體",serif">事由:行政院農業委員會林務局開會通知單研商林產物伐採許可審核機制中區座談會</span></span></span></p>\r\n
\r\n
<p><span style="font-size:12pt"><span style="font-family:Calibri,sans-serif"><span style="font-family:"新細明體",serif">地點:東勢林區管理處</span></span></span></p>\r\n
\r\n
<p> </p>
"""
"note" => null
"date" => "02/18"
]
5 => array:6 [
"id" => "1667"
"year" => "2022"
"name" => "鄭執翰"
"content" => """
<p><span style="font-size:12pt"><span style="font-family:Calibri,sans-serif"><span style="font-family:"新細明體",serif">事由:氣候緊急時代的新視野</span></span></span></p>\r\n
\r\n
<p><span style="font-size:12pt"><span style="font-family:Calibri,sans-serif"><span style="font-family:"新細明體",serif">地點:國防醫學院「環境‧社會與健康」</span> <span style="font-family:"新細明體",serif">課程講座</span></span></span></p>\r\n
\r\n
<p> </p>
"""
"note" => null
"date" => "03/04"
]
6 => array:6 [
"id" => "1668"
"year" => "2022"
"name" => "陳玉峯"
"content" => """
<p><span style="font-size:12pt"><span style="font-family:Calibri,sans-serif"><span style="font-family:"新細明體",serif">事由:浸水營古道暨姑子崙山</span> <span style="font-family:"新細明體",serif">的生態解密Ⅰ</span>(<span style="font-family:"新細明體",serif">演講</span>)</span></span></p>\r\n
\r\n
<p><span style="font-size:12pt"><span style="font-family:Calibri,sans-serif"><span style="font-family:"新細明體",serif">地點:高雄市立圖書館總館</span></span></span></p>\r\n
\r\n
<p> </p>
"""
"note" => null
"date" => "03/05"
]
7 => array:6 [
"id" => "1669"
"year" => "2022"
"name" => "楊國禎"
"content" => """
<p><span style="font-size:12pt"><span style="font-family:Calibri,sans-serif"><span style="font-family:"新細明體",serif">事由:上森景觀公司植物解說課程</span></span></span></p>\r\n
\r\n
<p><span style="font-size:12pt"><span style="font-family:Calibri,sans-serif"><span style="font-family:"新細明體",serif">地點:科博館植物園</span></span></span></p>\r\n
\r\n
<p> </p>
"""
"note" => null
"date" => "03/11"
]
8 => array:6 [
"id" => "1670"
"year" => "2022"
"name" => "鄭執翰"
"content" => """
<p><span style="font-size:12pt"><span style="font-family:Calibri,sans-serif"><span style="font-family:"新細明體",serif">事由:台灣環境運動的滄桑與力量(上)</span></span></span></p>\r\n
\r\n
<p><span style="font-size:12pt"><span style="font-family:Calibri,sans-serif"><span style="font-family:"新細明體",serif">地點:國防醫學院「環境‧社會與健康」</span> <span style="font-family:"新細明體",serif">課程講座</span></span></span></p>\r\n
\r\n
<p> </p>
"""
"note" => null
"date" => "03/11"
]
9 => array:6 [
"id" => "1671"
"year" => "2022"
"name" => "陳玉峯"
"content" => """
<p><span style="font-size:12pt"><span style="font-family:Calibri,sans-serif"><span style="font-family:"新細明體",serif">事由:浸水營古道暨姑子崙山</span> <span style="font-family:"新細明體",serif">的生態解密Ⅱ</span>(<span style="font-family:"新細明體",serif">演講</span>)</span></span></p>\r\n
\r\n
<p><span style="font-size:12pt"><span style="font-family:Calibri,sans-serif"><span style="font-family:"新細明體",serif">地點:高雄市立圖書館總館</span></span></span></p>\r\n
\r\n
<p> </p>
"""
"note" => null
"date" => "03/13"
]
10 => array:6 [
"id" => "1672"
"year" => "2022"
"name" => "鄭執翰"
"content" => """
<p><span style="font-size:12pt"><span style="font-family:Calibri,sans-serif"><span style="font-family:"新細明體",serif">事由:台灣環境運動的滄桑與力量(下)</span></span></span></p>\r\n
\r\n
<p><span style="font-size:12pt"><span style="font-family:Calibri,sans-serif"><span style="font-family:"新細明體",serif">地點:國防醫學院「環境‧社會與健康」</span> <span style="font-family:"新細明體",serif">課程講座</span></span></span></p>\r\n
\r\n
<p> </p>
"""
"note" => null
"date" => "03/18"
]
11 => array:6 [
"id" => "1673"
"year" => "2022"
"name" => "王豫煌"
"content" => """
<div><span style="font-size:11pt"><span style="font-family:Calibri,sans-serif"><span style="font-size:12.0pt"><span style="font-family:"新細明體",serif">事由:溫寮溪旁聯外道路新闢工程會勘</span></span></span></span></div>\r\n
\r\n
<div><span style="font-size:11pt"><span style="font-family:Calibri,sans-serif"><span style="font-size:12.0pt"><span style="font-family:"新細明體",serif">地點:台中溫寮溪工務所</span></span></span></span></div>\r\n
\r\n
<p> </p>
"""
"note" => null
"date" => "03/24"
]
12 => array:6 [
"id" => "1675"
"year" => "2022"
"name" => "陳玉峯、鄭執翰"
"content" => """
<p><span style="font-size:16px">事由:台灣生界傳奇講座</span></p>\r\n
\r\n
<p><span style="font-size:16px">地點:亞洲大學</span></p>
"""
"note" => null
"date" => "03/28"
]
13 => array:6 [
"id" => "1676"
"year" => "2022"
"name" => "楊國禎"
"content" => """
<p><span style="font-size:16px">事由:公民團體為屏東人的健康「選賢與能」</span></p>\r\n
\r\n
<p><span style="font-size:16px">地點:屏東</span></p>
"""
"note" => null
"date" => "04/05"
]
14 => array:6 [
"id" => "1677"
"year" => "2022"
"name" => "王豫煌"
"content" => """
<p><span style="font-size:16px">事由:林務局新竹林區管理處召開國土生態保育綠色網絡示範區後龍溪暨苗南淺山丘陵保育軸帶後龍溪流域地圖推動平台 </span></p>\r\n
\r\n
<p><span style="font-size:16px">地點:新竹林區管理處 </span></p>
"""
"note" => null
"date" => "04/14"
]
15 => array:6 [
"id" => "1678"
"year" => "2022"
"name" => "張豐年"
"content" => """
<p><span style="font-size:16px">事由:第三河川局在地諮詢小組會</span></p>\r\n
\r\n
<p><span style="font-size:16px">地點:台中霧峰第三河川局 </span></p>
"""
"note" => null
"date" => "04/18"
]
16 => array:6 [
"id" => "1679"
"year" => "2022"
"name" => "張豐年"
"content" => """
<p><span style="font-size:16px">事由:第三河川局在地諮詢小組會</span></p>\r\n
\r\n
<p><span style="font-size:16px">地點:台中霧峰第三河川局 </span></p>
"""
"note" => null
"date" => "04/19"
]
17 => array:6 [
"id" => "1680"
"year" => "2022"
"name" => "王豫煌"
"content" => """
<p><span style="font-size:16px">事由:露營區合法家數不到一成,且涉有污染水庫集水區或保護區水源」諮詢會議 </span></p>\r\n
\r\n
<p><span style="font-size:16px">地點:監察院 </span></p>
"""
"note" => null
"date" => "04/19"
]
18 => array:6 [
"id" => "1681"
"year" => "2022"
"name" => "楊國禎"
"content" => """
<p><span style="font-size:16px">事由:經濟部水利署水利規劃試驗所水環境改善空間發展藍圖規劃共識營 </span></p>\r\n
\r\n
<p><span style="font-size:16px">地點:臺北記憶倉庫(台北市中正區忠孝西路一段265號) </span></p>
"""
"note" => null
"date" => "04/21"
]
19 => array:6 [
"id" => "1682"
"year" => "2022"
"name" => "楊國禎、劉烘昌、王豫煌、趙克堅"
"content" => """
<p><span style="font-size:16px">事由:彰化山寮排水改善及橋樑系統規劃會議 </span></p>\r\n
\r\n
<p><span style="font-size:16px">地點:彰化</span></p>
"""
"note" => null
"date" => "05/23"
]
20 => array:6 [
"id" => "1683"
"year" => "2022"
"name" => "張豐年"
"content" => """
<p><span style="font-size:16px">事由:第三河川局埔里鎮枇杷城排水水質改善計畫(第三、四、五期)工作計畫書在地諮詢小組會 </span></p>\r\n
\r\n
<p><span style="font-size:16px">地點:南投埔里</span></p>
"""
"note" => null
"date" => "05/24"
]
21 => array:6 [
"id" => "1684"
"year" => "2022"
"name" => "簡義明"
"content" => """
<p><span style="font-size:16px">事由:社團法人公民監督國會聯盟召開第十屆第二次會員大會 </span></p>\r\n
\r\n
<p><span style="font-size:16px">地點:視訊會議</span></p>
"""
"note" => null
"date" => "06/02"
]
22 => array:6 [
"id" => "1685"
"year" => "2022"
"name" => "張豐年"
"content" => """
<p><span style="font-size:16px">事由:第三河川局召開「全國水環境改善計畫第六批次提報作業」在地諮詢小組會</span></p>\r\n
\r\n
<p><span style="font-size:16px">地點:第三河川局 </span></p>
"""
"note" => null
"date" => "06/13"
]
23 => array:6 [
"id" => "1686"
"year" => "2022"
"name" => "王豫煌、趙克堅、張豐年"
"content" => """
<p><span style="font-size:16px">事由:彰化山寮排水改善及橋樑改建工程併辦土石標售工區上游段台灣南蟹諮詢會議 </span></p>\r\n
\r\n
<p><span style="font-size:16px">地點:彰化縣政府</span></p>
"""
"note" => null
"date" => "06/17"
]
24 => array:6 [
"id" => "1687"
"year" => "2022"
"name" => "陳玉峯"
"content" => """
<p><span style="font-size:16px">事由:台灣生界傳奇 </span></p>\r\n
\r\n
<p><span style="font-size:16px">地點:宜蘭慈林文教基金會 </span></p>
"""
"note" => null
"date" => "06/18"
]
25 => array:6 [
"id" => "1688"
"year" => "2022"
"name" => "陳玉峯"
"content" => """
<p><span style="font-size:16px">事由:新玉山調查行 </span></p>\r\n
\r\n
<p><span style="font-size:16px">地點:宜蘭慈林文教基金會 </span></p>
"""
"note" => null
"date" => "06/19"
]
26 => array:6 [
"id" => "1689"
"year" => "2022"
"name" => "陳玉峯"
"content" => """
<p><span style="font-size:16px">事由:總說玉山</span></p>\r\n
\r\n
<p><span style="font-size:16px">地點:宜蘭慈林文教基金會</span></p>
"""
"note" => null
"date" => "06/19"
]
27 => array:6 [
"id" => "1690"
"year" => "2022"
"name" => "楊國禎"
"content" => """
<p><span style="font-size:16px">事由:行政院農業委員會林務局東勢林區管理處開會通知單頭嵙山層森林服務產業規劃計畫案期初審查會議 </span></p>\r\n
\r\n
<p><span style="font-size:16px">地點:東勢林區管理處</span></p>
"""
"note" => null
"date" => "06/21"
]
28 => array:6 [
"id" => "1691"
"year" => "2022"
"name" => "楊國禎、梁羽楓、學會會員"
"content" => """
<p><span style="font-size:16px">事由:浸水營生態導覽行程 </span></p>\r\n
\r\n
<p><span style="font-size:16px">地點:浸水營古道</span></p>
"""
"note" => null
"date" => "06/24"
]
29 => array:6 [
"id" => "1692"
"year" => "2022"
"name" => "陳月霞、梁羽楓"
"content" => """
<p><span style="font-size:16px">事由:婦女協會性別影片賞析及映後座談 </span></p>\r\n
\r\n
<p><span style="font-size:16px">地點:台中西屯世貿中心</span></p>
"""
"note" => null
"date" => "07/10"
]
30 => array:6 [
"id" => "1693"
"year" => "2022"
"name" => "楊國禎、趙克堅"
"content" => """
<p><span style="font-size:16px">事由:經濟部水利署111年7月19日烏溪伏流水座談會 </span></p>\r\n
\r\n
<p><span style="font-size:16px">地點:台中 </span></p>
"""
"note" => null
"date" => "07/19"
]
31 => array:6 [
"id" => "1694"
"year" => "2022"
"name" => "王豫煌"
"content" => """
<p><span style="font-size:16px">事由:經濟部水利署水利規劃試驗所辦理流域生態檢核參考手冊 </span></p>\r\n
\r\n
<p><span style="font-size:16px">地點:線上會議</span></p>
"""
"note" => null
"date" => "07/26"
]
32 => array:6 [
"id" => "1695"
"year" => "2022"
"name" => "陳玉峯"
"content" => """
<p><span style="font-size:16px">事由:總說玉山 </span></p>\r\n
\r\n
<p><span style="font-size:16px">地點:國立臺灣圖書館</span></p>
"""
"note" => null
"date" => "08/07"
]
33 => array:6 [
"id" => "1696"
"year" => "2022"
"name" => "陳玉峯、楊國禎"
"content" => """
<p><span style="font-size:16px">事由:國立台灣大學生物資源暨農學院附設山地實驗農場開會通知單111年度台14甲線37K邊坡生態復育暨結合環境教育計畫第二期成果說明會 </span></p>\r\n
\r\n
<p><span style="font-size:16px">地點:太魯閣國家公園合歡山管理處</span></p>
"""
"note" => null
"date" => "08/10"
]
34 => array:6 [
"id" => "1697"
"year" => "2022"
"name" => "陳玉峯"
"content" => """
<p><span style="font-size:16px">事由:新玉山調查行 </span></p>\r\n
\r\n
<p><span style="font-size:16px">地點:國立臺灣圖書館 </span></p>\r\n
\r\n
<p> </p>
"""
"note" => null
"date" => "08/14"
]
35 => array:6 [
"id" => "1619"
"year" => "2021"
"name" => "鄭執翰"
"content" => """
<p>事由:國防醫學院講座</p>\r\n
\r\n
<p>地點:台灣環境運動的滄桑與力量(上)</p>
"""
"note" => null
"date" => "01/15"
]
36 => array:6 [
"id" => "1620"
"year" => "2021"
"name" => "王豫煌"
"content" => """
<p>事由:參加水土保持局生態檢核資料管理與開放討論會議</p>\r\n
\r\n
<p>地點:南投中興新村</p>
"""
"note" => null
"date" => "01/18"
]
37 => array:6 [
"id" => "1621"
"year" => "2021"
"name" => "張豐年"
"content" => """
<p>事由:台中都市想像與環境保護</p>\r\n
\r\n
<p>地點:台灣民眾黨黨團會議室</p>
"""
"note" => null
"date" => "01/22"
]
38 => array:6 [
"id" => "1622"
"year" => "2021"
"name" => "王豫煌"
"content" => """
<p>事由:參加生態友善民眾參與總平台110年度第1次會議</p>\r\n
\r\n
<p>地點:台北新店</p>
"""
"note" => null
"date" => "01/28"
]
39 => array:6 [
"id" => "1623"
"year" => "2021"
"name" => "楊國禎、梁羽楓"
"content" => """
<p>事由:環團與局長有約</p>\r\n
\r\n
<p>地點:台中環保局</p>
"""
"note" => null
"date" => "01/29"
]
40 => array:6 [
"id" => "1624"
"year" => "2021"
"name" => "鄭執翰"
"content" => """
<p>事由:國防醫學院講座</p>\r\n
\r\n
<p>地點:台灣土地倫理與災後重建概述</p>
"""
"note" => null
"date" => "01/29"
]
41 => array:6 [
"id" => "1625"
"year" => "2021"
"name" => "張豐年"
"content" => """
<p>事由:雲林四湖反風力發電機</p>\r\n
\r\n
<p>地點:雲林四湖</p>
"""
"note" => null
"date" => "02/12"
]
42 => array:6 [
"id" => "1626"
"year" => "2021"
"name" => "錢建文、楊國禎"
"content" => """
<p>事由:藻礁公投記者會</p>\r\n
\r\n
<p>地點:彰化車站</p>
"""
"note" => null
"date" => "02/25"
]
43 => array:5 [
"id" => "1627"
"year" => "2021"
"name" => "陳玉峯"
"content" => """
<div> </div>\r\n
\r\n
<div>\r\n
<p><span style="font-size:11pt"><span style="font-family:Calibri,sans-serif"><span style="font-size:12.0pt"><span style="font-family:"新細明體",serif">事由:</span></span>自然地景及自然紀念物審查委員 110年4月1日至112年12月31日</span></span></p>\r\n
\r\n
<p><span style="font-size:11pt"><span style="font-family:Calibri,sans-serif">地點:台南</span></span></p>\r\n
\r\n
<table align="center">\r\n
\t<tbody>\r\n
\t\t<tr>\r\n
\t\t\t<td style="vertical-align:top">\r\n
\t\t\t<p> </p>\r\n
\r\n
\t\t\t<p> </p>\r\n
\t\t\t</td>\r\n
\t\t</tr>\r\n
\t</tbody>\r\n
</table>\r\n
</div>
"""
"note" => null
]
]
"all" => array:1681 [
0 => {#549}
1 => {#548}
2 => {#550}
3 => {#551}
4 => {#552}
5 => {#553}
6 => {#554}
7 => {#555}
8 => {#556}
9 => {#557}
10 => {#558}
11 => {#559}
12 => {#560}
13 => {#561}
14 => {#562}
15 => {#563}
16 => {#564}
17 => {#565}
18 => {#566}
19 => {#567}
20 => {#568}
21 => {#569}
22 => {#570}
23 => {#571}
24 => {#572}
25 => {#573}
26 => {#574}
27 => {#575}
28 => {#576}
29 => {#577}
30 => {#578}
31 => {#579}
32 => {#580}
33 => {#581}
34 => {#582}
35 => {#583}
36 => {#584}
37 => {#585}
38 => {#586}
39 => {#587}
40 => {#588}
41 => {#589}
42 => {#590}
43 => {#591}
44 => {#592}
45 => {#593}
46 => {#594}
47 => {#595}
48 => {#596}
49 => {#597}
50 => {#598}
51 => {#599}
52 => {#600}
53 => {#601}
54 => {#602}
55 => {#603}
56 => {#604}
57 => {#605}
58 => {#606}
59 => {#607}
60 => {#608}
61 => {#609}
62 => {#610}
63 => {#611}
64 => {#612}
65 => {#613}
66 => {#614}
67 => {#615}
68 => {#616}
69 => {#617}
70 => {#618}
71 => {#619}
72 => {#620}
73 => {#621}
74 => {#622}
75 => {#623}
76 => {#624}
77 => {#625}
78 => {#626}
79 => {#627}
80 => {#628}
81 => {#629}
82 => {#630}
83 => {#631}
84 => {#632}
85 => {#633}
86 => {#634}
87 => {#635}
88 => {#636}
89 => {#637}
90 => {#638}
91 => {#639}
92 => {#640}
93 => {#641}
94 => {#642}
95 => {#643}
96 => {#644}
97 => {#645}
98 => {#646}
99 => {#647}
100 => {#648}
101 => {#649}
102 => {#650}
103 => {#651}
104 => {#652}
105 => {#653}
106 => {#654}
107 => {#655}
108 => {#656}
109 => {#657}
110 => {#658}
111 => {#659}
112 => {#660}
113 => {#661}
114 => {#662}
115 => {#663}
116 => {#664}
117 => {#665}
118 => {#666}
119 => {#667}
120 => {#668}
121 => {#669}
122 => {#670}
123 => {#671}
124 => {#672}
125 => {#673}
126 => {#674}
127 => {#675}
128 => {#676}
129 => {#677}
130 => {#678}
131 => {#679}
132 => {#680}
133 => {#681}
134 => {#682}
135 => {#683}
136 => {#684}
137 => {#685}
138 => {#686}
139 => {#687}
140 => {#688}
141 => {#689}
142 => {#690}
143 => {#691}
144 => {#692}
145 => {#693}
146 => {#694}
147 => {#695}
148 => {#696}
149 => {#697}
150 => {#698}
151 => {#699}
152 => {#700}
153 => {#701}
154 => {#702}
155 => {#703}
156 => {#704}
157 => {#705}
158 => {#706}
159 => {#707}
160 => {#708}
161 => {#709}
162 => {#710}
163 => {#711}
164 => {#712}
165 => {#713}
166 => {#714}
167 => {#715}
168 => {#716}
169 => {#717}
170 => {#718}
171 => {#719}
172 => {#720}
173 => {#721}
174 => {#722}
175 => {#723}
176 => {#724}
177 => {#725}
178 => {#726}
179 => {#727}
180 => {#728}
181 => {#729}
182 => {#730}
183 => {#731}
184 => {#732}
185 => {#733}
186 => {#734}
187 => {#735}
188 => {#736}
189 => {#737}
190 => {#738}
191 => {#739}
192 => {#740}
193 => {#741}
194 => {#742}
195 => {#743}
196 => {#744}
197 => {#745}
198 => {#746}
199 => {#747}
200 => {#748}
201 => {#749}
202 => {#750}
203 => {#751}
204 => {#752}
205 => {#753}
206 => {#754}
207 => {#755}
208 => {#756}
209 => {#757}
210 => {#758}
211 => {#759}
212 => {#760}
213 => {#761}
214 => {#762}
215 => {#763}
216 => {#764}
217 => {#765}
218 => {#766}
219 => {#767}
220 => {#768}
221 => {#769}
222 => {#770}
223 => {#771}
224 => {#772}
225 => {#773}
226 => {#774}
227 => {#775}
228 => {#776}
229 => {#777}
230 => {#778}
231 => {#779}
232 => {#780}
233 => {#781}
234 => {#782}
235 => {#783}
236 => {#784}
237 => {#785}
238 => {#786}
239 => {#787}
240 => {#788}
241 => {#789}
242 => {#790}
243 => {#791}
244 => {#792}
245 => {#793}
246 => {#794}
247 => {#795}
248 => {#796}
249 => {#797}
250 => {#798}
251 => {#799}
252 => {#800}
253 => {#801}
254 => {#802}
255 => {#803}
256 => {#804}
257 => {#805}
258 => {#806}
259 => {#807}
260 => {#808}
261 => {#809}
262 => {#810}
263 => {#811}
264 => {#812}
265 => {#813}
266 => {#814}
267 => {#815}
268 => {#816}
269 => {#817}
270 => {#818}
271 => {#819}
272 => {#820}
273 => {#821}
274 => {#822}
275 => {#823}
276 => {#824}
277 => {#825}
278 => {#826}
279 => {#827}
280 => {#828}
281 => {#829}
282 => {#830}
283 => {#831}
284 => {#832}
285 => {#833}
286 => {#834}
287 => {#835}
288 => {#836}
289 => {#837}
290 => {#838}
291 => {#839}
292 => {#840}
293 => {#841}
294 => {#842}
295 => {#843}
296 => {#844}
297 => {#845}
298 => {#846}
299 => {#847}
300 => {#848}
301 => {#849}
302 => {#850}
303 => {#851}
304 => {#852}
305 => {#853}
306 => {#854}
307 => {#855}
308 => {#856}
309 => {#857}
310 => {#858}
311 => {#859}
312 => {#860}
313 => {#861}
314 => {#862}
315 => {#863}
316 => {#864}
317 => {#865}
318 => {#866}
319 => {#867}
320 => {#868}
321 => {#869}
322 => {#870}
323 => {#871}
324 => {#872}
325 => {#873}
326 => {#874}
327 => {#875}
328 => {#876}
329 => {#877}
330 => {#878}
331 => {#879}
332 => {#880}
333 => {#881}
334 => {#882}
335 => {#883}
336 => {#884}
337 => {#885}
338 => {#886}
339 => {#887}
340 => {#888}
341 => {#889}
342 => {#890}
343 => {#891}
344 => {#892}
345 => {#893}
346 => {#894}
347 => {#895}
348 => {#896}
349 => {#897}
350 => {#898}
351 => {#899}
352 => {#900}
353 => {#901}
354 => {#902}
355 => {#903}
356 => {#904}
357 => {#905}
358 => {#906}
359 => {#907}
360 => {#908}
361 => {#909}
362 => {#910}
363 => {#911}
364 => {#912}
365 => {#913}
366 => {#914}
367 => {#915}
368 => {#916}
369 => {#917}
370 => {#918}
371 => {#919}
372 => {#920}
373 => {#921}
374 => {#922}
375 => {#923}
376 => {#924}
377 => {#925}
378 => {#926}
379 => {#927}
380 => {#928}
381 => {#929}
382 => {#930}
383 => {#931}
384 => {#932}
385 => {#933}
386 => {#934}
387 => {#935}
388 => {#936}
389 => {#937}
390 => {#938}
391 => {#939}
392 => {#940}
393 => {#941}
394 => {#942}
395 => {#943}
396 => {#944}
397 => {#945}
398 => {#946}
399 => {#947}
400 => {#948}
401 => {#949}
402 => {#950}
403 => {#951}
404 => {#952}
405 => {#953}
406 => {#954}
407 => {#955}
408 => {#956}
409 => {#957}
410 => {#958}
411 => {#959}
412 => {#960}
413 => {#961}
414 => {#962}
415 => {#963}
416 => {#964}
417 => {#965}
418 => {#966}
419 => {#967}
420 => {#968}
421 => {#969}
422 => {#970}
423 => {#971}
424 => {#972}
425 => {#973}
426 => {#974}
427 => {#975}
428 => {#976}
429 => {#977}
430 => {#978}
431 => {#979}
432 => {#980}
433 => {#981}
434 => {#982}
435 => {#983}
436 => {#984}
437 => {#985}
438 => {#986}
439 => {#987}
440 => {#988}
441 => {#989}
442 => {#990}
443 => {#991}
444 => {#992}
445 => {#993}
446 => {#994}
447 => {#995}
448 => {#996}
449 => {#997}
450 => {#998}
451 => {#999}
452 => {#1000}
453 => {#1001}
454 => {#1002}
455 => {#1003}
456 => {#1004}
457 => {#1005}
458 => {#1006}
459 => {#1007}
460 => {#1008}
461 => {#1009}
462 => {#1010}
463 => {#1011}
464 => {#1012}
465 => {#1013}
466 => {#1014}
467 => {#1015}
468 => {#1016}
469 => {#1017}
470 => {#1018}
471 => {#1019}
472 => {#1020}
473 => {#1021}
474 => {#1022}
475 => {#1023}
476 => {#1024}
477 => {#1025}
478 => {#1026}
479 => {#1027}
480 => {#1028}
481 => {#1029}
482 => {#1030}
483 => {#1031}
484 => {#1032}
485 => {#1033}
486 => {#1034}
487 => {#1035}
488 => {#1036}
489 => {#1037}
490 => {#1038}
491 => {#1039}
492 => {#1040}
493 => {#1041}
494 => {#1042}
495 => {#1043}
496 => {#1044}
497 => {#1045}
498 => {#1046}
499 => {#1047}
500 => {#1048}
501 => {#1049}
502 => {#1050}
503 => {#1051}
504 => {#1052}
505 => {#1053}
506 => {#1054}
507 => {#1055}
508 => {#1056}
509 => {#1057}
510 => {#1058}
511 => {#1059}
512 => {#1060}
513 => {#1061}
514 => {#1062}
515 => {#1063}
516 => {#1064}
517 => {#1065}
518 => {#1066}
519 => {#1067}
520 => {#1068}
521 => {#1069}
522 => {#1070}
523 => {#1071}
524 => {#1072}
525 => {#1073}
526 => {#1074}
527 => {#1075}
528 => {#1076}
529 => {#1077}
530 => {#1078}
531 => {#1079}
532 => {#1080}
533 => {#1081}
534 => {#1082}
535 => {#1083}
536 => {#1084}
537 => {#1085}
538 => {#1086}
539 => {#1087}
540 => {#1088}
541 => {#1089}
542 => {#1090}
543 => {#1091}
544 => {#1092}
545 => {#1093}
546 => {#1094}
547 => {#1095}
548 => {#1096}
549 => {#1097}
550 => {#1098}
551 => {#1099}
552 => {#1100}
553 => {#1101}
554 => {#1102}
555 => {#1103}
556 => {#1104}
557 => {#1105}
558 => {#1106}
559 => {#1107}
560 => {#1108}
561 => {#1109}
562 => {#1110}
563 => {#1111}
564 => {#1112}
565 => {#1113}
566 => {#1114}
567 => {#1115}
568 => {#1116}
569 => {#1117}
570 => {#1118}
571 => {#1119}
572 => {#1120}
573 => {#1121}
574 => {#1122}
575 => {#1123}
576 => {#1124}
577 => {#1125}
578 => {#1126}
579 => {#1127}
580 => {#1128}
581 => {#1129}
582 => {#1130}
583 => {#1131}
584 => {#1132}
585 => {#1133}
586 => {#1134}
587 => {#1135}
588 => {#1136}
589 => {#1137}
590 => {#1138}
591 => {#1139}
592 => {#1140}
593 => {#1141}
594 => {#1142}
595 => {#1143}
596 => {#1144}
597 => {#1145}
598 => {#1146}
599 => {#1147}
600 => {#1148}
601 => {#1149}
602 => {#1150}
603 => {#1151}
604 => {#1152}
605 => {#1153}
606 => {#1154}
607 => {#1155}
608 => {#1156}
609 => {#1157}
610 => {#1158}
611 => {#1159}
612 => {#1160}
613 => {#1161}
614 => {#1162}
615 => {#1163}
616 => {#1164}
617 => {#1165}
618 => {#1166}
619 => {#1167}
620 => {#1168}
621 => {#1169}
622 => {#1170}
623 => {#1171}
624 => {#1172}
625 => {#1173}
626 => {#1174}
627 => {#1175}
628 => {#1176}
629 => {#1177}
630 => {#1178}
631 => {#1179}
632 => {#1180}
633 => {#1181}
634 => {#1182}
635 => {#1183}
636 => {#1184}
637 => {#1185}
638 => {#1186}
639 => {#1187}
640 => {#1188}
641 => {#1189}
642 => {#1190}
643 => {#1191}
644 => {#1192}
645 => {#1193}
646 => {#1194}
647 => {#1195}
648 => {#1196}
649 => {#1197}
650 => {#1198}
651 => {#1199}
652 => {#1200}
653 => {#1201}
654 => {#1202}
655 => {#1203}
656 => {#1204}
657 => {#1205}
658 => {#1206}
659 => {#1207}
660 => {#1208}
661 => {#1209}
662 => {#1210}
663 => {#1211}
664 => {#1212}
665 => {#1213}
666 => {#1214}
667 => {#1215}
668 => {#1216}
669 => {#1217}
670 => {#1218}
671 => {#1219}
672 => {#1220}
673 => {#1221}
674 => {#1222}
675 => {#1223}
676 => {#1224}
677 => {#1225}
678 => {#1226}
679 => {#1227}
680 => {#1228}
681 => {#1229}
682 => {#1230}
683 => {#1231}
684 => {#1232}
685 => {#1233}
686 => {#1234}
687 => {#1235}
688 => {#1236}
689 => {#1237}
690 => {#1238}
691 => {#1239}
692 => {#1240}
693 => {#1241}
694 => {#1242}
695 => {#1243}
696 => {#1244}
697 => {#1245}
698 => {#1246}
699 => {#1247}
700 => {#1248}
701 => {#1249}
702 => {#1250}
703 => {#1251}
704 => {#1252}
705 => {#1253}
706 => {#1254}
707 => {#1255}
708 => {#1256}
709 => {#1257}
710 => {#1258}
711 => {#1259}
712 => {#1260}
713 => {#1261}
714 => {#1262}
715 => {#1263}
716 => {#1264}
717 => {#1265}
718 => {#1266}
719 => {#1267}
720 => {#1268}
721 => {#1269}
722 => {#1270}
723 => {#1271}
724 => {#1272}
725 => {#1273}
726 => {#1274}
727 => {#1275}
728 => {#1276}
729 => {#1277}
730 => {#1278}
731 => {#1279}
732 => {#1280}
733 => {#1281}
734 => {#1282}
735 => {#1283}
736 => {#1284}
737 => {#1285}
738 => {#1286}
739 => {#1287}
740 => {#1288}
741 => {#1289}
742 => {#1290}
743 => {#1291}
744 => {#1292}
745 => {#1293}
746 => {#1294}
747 => {#1295}
748 => {#1296}
749 => {#1297}
750 => {#1298}
751 => {#1299}
752 => {#1300}
753 => {#1301}
754 => {#1302}
755 => {#1303}
756 => {#1304}
757 => {#1305}
758 => {#1306}
759 => {#1307}
760 => {#1308}
761 => {#1309}
762 => {#1310}
763 => {#1311}
764 => {#1312}
765 => {#1313}
766 => {#1314}
767 => {#1315}
768 => {#1316}
769 => {#1317}
770 => {#1318}
771 => {#1319}
772 => {#1320}
773 => {#1321}
774 => {#1322}
775 => {#1323}
776 => {#1324}
777 => {#1325}
778 => {#1326}
779 => {#1327}
780 => {#1328}
781 => {#1329}
782 => {#1330}
783 => {#1331}
784 => {#1332}
785 => {#1333}
786 => {#1334}
787 => {#1335}
788 => {#1336}
789 => {#1337}
790 => {#1338}
791 => {#1339}
792 => {#1340}
793 => {#1341}
794 => {#1342}
795 => {#1343}
796 => {#1344}
797 => {#1345}
798 => {#1346}
799 => {#1347}
800 => {#1348}
801 => {#1349}
802 => {#1350}
803 => {#1351}
804 => {#1352}
805 => {#1353}
806 => {#1354}
807 => {#1355}
808 => {#1356}
809 => {#1357}
810 => {#1358}
811 => {#1359}
812 => {#1360}
813 => {#1361}
814 => {#1362}
815 => {#1363}
816 => {#1364}
817 => {#1365}
818 => {#1366}
819 => {#1367}
820 => {#1368}
821 => {#1369}
822 => {#1370}
823 => {#1371}
824 => {#1372}
825 => {#1373}
826 => {#1374}
827 => {#1375}
828 => {#1376}
829 => {#1377}
830 => {#1378}
831 => {#1379}
832 => {#1380}
833 => {#1381}
834 => {#1382}
835 => {#1383}
836 => {#1384}
837 => {#1385}
838 => {#1386}
839 => {#1387}
840 => {#1388}
841 => {#1389}
842 => {#1390}
843 => {#1391}
844 => {#1392}
845 => {#1393}
846 => {#1394}
847 => {#1395}
848 => {#1396}
849 => {#1397}
850 => {#1398}
851 => {#1399}
852 => {#1400}
853 => {#1401}
854 => {#1402}
855 => {#1403}
856 => {#1404}
857 => {#1405}
858 => {#1406}
859 => {#1407}
860 => {#1408}
861 => {#1409}
862 => {#1410}
863 => {#1411}
864 => {#1412}
865 => {#1413}
866 => {#1414}
867 => {#1415}
868 => {#1416}
869 => {#1417}
870 => {#1418}
871 => {#1419}
872 => {#1420}
873 => {#1421}
874 => {#1422}
875 => {#1423}
876 => {#1424}
877 => {#1425}
878 => {#1426}
879 => {#1427}
880 => {#1428}
881 => {#1429}
882 => {#1430}
883 => {#1431}
884 => {#1432}
885 => {#1433}
886 => {#1434}
887 => {#1435}
888 => {#1436}
889 => {#1437}
890 => {#1438}
891 => {#1439}
892 => {#1440}
893 => {#1441}
894 => {#1442}
895 => {#1443}
896 => {#1444}
897 => {#1445}
898 => {#1446}
899 => {#1447}
900 => {#1448}
901 => {#1449}
902 => {#1450}
903 => {#1451}
904 => {#1452}
905 => {#1453}
906 => {#1454}
907 => {#1455}
908 => {#1456}
909 => {#1457}
910 => {#1458}
911 => {#1459}
912 => {#1460}
913 => {#1461}
914 => {#1462}
915 => {#1463}
916 => {#1464}
917 => {#1465}
918 => {#1466}
919 => {#1467}
920 => {#1468}
921 => {#1469}
922 => {#1470}
923 => {#1471}
924 => {#1472}
925 => {#1473}
926 => {#1474}
927 => {#1475}
928 => {#1476}
929 => {#1477}
930 => {#1478}
931 => {#1479}
932 => {#1480}
933 => {#1481}
934 => {#1482}
935 => {#1483}
936 => {#1484}
937 => {#1485}
938 => {#1486}
939 => {#1487}
940 => {#1488}
941 => {#1489}
942 => {#1490}
943 => {#1491}
944 => {#1492}
945 => {#1493}
946 => {#1494}
947 => {#1495}
948 => {#1496}
949 => {#1497}
950 => {#1498}
951 => {#1499}
952 => {#1500}
953 => {#1501}
954 => {#1502}
955 => {#1503}
956 => {#1504}
957 => {#1505}
958 => {#1506}
959 => {#1507}
960 => {#1508}
961 => {#1509}
962 => {#1510}
963 => {#1511}
964 => {#1512}
965 => {#1513}
966 => {#1514}
967 => {#1515}
968 => {#1516}
969 => {#1517}
970 => {#1518}
971 => {#1519}
972 => {#1520}
973 => {#1521}
974 => {#1522}
975 => {#1523}
976 => {#1524}
977 => {#1525}
978 => {#1526}
979 => {#1527}
980 => {#1528}
981 => {#1529}
982 => {#1530}
983 => {#1531}
984 => {#1532}
985 => {#1533}
986 => {#1534}
987 => {#1535}
988 => {#1536}
989 => {#1537}
990 => {#1538}
991 => {#1539}
992 => {#1540}
993 => {#1541}
994 => {#1542}
995 => {#1543}
996 => {#1544}
997 => {#1545}
998 => {#1546}
999 => {#1547}
1000 => {#1548}
1001 => {#1549}
1002 => {#1550}
1003 => {#1551}
1004 => {#1552}
1005 => {#1553}
1006 => {#1554}
1007 => {#1555}
1008 => {#1556}
1009 => {#1557}
1010 => {#1558}
1011 => {#1559}
1012 => {#1560}
1013 => {#1561}
1014 => {#1562}
1015 => {#1563}
1016 => {#1564}
1017 => {#1565}
1018 => {#1566}
1019 => {#1567}
1020 => {#1568}
1021 => {#1569}
1022 => {#1570}
1023 => {#1571}
1024 => {#1572}
1025 => {#1573}
1026 => {#1574}
1027 => {#1575}
1028 => {#1576}
1029 => {#1577}
1030 => {#1578}
1031 => {#1579}
1032 => {#1580}
1033 => {#1581}
1034 => {#1582}
1035 => {#1583}
1036 => {#1584}
1037 => {#1585}
1038 => {#1586}
1039 => {#1587}
1040 => {#1588}
1041 => {#1589}
1042 => {#1590}
1043 => {#1591}
1044 => {#1592}
1045 => {#1593}
1046 => {#1594}
1047 => {#1595}
1048 => {#1596}
1049 => {#1597}
1050 => {#1598}
1051 => {#1599}
1052 => {#1600}
1053 => {#1601}
1054 => {#1602}
1055 => {#1603}
1056 => {#1604}
1057 => {#1605}
1058 => {#1606}
1059 => {#1607}
1060 => {#1608}
1061 => {#1609}
1062 => {#1610}
1063 => {#1611}
1064 => {#1612}
1065 => {#1613}
1066 => {#1614}
1067 => {#1615}
1068 => {#1616}
1069 => {#1617}
1070 => {#1618}
1071 => {#1619}
1072 => {#1620}
1073 => {#1621}
1074 => {#1622}
1075 => {#1623}
1076 => {#1624}
1077 => {#1625}
1078 => {#1626}
1079 => {#1627}
1080 => {#1628}
1081 => {#1629}
1082 => {#1630}
1083 => {#1631}
1084 => {#1632}
1085 => {#1633}
1086 => {#1634}
1087 => {#1635}
1088 => {#1636}
1089 => {#1637}
1090 => {#1638}
1091 => {#1639}
1092 => {#1640}
1093 => {#1641}
1094 => {#1642}
1095 => {#1643}
1096 => {#1644}
1097 => {#1645}
1098 => {#1646}
1099 => {#1647}
1100 => {#1648}
1101 => {#1649}
1102 => {#1650}
1103 => {#1651}
1104 => {#1652}
1105 => {#1653}
1106 => {#1654}
1107 => {#1655}
1108 => {#1656}
1109 => {#1657}
1110 => {#1658}
1111 => {#1659}
1112 => {#1660}
1113 => {#1661}
1114 => {#1662}
1115 => {#1663}
1116 => {#1664}
1117 => {#1665}
1118 => {#1666}
1119 => {#1667}
1120 => {#1668}
1121 => {#1669}
1122 => {#1670}
1123 => {#1671}
1124 => {#1672}
1125 => {#1673}
1126 => {#1674}
1127 => {#1675}
1128 => {#1676}
1129 => {#1677}
1130 => {#1678}
1131 => {#1679}
1132 => {#1680}
1133 => {#1681}
1134 => {#1682}
1135 => {#1683}
1136 => {#1684}
1137 => {#1685}
1138 => {#1686}
1139 => {#1687}
1140 => {#1688}
1141 => {#1689}
1142 => {#1690}
1143 => {#1691}
1144 => {#1692}
1145 => {#1693}
1146 => {#1694}
1147 => {#1695}
1148 => {#1696}
1149 => {#1697}
1150 => {#1698}
1151 => {#1699}
1152 => {#1700}
1153 => {#1701}
1154 => {#1702}
1155 => {#1703}
1156 => {#1704}
1157 => {#1705}
1158 => {#1706}
1159 => {#1707}
1160 => {#1708}
1161 => {#1709}
1162 => {#1710}
1163 => {#1711}
1164 => {#1712}
1165 => {#1713}
1166 => {#1714}
1167 => {#1715}
1168 => {#1716}
1169 => {#1717}
1170 => {#1718}
1171 => {#1719}
1172 => {#1720}
1173 => {#1721}
1174 => {#1722}
1175 => {#1723}
1176 => {#1724}
1177 => {#1725}
1178 => {#1726}
1179 => {#1727}
1180 => {#1728}
1181 => {#1729}
1182 => {#1730}
1183 => {#1731}
1184 => {#1732}
1185 => {#1733}
1186 => {#1734}
1187 => {#1735}
1188 => {#1736}
1189 => {#1737}
1190 => {#1738}
1191 => {#1739}
1192 => {#1740}
1193 => {#1741}
1194 => {#1742}
1195 => {#1743}
1196 => {#1744}
1197 => {#1745}
1198 => {#1746}
1199 => {#1747}
1200 => {#1748}
1201 => {#1749}
1202 => {#1750}
1203 => {#1751}
1204 => {#1752}
1205 => {#1753}
1206 => {#1754}
1207 => {#1755}
1208 => {#1756}
1209 => {#1757}
1210 => {#1758}
1211 => {#1759}
1212 => {#1760}
1213 => {#1761}
1214 => {#1762}
1215 => {#1763}
1216 => {#1764}
1217 => {#1765}
1218 => {#1766}
1219 => {#1767}
1220 => {#1768}
1221 => {#1769}
1222 => {#1770}
1223 => {#1771}
1224 => {#1772}
1225 => {#1773}
1226 => {#1774}
1227 => {#1775}
1228 => {#1776}
1229 => {#1777}
1230 => {#1778}
1231 => {#1779}
1232 => {#1780}
1233 => {#1781}
1234 => {#1782}
1235 => {#1783}
1236 => {#1784}
1237 => {#1785}
1238 => {#1786}
1239 => {#1787}
1240 => {#1788}
1241 => {#1789}
1242 => {#1790}
1243 => {#1791}
1244 => {#1792}
1245 => {#1793}
1246 => {#1794}
1247 => {#1795}
1248 => {#1796}
1249 => {#1797}
1250 => {#1798}
1251 => {#1799}
1252 => {#1800}
1253 => {#1801}
1254 => {#1802}
1255 => {#1803}
1256 => {#1804}
1257 => {#1805}
1258 => {#1806}
1259 => {#1807}
1260 => {#1808}
1261 => {#1809}
1262 => {#1810}
1263 => {#1811}
1264 => {#1812}
1265 => {#1813}
1266 => {#1814}
1267 => {#1815}
1268 => {#1816}
1269 => {#1817}
1270 => {#1818}
1271 => {#1819}
1272 => {#1820}
1273 => {#1821}
1274 => {#1822}
1275 => {#1823}
1276 => {#1824}
1277 => {#1825}
1278 => {#1826}
1279 => {#1827}
1280 => {#1828}
1281 => {#1829}
1282 => {#1830}
1283 => {#1831}
1284 => {#1832}
1285 => {#1833}
1286 => {#1834}
1287 => {#1835}
1288 => {#1836}
1289 => {#1837}
1290 => {#1838}
1291 => {#1839}
1292 => {#1840}
1293 => {#1841}
1294 => {#1842}
1295 => {#1843}
1296 => {#1844}
1297 => {#1845}
1298 => {#1846}
1299 => {#1847}
1300 => {#1848}
1301 => {#1849}
1302 => {#1850}
1303 => {#1851}
1304 => {#1852}
1305 => {#1853}
1306 => {#1854}
1307 => {#1855}
1308 => {#1856}
1309 => {#1857}
1310 => {#1858}
1311 => {#1859}
1312 => {#1860}
1313 => {#1861}
1314 => {#1862}
1315 => {#1863}
1316 => {#1864}
1317 => {#1865}
1318 => {#1866}
1319 => {#1867}
1320 => {#1868}
1321 => {#1869}
1322 => {#1870}
1323 => {#1871}
1324 => {#1872}
1325 => {#1873}
1326 => {#1874}
1327 => {#1875}
1328 => {#1876}
1329 => {#1877}
1330 => {#1878}
1331 => {#1879}
1332 => {#1880}
1333 => {#1881}
1334 => {#1882}
1335 => {#1883}
1336 => {#1884}
1337 => {#1885}
1338 => {#1886}
1339 => {#1887}
1340 => {#1888}
1341 => {#1889}
1342 => {#1890}
1343 => {#1891}
1344 => {#1892}
1345 => {#1893}
1346 => {#1894}
1347 => {#1895}
1348 => {#1896}
1349 => {#1897}
1350 => {#1898}
1351 => {#1899}
1352 => {#1900}
1353 => {#1901}
1354 => {#1902}
1355 => {#1903}
1356 => {#1904}
1357 => {#1905}
1358 => {#1906}
1359 => {#1907}
1360 => {#1908}
1361 => {#1909}
1362 => {#1910}
1363 => {#1911}
1364 => {#1912}
1365 => {#1913}
1366 => {#1914}
1367 => {#1915}
1368 => {#1916}
1369 => {#1917}
1370 => {#1918}
1371 => {#1919}
1372 => {#1920}
1373 => {#1921}
1374 => {#1922}
1375 => {#1923}
1376 => {#1924}
1377 => {#1925}
1378 => {#1926}
1379 => {#1927}
1380 => {#1928}
1381 => {#1929}
1382 => {#1930}
1383 => {#1931}
1384 => {#1932}
1385 => {#1933}
1386 => {#1934}
1387 => {#1935}
1388 => {#1936}
1389 => {#1937}
1390 => {#1938}
1391 => {#1939}
1392 => {#1940}
1393 => {#1941}
1394 => {#1942}
1395 => {#1943}
1396 => {#1944}
1397 => {#1945}
1398 => {#1946}
1399 => {#1947}
1400 => {#1948}
1401 => {#1949}
1402 => {#1950}
1403 => {#1951}
1404 => {#1952}
1405 => {#1953}
1406 => {#1954}
1407 => {#1955}
1408 => {#1956}
1409 => {#1957}
1410 => {#1958}
1411 => {#1959}
1412 => {#1960}
1413 => {#1961}
1414 => {#1962}
1415 => {#1963}
1416 => {#1964}
1417 => {#1965}
1418 => {#1966}
1419 => {#1967}
1420 => {#1968}
1421 => {#1969}
1422 => {#1970}
1423 => {#1971}
1424 => {#1972}
1425 => {#1973}
1426 => {#1974}
1427 => {#1975}
1428 => {#1976}
1429 => {#1977}
1430 => {#1978}
1431 => {#1979}
1432 => {#1980}
1433 => {#1981}
1434 => {#1982}
1435 => {#1983}
1436 => {#1984}
1437 => {#1985}
1438 => {#1986}
1439 => {#1987}
1440 => {#1988}
1441 => {#1989}
1442 => {#1990}
1443 => {#1991}
1444 => {#1992}
1445 => {#1993}
1446 => {#1994}
1447 => {#1995}
1448 => {#1996}
1449 => {#1997}
1450 => {#1998}
1451 => {#1999}
1452 => {#2000}
1453 => {#2001}
1454 => {#2002}
1455 => {#2003}
1456 => {#2004}
1457 => {#2005}
1458 => {#2006}
1459 => {#2007}
1460 => {#2008}
1461 => {#2009}
1462 => {#2010}
1463 => {#2011}
1464 => {#2012}
1465 => {#2013}
1466 => {#2014}
1467 => {#2015}
1468 => {#2016}
1469 => {#2017}
1470 => {#2018}
1471 => {#2019}
1472 => {#2020}
1473 => {#2021}
1474 => {#2022}
1475 => {#2023}
1476 => {#2024}
1477 => {#2025}
1478 => {#2026}
1479 => {#2027}
1480 => {#2028}
1481 => {#2029}
1482 => {#2030}
1483 => {#2031}
1484 => {#2032}
1485 => {#2033}
1486 => {#2034}
1487 => {#2035}
1488 => {#2036}
1489 => {#2037}
1490 => {#2038}
1491 => {#2039}
1492 => {#2040}
1493 => {#2041}
1494 => {#2042}
1495 => {#2043}
1496 => {#2044}
1497 => {#2045}
1498 => {#2046}
1499 => {#2047}
1500 => {#2048}
1501 => {#2049}
1502 => {#2050}
1503 => {#2051}
1504 => {#2052}
1505 => {#2053}
1506 => {#2054}
1507 => {#2055}
1508 => {#2056}
1509 => {#2057}
1510 => {#2058}
1511 => {#2059}
1512 => {#2060}
1513 => {#2061}
1514 => {#2062}
1515 => {#2063}
1516 => {#2064}
1517 => {#2065}
1518 => {#2066}
1519 => {#2067}
1520 => {#2068}
1521 => {#2069}
1522 => {#2070}
1523 => {#2071}
1524 => {#2072}
1525 => {#2073}
1526 => {#2074}
1527 => {#2075}
1528 => {#2076}
1529 => {#2077}
1530 => {#2078}
1531 => {#2079}
1532 => {#2080}
1533 => {#2081}
1534 => {#2082}
1535 => {#2083}
1536 => {#2084}
1537 => {#2085}
1538 => {#2086}
1539 => {#2087}
1540 => {#2088}
1541 => {#2089}
1542 => {#2090}
1543 => {#2091}
1544 => {#2092}
1545 => {#2093}
1546 => {#2094}
1547 => {#2095}
1548 => {#2096}
1549 => {#2097}
1550 => {#2098}
1551 => {#2099}
1552 => {#2100}
1553 => {#2101}
1554 => {#2102}
1555 => {#2103}
1556 => {#2104}
1557 => {#2105}
1558 => {#2106}
1559 => {#2107}
1560 => {#2108}
1561 => {#2109}
1562 => {#2110}
1563 => {#2111}
1564 => {#2112}
1565 => {#2113}
1566 => {#2114}
1567 => {#2115}
1568 => {#2116}
1569 => {#2117}
1570 => {#2118}
1571 => {#2119}
1572 => {#2120}
1573 => {#2121}
1574 => {#2122}
1575 => {#2123}
1576 => {#2124}
1577 => {#2125}
1578 => {#2126}
1579 => {#2127}
1580 => {#2128}
1581 => {#2129}
1582 => {#2130}
1583 => {#2131}
1584 => {#2132}
1585 => {#2133}
1586 => {#2134}
1587 => {#2135}
1588 => {#2136}
1589 => {#2137}
1590 => {#2138}
1591 => {#2139}
1592 => {#2140}
1593 => {#2141}
1594 => {#2142}
1595 => {#2143}
1596 => {#2144}
1597 => {#2145}
1598 => {#2146}
1599 => {#2147}
1600 => {#2148}
1601 => {#2149}
1602 => {#2150}
1603 => {#2151}
1604 => {#2152}
1605 => {#2153}
1606 => {#2154}
1607 => {#2155}
1608 => {#2156}
1609 => {#2157}
1610 => {#2158}
1611 => {#2159}
1612 => {#2160}
1613 => {#2161}
1614 => {#2162}
1615 => {#2163}
1616 => {#2164}
1617 => {#2165}
1618 => {#2166}
1619 => {#2167}
1620 => {#2168}
1621 => {#2169}
1622 => {#2170}
1623 => {#2171}
1624 => {#2172}
1625 => {#2173}
1626 => {#2174}
1627 => {#2175}
1628 => {#2176}
1629 => {#2177}
1630 => {#2178}
1631 => {#2179}
1632 => {#2180}
1633 => {#2181}
1634 => {#2182}
1635 => {#2183}
1636 => {#2184}
1637 => {#2185}
1638 => {#2186}
1639 => {#2187}
1640 => {#2188}
1641 => {#2189}
1642 => {#2190}
1643 => {#2191}
1644 => {#2192}
1645 => {#2193}
1646 => {#2194}
1647 => {#2195}
1648 => {#2196}
1649 => {#2197}
1650 => {#2198}
1651 => {#2199}
1652 => {#2200}
1653 => {#2201}
1654 => {#2202}
1655 => {#2203}
1656 => {#2204}
1657 => {#2205}
1658 => {#2206}
1659 => {#2207}
1660 => {#2208}
1661 => {#2209}
1662 => {#2210}
1663 => {#2211}
1664 => {#2212}
1665 => {#2213}
1666 => {#2214}
1667 => {#2215}
1668 => {#2216}
1669 => {#2217}
1670 => {#2218}
1671 => {#2219}
1672 => {#2220}
1673 => {#2221}
1674 => {#2222}
1675 => {#2223}
1676 => {#2224}
1677 => {#2225}
1678 => {#2226}
1679 => {#2227}
1680 => {#2228}
]
"select" => array:2 [
0 => "2022"
1 => "2021"
]
"value" => array:10 [
"id" => "1627"
"title" => "事由:自然地景及自然紀念物審查委員 110年4月1日至112年12月31日地點:台南"
"year" => "2021"
"start_date" => "2021-04-01"
"end_date" => null
"name" => "陳玉峯"
"content" => """
<div> </div>\r\n
\r\n
<div>\r\n
<p><span style="font-size:11pt"><span style="font-family:Calibri,sans-serif"><span style="font-size:12.0pt"><span style="font-family:"新細明體",serif">事由:</span></span>自然地景及自然紀念物審查委員 110年4月1日至112年12月31日</span></span></p>\r\n
\r\n
<p><span style="font-size:11pt"><span style="font-family:Calibri,sans-serif">地點:台南</span></span></p>\r\n
\r\n
<table align="center">\r\n
\t<tbody>\r\n
\t\t<tr>\r\n
\t\t\t<td style="vertical-align:top">\r\n
\t\t\t<p> </p>\r\n
\r\n
\t\t\t<p> </p>\r\n
\t\t\t</td>\r\n
\t\t</tr>\r\n
\t</tbody>\r\n
</table>\r\n
</div>
"""
"created_at" => "2022-08-15 11:54:55"
"updated_at" => "2022-08-15 11:56:08"
"note" => null
]
"index" => 43
"str_start_date" => array:3 [
0 => "2021"
1 => "04"
2 => "01"
]
"str_end_date" => array:1 [
0 => ""
]
]
/home
/ecologyo
/public_html
/ecology
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Controller.php
/**
* Get the middleware assigned to the controller.
*
* @return array
*/
public function getMiddleware()
{
return $this->middleware;
}
/**
* Execute an action on the controller.
*
* @param string $method
* @param array $parameters
* @return \Symfony\Component\HttpFoundation\Response
*/
public function callAction($method, $parameters)
{
return call_user_func_array([$this, $method], $parameters);
}
/**
* Handle calls to missing methods on the controller.
*
* @param string $method
* @param array $parameters
* @return mixed
*
* @throws \BadMethodCallException
*/
public function __call($method, $parameters)
{
throw new BadMethodCallException(sprintf(
'Method %s::%s does not exist.', static::class, $method
));
}
}
/home
/ecologyo
/public_html
/ecology
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Controller.php
/**
* Get the middleware assigned to the controller.
*
* @return array
*/
public function getMiddleware()
{
return $this->middleware;
}
/**
* Execute an action on the controller.
*
* @param string $method
* @param array $parameters
* @return \Symfony\Component\HttpFoundation\Response
*/
public function callAction($method, $parameters)
{
return call_user_func_array([$this, $method], $parameters);
}
/**
* Handle calls to missing methods on the controller.
*
* @param string $method
* @param array $parameters
* @return mixed
*
* @throws \BadMethodCallException
*/
public function __call($method, $parameters)
{
throw new BadMethodCallException(sprintf(
'Method %s::%s does not exist.', static::class, $method
));
}
}
Arguments
array:2 [
0 => RecordController {#467}
1 => "fontIndex"
]
[]
/home
/ecologyo
/public_html
/ecology
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/ControllerDispatcher.php
{
$this->container = $container;
}
/**
* Dispatch a request to a given controller and method.
*
* @param \Illuminate\Routing\Route $route
* @param mixed $controller
* @param string $method
* @return mixed
*/
public function dispatch(Route $route, $controller, $method)
{
$parameters = $this->resolveClassMethodDependencies(
$route->parametersWithoutNulls(), $controller, $method
);
if (method_exists($controller, 'callAction')) {
return $controller->callAction($method, $parameters);
}
return $controller->{$method}(...array_values($parameters));
}
/**
* Get the middleware for the controller instance.
*
* @param \Illuminate\Routing\Controller $controller
* @param string $method
* @return array
*/
public function getMiddleware($controller, $method)
{
if (! method_exists($controller, 'getMiddleware')) {
return [];
}
return collect($controller->getMiddleware())->reject(function ($data) use ($method) {
return static::methodExcludedByOptions($method, $data['options']);
Arguments
/home
/ecologyo
/public_html
/ecology
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Route.php
protected function runCallable()
{
$callable = $this->action['uses'];
return $callable(...array_values($this->resolveMethodDependencies(
$this->parametersWithoutNulls(), new ReflectionFunction($this->action['uses'])
)));
}
/**
* Run the route action and return the response.
*
* @return mixed
*
* @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
*/
protected function runController()
{
return $this->controllerDispatcher()->dispatch(
$this, $this->getController(), $this->getControllerMethod()
);
}
/**
* Get the controller instance for the route.
*
* @return mixed
*/
public function getController()
{
if (! $this->controller) {
$class = $this->parseControllerCallback()[0];
$this->controller = $this->container->make(ltrim($class, '\\'));
}
return $this->controller;
}
/**
Arguments
Route {#248}
RecordController {#467}
"fontIndex"
/home
/ecologyo
/public_html
/ecology
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Route.php
*
* @throws \UnexpectedValueException
*/
protected function parseAction($action)
{
return RouteAction::parse($this->uri, $action);
}
/**
* Run the route action and return the response.
*
* @return mixed
*/
public function run()
{
$this->container = $this->container ?: new Container;
try {
if ($this->isControllerAction()) {
return $this->runController();
}
return $this->runCallable();
} catch (HttpResponseException $e) {
return $e->getResponse();
}
}
/**
* Checks whether the route's action is a controller.
*
* @return bool
*/
protected function isControllerAction()
{
return is_string($this->action['uses']);
}
/**
* Run the route action and return the response.
/home
/ecologyo
/public_html
/ecology
/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);
}
/**
/home
/ecologyo
/public_html
/ecology
/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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/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->getContainer()->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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure($passable) {#478 …6}
/home
/ecologyo
/public_html
/ecology
/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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/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->getContainer()->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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure($passable) {#511 …6}
/home
/ecologyo
/public_html
/ecology
/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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/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->getContainer()->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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure($passable) {#512 …6}
/home
/ecologyo
/public_html
/ecology
/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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/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)
{
if (! $this->sessionConfigured()) {
return $next($request);
}
// 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.
$request->setLaravelSession(
$session = $this->startSession($request)
);
$this->collectGarbage($session);
$response = $next($request);
$this->storeCurrentUrl($request, $session);
$this->addCookieToResponse($response, $session);
// 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.
$this->saveSession($request);
return $response;
}
/**
* Start the session for the given request.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Contracts\Session\Session
*/
protected function startSession(Request $request)
Arguments
Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/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->getContainer()->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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure($passable) {#513 …6}
/home
/ecologyo
/public_html
/ecology
/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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/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->getContainer()->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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure($passable) {#514 …6}
/home
/ecologyo
/public_html
/ecology
/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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/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->getContainer()->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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure($passable) {#515 …6}
/home
/ecologyo
/public_html
/ecology
/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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/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);
}
/**
* Run the pipeline and return the result.
*
* @return mixed
*/
public function thenReturn()
{
return $this->then(function ($passable) {
return $passable;
});
}
/**
* Get the final piece of the Closure onion.
*
* @param \Closure $destination
* @return \Closure
*/
Arguments
Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/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) {#477 …6}
/home
/ecologyo
/public_html
/ecology
/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 \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
*/
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 {#248}
Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/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 \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
*/
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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Route {#248}
/home
/ecologyo
/public_html
/ecology
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Router.php
* @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
*/
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 \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
*/
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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/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');
// Trust any IP address that calls us
// `**` for backwards compatibility, but is deprecated
if ($trustedIps === '*' || $trustedIps === '**') {
return $this->setTrustedProxyIpAddressesToTheCallingIp($request);
}
// Support IPs addresses separated by comma
$trustedIps = is_string($trustedIps) ? array_map('trim', explode(',', $trustedIps)) : $trustedIps;
Arguments
Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/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->getContainer()->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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure($passable) {#135 …6}
/home
/ecologyo
/public_html
/ecology
/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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/vendor
/laravel
/framework
/src
/Illuminate
/Foundation
/Http
/Middleware
/TransformsRequest.php
namespace Illuminate\Foundation\Http\Middleware;
use Closure;
use Symfony\Component\HttpFoundation\ParameterBag;
class TransformsRequest
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/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->getContainer()->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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure($passable) {#326 …6}
/home
/ecologyo
/public_html
/ecology
/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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/vendor
/laravel
/framework
/src
/Illuminate
/Foundation
/Http
/Middleware
/TransformsRequest.php
namespace Illuminate\Foundation\Http\Middleware;
use Closure;
use Symfony\Component\HttpFoundation\ParameterBag;
class TransformsRequest
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/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->getContainer()->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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure($passable) {#449 …6}
/home
/ecologyo
/public_html
/ecology
/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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/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->getContainer()->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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure($passable) {#450 …6}
/home
/ecologyo
/public_html
/ecology
/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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/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->getContainer()->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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure($passable) {#451 …6}
/home
/ecologyo
/public_html
/ecology
/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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/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);
}
/**
* Run the pipeline and return the result.
*
* @return mixed
*/
public function thenReturn()
{
return $this->then(function ($passable) {
return $passable;
});
}
/**
* Get the final piece of the Closure onion.
*
* @param \Closure $destination
* @return \Closure
*/
Arguments
Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/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
/ecologyo
/public_html
/ecology
/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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home
/ecologyo
/public_html
/ecology
/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 {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#468 …6}
#routeResolver: Closure() {#470 …5}
+attributes: ParameterBag {#45}
+request: ParameterBag {#51}
+query: ParameterBag {#51}
+server: ServerBag {#47}
+files: FileBag {#48}
+cookies: ParameterBag {#46}
+headers: HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/about/record"
#requestUri: "/about/record"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#527}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}