/var
/www
/yh
/app
/Http
/Controllers
/ServiceController.php
$banner_info = $this->ProcessBannerInfo('services');
$services_items = ServicesItem::all()->toArray();
if(!count($services_items))
{
return view('frontend.yh_banner', [
'active_page' => 4,
'banner_info' => $banner_info,
'context' => '',
]);
}
$bubbles = $this->ProcessBubbles('services', $services_items);
$thumbnails = ServicesItem::where('parent_item_id', null)->pluck('image_path_thumbnail');
$active_bubble_index = array_search($category, array_keys($bubbles));
if($active_bubble_index === false)
foreach($bubbles as $key =>$bubble)
if(isset($bubble['children']) and array_search($category, array_keys($bubble['children'])) !== false)
$active_bubble_index = array_search($key, array_keys($bubbles));
if($category)
{
$services_item = $this->ProcessLocale(ServicesItem::where('title_hk', $category)->orWhere('title_en', $category)->get()->toArray())[0];
$context = view('frontend.services_index', ['services_item' => $services_item]);
}
else
{
$context = view('frontend.services_overview', ['bubbles' => $bubbles, 'thumbnails' => $thumbnails]);
$bubbles = null;
}
return view('frontend.yh_banner', [
'active_page' => 4,
'banner_info' => $banner_info,
'bubbles' => $bubbles,
'active_bubble_index' => $active_bubble_index,
'context' => $context,
]);
}
}
Arguments
/var
/www
/yh
/app
/Http
/Controllers
/ServiceController.php
$banner_info = $this->ProcessBannerInfo('services');
$services_items = ServicesItem::all()->toArray();
if(!count($services_items))
{
return view('frontend.yh_banner', [
'active_page' => 4,
'banner_info' => $banner_info,
'context' => '',
]);
}
$bubbles = $this->ProcessBubbles('services', $services_items);
$thumbnails = ServicesItem::where('parent_item_id', null)->pluck('image_path_thumbnail');
$active_bubble_index = array_search($category, array_keys($bubbles));
if($active_bubble_index === false)
foreach($bubbles as $key =>$bubble)
if(isset($bubble['children']) and array_search($category, array_keys($bubble['children'])) !== false)
$active_bubble_index = array_search($key, array_keys($bubbles));
if($category)
{
$services_item = $this->ProcessLocale(ServicesItem::where('title_hk', $category)->orWhere('title_en', $category)->get()->toArray())[0];
$context = view('frontend.services_index', ['services_item' => $services_item]);
}
else
{
$context = view('frontend.services_overview', ['bubbles' => $bubbles, 'thumbnails' => $thumbnails]);
$bubbles = null;
}
return view('frontend.yh_banner', [
'active_page' => 4,
'banner_info' => $banner_info,
'bubbles' => $bubbles,
'active_bubble_index' => $active_bubble_index,
'context' => $context,
]);
}
}
Arguments
8
"Undefined offset: 0"
"/var/www/yh/app/Http/Controllers/ServiceController.php"
31
array:8 [
"category" => "Physiotherapy%20Treatment"
"banner_info" => array:3 [
"title" => "Services"
"subtitle" => null
"background" => "Os2u6LOj4BvLS07FQxKnliErx35QGWdYlyxW5Hyo.png"
]
"services_items" => array:13 [
0 => array:13 [
"id" => 1
"parent_item_id" => null
"title_hk" => "物理治療"
"title_en" => "Physiotherapy"
"image_path_thumbnail" => "0WfGrfFwKIz3RiEUPuqdq0fWr3yppSzeAMNpAkdc.png"
"image_path_banner" => "lqLhJ6C0COLKrMX4DmdCHcICYMjZMQVdUIsv8qWh.png"
"subtitle_hk" => "物理治療"
"subtitle_en" => "Physiotherapy"
"long_description_hk" => "<p>運用中西結合治療法,為急性創傷或慢性勞損及退化等患者提供有效的治療。<br /><br /><b>先進治療設備:</b> 衝擊波治療、射頻深層熱療、振動治療儀、頸腰椎牽引治療、干擾波治療、超聲波治療、電療、磁療、In Body身體成份分析儀<br /><b>專業治療手法:</b> 手法治療、針灸、骨關節舒整手法、運動治療、動態分析及包紮<br /><br /><span style="color:#800080;"><b>服務範圍:</b></span><br /><b>骨科痛症:</b>坐骨神經痛、椎間盤突出、肩周炎、彈弓手及媽媽手等<br /><b>職業勞損:</b>頸肩背痛、五十肩、網球手、腕管綜合症、足底筋膜炎及肌腱炎等<br /><b>急性創傷:</b>足踝扭傷、十字韌帶撕裂、置換膝關節、髖關節等手術後復康<br /><b>關節退化:</b>頸腰椎退化、退化性膝關節炎等<br /><b>兒科症狀:</b>脊柱側彎及扁平足等<br /><br /><span style="color:#800080;"><b>收費:</b></span><br /><b>物理治療評估:</b>$830 /節 (女青會員:$750/節^)<br /><b>物理治療(1個部位):</b>$830 /節* (女青會員:$750/節^)<br /><b>物理治療(2個部位):</b>$1,010 /節* (女青會員:$910/節^)<br /><br /><span style="color:#ff0000;"><b>**2024年4月1日起將調整服務收費**</b><br /><b>物理治療評估:</b>$950 /節 (女青會員:$850/節^)<br /><b>物理治療(1個部位):</b>$950 /節* (女青會員:$850/節^)<br /><b>物理治療(附加額外部位):</b> $170 /節* (女青會員:$150/節^) </span><br /><br />*症狀根據治療項目、部位、數量及情況而釐定<br />^優惠受有關條款及細則約束詳情請向職員查詢。<br /><br />備註:<br />- 物理治療服務必須持有註冊西醫簽發之物理治療轉介文件<br />- 本中心之物理治療收據可作保險索賞申請<br />- 65歲以上長者可使用「醫療券」支付物理治療診症服務費用。<br /><br /><a href="https://wa.me/message/NKK4TUFKFK6LE1" target="_blank"><img alt="" src="/photos/shares/20221011183411_Za1bLMRN.png" style="width: 280px; height: 120px;" /></a><br /><br /></p>"
"long_description_en" => "<p>運用中西結合治療法,為急性創傷或慢性勞損及退化等患者提供有效的治療。<br /><br /><b>先進治療設備:</b> 衝擊波治療、射頻深層熱療、振動治療儀、頸腰椎牽引治療、干擾波治療、超聲波治療、電療、磁療、In Body身體成份分析儀<br /><b>專業治療手法:</b> 手法治療、針灸、骨關節舒整手法、運動治療、動態分析及包紮<br /><br /><span style="color:#800080;"><b>服務範圍:</b></span><br /><b>骨科痛症:</b>坐骨神經痛、椎間盤突出、肩周炎、彈弓手及媽媽手等<br /><b>職業勞損:</b>頸肩背痛、五十肩、網球手、腕管綜合症、足底筋膜炎及肌腱炎等<br /><b>急性創傷:</b>足踝扭傷、十字韌帶撕裂、置換膝關節、髖關節等手術後復康<br /><b>關節退化:</b>頸腰椎退化、退化性膝關節炎等<br /><b>兒科症狀:</b>脊柱側彎及扁平足等<br /><br /><span style="color:#800080;"><b>收費:</b></span><br /><b>物理治療評估:</b>$830 /節 (女青會員:$750/節^)<br /><b>物理治療(1個部位):</b>$830 /節* (女青會員:$750/節^)<br /><b>物理治療(2個部位):</b>$1,010 /節* (女青會員:$910/節^)<br /><br /><span style="color:#ff0000;"><b>**2024年4月1日起將調整服務收費**</b><br /><b>物理治療評估:</b>$950 /節 (女青會員:$850/節^)<br /><b>物理治療(1個部位):</b>$950 /節* (女青會員:$850/節^)<br /><b>物理治療(附加額外部位):</b> $170 /節* (女青會員:$150/節^) </span><br /><br />*症狀根據治療項目、部位、數量及情況而釐定<br />^優惠受有關條款及細則約束詳情請向職員查詢。<br /><br />備註:<br />- 物理治療服務必須持有註冊西醫簽發之物理治療轉介文件<br />- 本中心之物理治療收據可作保險索賞申請<br />- 65歲以上長者可使用「醫療券」支付物理治療診症服務費用。<br /><br /><a href="https://wa.me/message/NKK4TUFKFK6LE1" target="_blank"><img alt="" src="/photos/shares/20221011183411_Za1bLMRN.png" style="width: 280px; height: 120px;" /></a><br /><br /></p>"
"duration_and_charge_hk" => null
"duration_and_charge_en" => null
"deletable" => 0
]
1 => array:13 [
"id" => 2
"parent_item_id" => null
"title_hk" => "運動復康"
"title_en" => "Exercise Therapy"
"image_path_thumbnail" => "lg1O89x38d6TjDe1haJf3zUok5LKNFIihiA9lr0w.png"
"image_path_banner" => "JtHLGCRppWCls8X6Jzd43LvtdaWhE1CjKBuiizMv.png"
"subtitle_hk" => "運動復康"
"subtitle_en" => "Exercise Therapy"
"long_description_hk" => "<p>以運動方法改善身體結構,回復肌肉骨骼平衡,改善或預防痛症。服務主要包括: 緩痛復康運動、矯正坐姿站姿、肌肉按摩、指導調整運動發力姿勢、姿勢矯正運動、主動及被動伸展、肌力及體能訓練等,以協助恢復至日常生活與運動表現的最佳水平,根治痛症,及預防因老年時因肌少症而產生健康及痛楚問題。<br /><br /><b>專業治療手法:</b>筋膜放鬆、拉筋手法、運動按摩、冷熱療法等<br /><b>運動訓練:</b>專項運動訓練、動態分析、重力訓練等<br /><br /><span style="color:#800080;"><b>服務範圍:</b></span><br /><b>創傷治療:</b>韌帶撕裂、關節受傷及軟組織損傷、足踝扭傷等<br /><b傷患預防:</b>動態分析、針對性運動分析、姿勢改善等<br /><br /><span style="color:#800080;"><b>收費:</b></span><br /><b>基礎運動復康訓練 (1對1):</b>$400 /節<br /><b>基礎運動復康訓練套票:</b>$3,000 /8節<br /><b>運動復康評估:</b>$200/節<br /><br /><b>【指定時段優惠】</b><br /><b>即日起至2024年6月30日,選購「基礎運動復康訓練 (1對1)」,並於指定時段進行,可享$1,000/4節優惠*(原價$400/節)。</b><br /><br />備註﹕指定時段為星期二至五,9:00am-6:00pm (須預約),購買後須於2個月內使用。<br />*優惠不可與其他優惠同時使用,並受有關條款及細則約束詳情請向職員查詢。<br /><br /><a href=" https://wa.me/message/NKK4TUFKFK6LE1" target="_blank"><img alt="" src="/photos/shares/20221011183411_Za1bLMRN.png" style="width: 280px; height: 120px;" /></a><br /><br /></p>"
"long_description_en" => "<p>以運動方法改善身體結構,回復肌肉骨骼平衡,改善或預防痛症。服務主要包括: 緩痛復康運動、矯正坐姿站姿、肌肉按摩、指導調整運動發力姿勢、姿勢矯正運動、主動及被動伸展、肌力及體能訓練等,以協助恢復至日常生活與運動表現的最佳水平,根治痛症,及預防因老年時因肌少症而產生健康及痛楚問題。<br /><br /><b>專業治療手法:</b>筋膜放鬆、拉筋手法、運動按摩、冷熱療法等<br /><b>運動訓練:</b>專項運動訓練、動態分析、重力訓練等<br /><br /><span style="color:#800080;"><b>服務範圍:</b></span><br /><b>創傷治療:</b>韌帶撕裂、關節受傷及軟組織損傷、足踝扭傷等<br /><b傷患預防:</b>動態分析、針對性運動分析、姿勢改善等<br /><br /><span style="color:#800080;"><b>收費:</b></span><br /><b>基礎運動復康訓練 (1對1):</b>$400 /節<br /><b>基礎運動復康訓練套票:</b>$3,000 /8節<br /><b>運動復康評估:</b>$200/節<br /><br /><b>【指定時段優惠】</b><br /><b>即日起至2024年6月30日,選購「基礎運動復康訓練 (1對1)」,並於指定時段進行,可享$1,000/4節優惠*(原價$400/節)。</b><br /><br />備註﹕指定時段為星期二至五,9:00am-6:00pm (須預約),購買後須於2個月內使用。<br />*優惠不可與其他優惠同時使用,並受有關條款及細則約束詳情請向職員查詢。<br /><br /><a href=" https://wa.me/message/NKK4TUFKFK6LE1" target="_blank"><img alt="" src="/photos/shares/20221011183411_Za1bLMRN.png" style="width: 280px; height: 120px;" /></a><br /><br /></p>"
"duration_and_charge_hk" => null
"duration_and_charge_en" => null
"deletable" => 0
]
2 => array:13 [
"id" => 3
"parent_item_id" => null
"title_hk" => "健體運動"
"title_en" => "Fitness Training"
"image_path_thumbnail" => "dwi0100qVSKZA8aFhCeyf2a7MsZKOYba5PDIZiKo.png"
"image_path_banner" => "AaRXWCUizHkywWf9JaxCoHGTENXjD5wysgszegpl.png"
"subtitle_hk" => "健體運動"
"subtitle_en" => "Fitness Training"
"long_description_hk" => "Source code\t<p><br /><span style="color:#800080;"><b>個別健體訓練:</b></span><br />針對個人化的需要或運動訓練目標(如消脂減重、增強肌肉、防跌鍛鍊、改善體質、舒緩痛症等),提供全面評估及度身訂造的運動及健體指導訓練,改善體能,實現健體目標。<br /><br /><b>個別健體訓練收費:</b><br /><b>個別健體訓練(1對1):</b>$400 /節<br /><b>個別健體訓練(1對2):</b>$600 /節<br /><b>個別健體訓練 (套票):</b>$3,000 /8節<br /><b>運動健體評估:</b>$200 /1節<br /><br /><b>【指定時段優惠】</b><br /><b>即日起至2024年6月30日,選購「個別健體訓練(1對1)」,並於指定時段進行,可享$1,000/4節優惠*(原價$400/節)。</b><br /><br />備註﹕指定時段為星期二至五,9:00am-6:00pm (須預約),購買後須於2個月內使用。<br />*優惠不可與其他優惠同時使用,並受有關條款及細則約束詳情請向職員查詢。<br /><br /><span style="color:#800080;"><b>運動班:</b></span><br />以小組形式,提供多元化的健體及功能性訓練,針對身體不同部位作出預防性訓練,防止肌肉繃緊、預防關節痛等,並改善肌力運用、提升關節穩定性及改善體能,減少痛症等。<br /><br /><a href="https://yhw.ywca.org.hk/zh-hk/services/Stick%20Mobility%E5%8B%95%E6%85%8B%E8%A8%93%E7%B7%B4%E7%8F%AD">· Stick Mobility 動態訓練班</a><br /><br /><a href="https://yhw.ywca.org.hk/zh-hk/services/HICT%20%E6%B6%88%E8%84%82%E5%BE%AA%E7%92%B0%E9%81%8B%E5%8B%95%E7%8F%AD">· HICT消脂循環運動班</a><br /><br /><a href="https://yhw.ywca.org.hk/zh-hk/services/%E5%BC%B7%E9%AA%A8%E8%AD%B7%E9%AA%A8%E8%B2%A0%E9%87%8D%E9%81%8B%E5%8B%95%E7%8F%AD">· 強骨護骨負重運動班</a><br /><br /><a href=" https://yhw.ywca.org.hk/zh-hk/services/%E8%82%8C%E7%AD%8B%E8%86%9C%E6%94%BE%E9%AC%86%E5%8F%8A%E4%BC%B8%E5%B1%95%E3%80%8C%E8%87%AA%E7%99%82%E3%80%8D%E9%81%8B%E5%8B%95%E7%8F%AD">· 肌筋膜放鬆及伸展「自療」運動班</a><br /><br /><a href=" https://yhw.ywca.org.hk/zh-hk/services/Dynamic%20Balance%20%E5%8B%95%E6%85%8B%E5%B9%B3%E8%A1%A1%E9%81%8B%E5%8B%95%E7%8F%AD">· Dynamic Balance 動態平衡運動班</a><br /><br /></p>"
"long_description_en" => "Source code\t<p><br /><span style="color:#800080;"><b>個別健體訓練:</b></span><br />針對個人化的需要或運動訓練目標(如消脂減重、增強肌肉、防跌鍛鍊、改善體質、舒緩痛症等),提供全面評估及度身訂造的運動及健體指導訓練,改善體能,實現健體目標。<br /><br /><b>個別健體訓練收費:</b><br /><b>個別健體訓練(1對1):</b>$400 /節<br /><b>個別健體訓練(1對2):</b>$600 /節<br /><b>個別健體訓練 (套票):</b>$3,000 /8節<br /><b>運動健體評估:</b>$200 /1節<br /><br /><b>【指定時段優惠】</b><br /><b>即日起至2024年6月30日,選購「個別健體訓練(1對1)」,並於指定時段進行,可享$1,000/4節優惠*(原價$400/節)。</b><br /><br />備註﹕指定時段為星期二至五,9:00am-6:00pm (須預約),購買後須於2個月內使用。<br />*優惠不可與其他優惠同時使用,並受有關條款及細則約束詳情請向職員查詢。<br /><br /><span style="color:#800080;"><b>運動班:</b></span><br />以小組形式,提供多元化的健體及功能性訓練,針對身體不同部位作出預防性訓練,防止肌肉繃緊、預防關節痛等,並改善肌力運用、提升關節穩定性及改善體能,減少痛症等。<br /><br /><a href="https://yhw.ywca.org.hk/zh-hk/services/Stick%20Mobility%E5%8B%95%E6%85%8B%E8%A8%93%E7%B7%B4%E7%8F%AD">· Stick Mobility 動態訓練班</a><br /><br /><a href="https://yhw.ywca.org.hk/zh-hk/services/HICT%20%E6%B6%88%E8%84%82%E5%BE%AA%E7%92%B0%E9%81%8B%E5%8B%95%E7%8F%AD">· HICT消脂循環運動班</a><br /><br /><a href="https://yhw.ywca.org.hk/zh-hk/services/%E5%BC%B7%E9%AA%A8%E8%AD%B7%E9%AA%A8%E8%B2%A0%E9%87%8D%E9%81%8B%E5%8B%95%E7%8F%AD">· 強骨護骨負重運動班</a><br /><br /><a href=" https://yhw.ywca.org.hk/zh-hk/services/%E8%82%8C%E7%AD%8B%E8%86%9C%E6%94%BE%E9%AC%86%E5%8F%8A%E4%BC%B8%E5%B1%95%E3%80%8C%E8%87%AA%E7%99%82%E3%80%8D%E9%81%8B%E5%8B%95%E7%8F%AD">· 肌筋膜放鬆及伸展「自療」運動班</a><br /><br /><a href=" https://yhw.ywca.org.hk/zh-hk/services/Dynamic%20Balance%20%E5%8B%95%E6%85%8B%E5%B9%B3%E8%A1%A1%E9%81%8B%E5%8B%95%E7%8F%AD">· Dynamic Balance 動態平衡運動班</a><br /><br /></p>"
"duration_and_charge_hk" => null
"duration_and_charge_en" => null
"deletable" => 0
]
3 => array:13 [
"id" => 4
"parent_item_id" => null
"title_hk" => "適健服務"
"title_en" => "Health and Wellness"
"image_path_thumbnail" => "iiKi0POoQugYeeFtujYtoea0rN9KPHmuo2xLSH4h.png"
"image_path_banner" => "ZOjvY7J6azDA1e2Nr6BqplSErM6Q6PMtGOnn6RyS.png"
"subtitle_hk" => "適健服務"
"subtitle_en" => "Health and Wellness"
"long_description_hk" => "<p><span style="color:#800080;"><b>個人服務</b></span><br /><br />項目﹕<br /><a href=" https://yhw.ywca.org.hk/zh-hk/services/%E5%85%92%E7%AB%A5%E8%84%8A%E6%9F%B1%E6%AA%A2%E6%9F%A5">· 兒童脊柱檢查</a><br /><a href=" https://yhw.ywca.org.hk/zh-hk/services/In%20Body%E8%BA%AB%E9%AB%94%E6%88%90%E4%BB%BD%E9%87%8F%E5%BA%A6">· In Body身體成份量度</a><br /><br /><span style="color:#800080;"><b>團體服務</b></span><br />為企業、機構及學校等提供度身而設的專題講座、工作坊及培訓等,推廣「全人健康」理念,提升大眾身心健康及生活質素。<br /><br />項目﹕<br /><a href="https://yhw.ywca.org.hk/zh-hk/services/%E7%94%9F%E6%B6%AF%E8%A6%8F%E5%8A%83%E6%95%99%E8%82%B2%E6%B4%BB%E5%8B%95 ">- 生涯規劃教育活動</a><br /><a href=" https://yhw.ywca.org.hk/zh-hk/services/%E5%93%A1%E5%B7%A5%E5%81%A5%E5%BA%B7%E8%A8%88%E5%8A%83 ">- 員工健康計劃</a><br />- Healthy Running膝痛及訓練工作坊<br />- Healthy Running 健康起跑講座<br />- 改善腰背痛工作坊<br />- 踢走辦公室痛症】姿勢改善工作坊<br />- 運動與痛症工作坊<br />- 「上交叉綜合症」工作坊<br /><br />合作伙伴﹕<br />- 學之園幼稚園<br />- 可立中學<br />- 荔景天主教中學<br />- 中華基督教會銘賢書院<br />- 浸信會永隆中學<br />- 宣道會陳朱素華紀念中學<br />- 聖公會蔡功譜中學<br />- 聖公會林護紀念中學<br />- 梁文燕紀念中學<br />- The cyclink<br />- JF Thermal System Limited<br />- 恩光社會服務中心<br />- 博愛醫院王東源長者地區中心<br /><br /><br /><br /><br /></p>"
"long_description_en" => "<p><span style="color:#800080;"><b>個人服務</b></span><br /><br />項目﹕<br /><a href=" https://yhw.ywca.org.hk/zh-hk/services/%E5%85%92%E7%AB%A5%E8%84%8A%E6%9F%B1%E6%AA%A2%E6%9F%A5">· 兒童脊柱檢查</a><br /><a href=" https://yhw.ywca.org.hk/zh-hk/services/In%20Body%E8%BA%AB%E9%AB%94%E6%88%90%E4%BB%BD%E9%87%8F%E5%BA%A6">· In Body身體成份量度</a><br /><br /><span style="color:#800080;"><b>團體服務</b></span><br />為企業、機構及學校等提供度身而設的專題講座、工作坊及培訓等,推廣「全人健康」理念,提升大眾身心健康及生活質素。<br /><br />項目﹕<br /><a href="https://yhw.ywca.org.hk/zh-hk/services/%E7%94%9F%E6%B6%AF%E8%A6%8F%E5%8A%83%E6%95%99%E8%82%B2%E6%B4%BB%E5%8B%95 ">- 生涯規劃教育活動</a><br /><a href=" https://yhw.ywca.org.hk/zh-hk/services/%E5%93%A1%E5%B7%A5%E5%81%A5%E5%BA%B7%E8%A8%88%E5%8A%83 ">- 員工健康計劃</a><br />- Healthy Running膝痛及訓練工作坊<br />- Healthy Running 健康起跑講座<br />- 改善腰背痛工作坊<br />- 踢走辦公室痛症】姿勢改善工作坊<br />- 運動與痛症工作坊<br />- 「上交叉綜合症」工作坊<br /><br />合作伙伴﹕<br />- 學之園幼稚園<br />- 可立中學<br />- 荔景天主教中學<br />- 中華基督教會銘賢書院<br />- 浸信會永隆中學<br />- 宣道會陳朱素華紀念中學<br />- 聖公會蔡功譜中學<br />- 聖公會林護紀念中學<br />- 梁文燕紀念中學<br />- The cyclink<br />- JF Thermal System Limited<br />- 恩光社會服務中心<br />- 博愛醫院王東源長者地區中心<br /><br /><br /><br /><br /></p>"
"duration_and_charge_hk" => null
"duration_and_charge_en" => null
"deletable" => 0
]
4 => array:13 [
"id" => 23
"parent_item_id" => 3
"title_hk" => "Stick Mobility動態訓練班"
"title_en" => "Stick Mobility"
"image_path_thumbnail" => null
"image_path_banner" => "kpMKCSwf9cVwPBPktFh0ikOADK3noTuiq0WqYcRB.png"
"subtitle_hk" => "Stick Mobility 動態訓練班"
"subtitle_en" => "Stick Mobility"
"long_description_hk" => "<p>一種新興動態運動,能有助於改善姿勢、伸展肌肉,可透過特定工具進行拉伸、等長肌力訓練、關節靈活性及發力訓練等。 不論是熱愛運動,還是因工作需要久坐、久站,身體都可能會出現不同的疼痛問題,如肩頸痛、腰背痛、膝痛等,若忽視問題,情況有機會惡化,甚至影響日常生活。 Stick Mobility 是一套源於美國的訓練系統,透過特製的筋膜伸展棍,利用槓桿原理深層伸展平日難以伸展的筋膜,同時配合等長收縮強化訓練,可以有效提升關節靈活性、穩定性及肌肉力量,同時亦可達致舒展筋骨的效果,一舉三得!<br /><br />- 深層伸展,放鬆繃緊肌肉<br />- 改善腰背痛、肩頸痛、寒背圓肩問題<br />- 鍛鍊全身關節控制<br />- 加強核心肌群、增加靈活性及協調性<br />- 改善不良姿勢<br /><br />堂數︰4堂<br />名額︰2-5人<br />時間︰約1小時<br />收費︰$1,000/4堂<br />非繁忙時段收費﹕$800/4堂<br /><br />付款方法︰<br />轉數快(FPS) 或 親臨中心以現金/信用卡付款<br /><br />備註﹕<br />1. 上堂日期及時間,請向中心職員查詢。<br />2. 另提供自組班,歡迎查詢。<br /><br />如有任何查詢,歡迎致電2700 1733。<br /><br /><a href="https://forms.gle/5wDU429GVQnTM2V5A" target="_blank"><img alt="" src="/photos/shares/20221011183411_Za1bLMRN.png" style="width: 280px; height: 120px;" /></a></p>"
"long_description_en" => "<p>一種新興動態運動,能有助於改善姿勢、伸展肌肉,可透過特定工具進行拉伸、等長肌力訓練、關節靈活性及發力訓練等。 不論是熱愛運動,還是因工作需要久坐、久站,身體都可能會出現不同的疼痛問題,如肩頸痛、腰背痛、膝痛等,若忽視問題,情況有機會惡化,甚至影響日常生活。 Stick Mobility 是一套源於美國的訓練系統,透過特製的筋膜伸展棍,利用槓桿原理深層伸展平日難以伸展的筋膜,同時配合等長收縮強化訓練,可以有效提升關節靈活性、穩定性及肌肉力量,同時亦可達致舒展筋骨的效果,一舉三得!<br /><br />- 深層伸展,放鬆繃緊肌肉<br />- 改善腰背痛、肩頸痛、寒背圓肩問題<br />- 鍛鍊全身關節控制<br />- 加強核心肌群、增加靈活性及協調性<br />- 改善不良姿勢<br /><br />堂數︰4堂<br />名額︰2-5人<br />時間︰約1小時<br />收費︰$1,000/4堂<br />非繁忙時段收費﹕$800/4堂<br /><br />付款方法︰<br />轉數快(FPS) 或 親臨中心以現金/信用卡付款<br /><br />備註﹕<br />1. 上堂日期及時間,請向中心職員查詢。<br />2. 另提供自組班,歡迎查詢。<br /><br />如有任何查詢,歡迎致電2700 1733。<br /><br /><a href="https://forms.gle/5wDU429GVQnTM2V5A" target="_blank"><img alt="" src="/photos/shares/20221011183411_Za1bLMRN.png" style="width: 280px; height: 120px;" /></a></p>"
"duration_and_charge_hk" => "收費﹕$1,000/4堂* "
"duration_and_charge_en" => "Service Fee: $1,000/4 sections"
"deletable" => 1
]
5 => array:13 [
"id" => 25
"parent_item_id" => 4
"title_hk" => "兒童脊柱檢查"
"title_en" => "兒童脊柱檢查"
"image_path_thumbnail" => "aNblR1z4fN8VMbpVkiJNzC6S2fjZaU1iQxjtaWGK.png"
"image_path_banner" => "7G85SdfYYvwD6ZSZoIetJAnrcIe8BYSxmD73oJNM.png"
"subtitle_hk" => "兒童脊柱檢查"
"subtitle_en" => "兒童脊柱檢查"
"long_description_hk" => "<p>從根源矯正及改善脊柱側彎問題<br />脊柱側彎無論是先天性或功能性,都有機會導致背痛、關節提早退化、骨刺或心肺功能差等,甚至會影響兒童及青少年的發育。若情況嚴重,更需要帶背架或以手術矯正,但無論是輕度或嚴重個案,都可以透過針對性的動態運動及姿勢矯正訓練,整體改善身體及脊椎排列,從而改善、預防及避免情況惡化。<br /><br /><strong>服務特點﹕</strong><br />- 運動治療師主理<br />- 靜態及動態評估<br />- 分析脊柱失衡根源<br />- 動態矯正運動<br />- 全方位改善脊柱問題<br /><br /><strong>服務內容﹕</strong><br />運動治療師會詳細評估參加者的靜態及動態姿勢,分析脊柱失衡的根源,再根據問題處方不同的動態矯正訓練,包括:柔韌性,活動性,核心肌群,肌耐力等,全方位改善脊柱問題。<br /><br />1. 脊柱檢查<br />由專業運動治療師進行姿勢評估、分析及講解,並按個別狀況提供改善建議。<br />- 脊椎活動性評估<br />- 動態活動評估<br />- 肋骨評估<br />- 肌力測試<br />- 呼吸評估<br /><br />2. 脊柱動態矯正運動班 (4堂/期) <br />由專業運動治療師以2-3人小組教學模式進行,透過進行不同運動訓練,幫助參加者增強肌力、保持脊椎穩定性、減少腰椎及椎間盤負荷、改善姿勢等,從根源改善脊柱問題。<br />- 增強肌力<br />- 保持脊椎穩定性<br />- 減少腰椎及椎間盤負荷<br />- 改善姿勢<br /><br /><strong>服務收費﹕</strong><br />脊柱檢查(約20-30分鐘/節)︰$200/節<br />脊柱動態矯正班(約60分鐘/堂) ︰ $1,000/4堂<br /><br /><strong>限時優惠﹕</strong><br />凡於2022年8月31日或之前,報名參加「脊柱動態矯正班」,即可扣除「脊柱檢查」費用$200*。(名額有限,先到先得。) <br /><br /><strong>免費電話咨詢/參觀</strong></p>"
"long_description_en" => "<p>從根源矯正及改善脊柱側彎問題<br />脊柱側彎無論是先天性或功能性,都有機會導致背痛、關節提早退化、骨刺或心肺功能差等,甚至會影響兒童及青少年的發育。若情況嚴重,更需要帶背架或以手術矯正,但無論是輕度或嚴重個案,都可以透過針對性的動態運動及姿勢矯正訓練,整體改善身體及脊椎排列,從而改善、預防及避免情況惡化。<br /><br /><strong>服務特點﹕</strong><br />- 運動治療師主理<br />- 靜態及動態評估<br />- 分析脊柱失衡根源<br />- 動態矯正運動<br />- 全方位改善脊柱問題<br /><br /><strong>服務內容﹕</strong><br />運動治療師會詳細評估參加者的靜態及動態姿勢,分析脊柱失衡的根源,再根據問題處方不同的動態矯正訓練,包括:柔韌性,活動性,核心肌群,肌耐力等,全方位改善脊柱問題。<br /><br />1. 脊柱檢查<br />由專業運動治療師進行姿勢評估、分析及講解,並按個別狀況提供改善建議。<br />- 脊椎活動性評估<br />- 動態活動評估<br />- 肋骨評估<br />- 肌力測試<br />- 呼吸評估<br /><br />2. 脊柱動態矯正運動班 (4堂/期) <br />由專業運動治療師以2-3人小組教學模式進行,透過進行不同運動訓練,幫助參加者增強肌力、保持脊椎穩定性、減少腰椎及椎間盤負荷、改善姿勢等,從根源改善脊柱問題。<br />- 增強肌力<br />- 保持脊椎穩定性<br />- 減少腰椎及椎間盤負荷<br />- 改善姿勢<br /><br /><strong>服務收費﹕</strong><br />脊柱檢查(約20-30分鐘/節)︰$200/節<br />脊柱動態矯正班(約60分鐘/堂) ︰ $1,000/4堂<br /><br /><strong>限時優惠﹕</strong><br />凡於2022年8月31日或之前,報名參加「脊柱動態矯正班」,即可扣除「脊柱檢查」費用$200*。(名額有限,先到先得。) <br /><br /><strong>免費電話咨詢/參觀</strong></p>"
"duration_and_charge_hk" => null
"duration_and_charge_en" => null
"deletable" => 1
]
6 => array:13 [
"id" => 29
"parent_item_id" => 4
"title_hk" => "In Body身體成份量度"
"title_en" => "In Body身體成份量度"
"image_path_thumbnail" => null
"image_path_banner" => "s63mtDrLhoyDUs9l8zWJB5q191mj4KcHWPOA6o8Q.png"
"subtitle_hk" => "In Body身體成份量度"
"subtitle_en" => "In Body身體成份量度"
"long_description_hk" => "<p>運動治療師透過InBody身體組成分析儀量度體重、身體水份/蛋白質/礦物質、肌肉量、脂肪量、BMI、體脂比例、脂肪及肌肉比例分佈、內臟脂肪指數等等,全面分析身體狀況,並講解報告數據及提供健康建議。</p>"
"long_description_en" => "<p>運動治療師透過InBody身體組成分析儀量度體重、身體水份/蛋白質/礦物質、肌肉量、脂肪量、BMI、體脂比例、脂肪及肌肉比例分佈、內臟脂肪指數等等,全面分析身體狀況,並講解報告數據及提供健康建議。</p>"
"duration_and_charge_hk" => null
"duration_and_charge_en" => null
"deletable" => 1
]
7 => array:13 [
"id" => 36
"parent_item_id" => 4
"title_hk" => "生涯規劃教育活動"
"title_en" => "生涯規劃教育活動"
"image_path_thumbnail" => null
"image_path_banner" => "6xLxvAke72T8f2K2jADFmmWg5sHlwMBCYBS1Pa4V.png"
"subtitle_hk" => "生涯規劃教育活動"
"subtitle_en" => "生涯規劃教育活動"
"long_description_hk" => "<p><span style="color:#800080;"><b>生涯規劃教育活動﹕職業探索之運動治療師</b></span> <br /><br />透過「生涯規劃教育活動」合作計劃,與學校、中心及機構攜手提供職業探索機會,讓學生及青少年能了解不同職業,及早裝備自己,籌劃將來路向。計劃將透過不同活動,以富趣味的方式,增加他們對新興職業 — 運動治療師的了解。計劃詳情如下﹕<br /><br />目標﹕探索及認識運動治療師,讓學生及青少年深入了解運動治療師工作的性質、要求及發展,進一步裝備自己,籌劃將來路向。<br />對於﹕中學生、小學生、青少年、教師、家長<br />形式﹕講座、工作坊及參觀 (*由註冊運動治療師進行)<br /><br />1.\t講座 (每節約1小時) <br />- 認識運動治療師<br />- 職業性質、職責、意義、行業前景、入職要求<br />- 工作經驗分享<br /><br />2.\t工作坊 (每節約1小時)<br />- 職業體驗<br />- 專業課堂試讀(理論課或實踐課)<br />例如﹕解剖學、運動創傷學、運動貼紮技巧、動態矯正原則及技巧、痛症紓緩技巧及骨科測試技巧等<br /><br />3.\t參觀女青適健中心<br /><br />4.\t訪談活動﹕與運動治療師對話 (每節約1小時,每組約6-10人)<br /><br />5.\t其他活動<br /><br />運動治療師簡介﹕<br />運動治療師是本港新興職業之一。隨著本港近年積極推動運動發展,越來越多市民參與體育運動,對運動治療師的需求也日益增加。各大體育會近年亦開始增聘運動治療師,於比賽時為運動員提供治療、為受傷的隊員進行復康治療、協助運動隊伍日常訓練和預防隊員受傷等。<br />運動治療師主要學習範疇包括運動創傷、復康訓練及提升運動表現,亦會學習手法治療去幫助患者的痛症和運動創傷。他們除了於運動練習和比賽中協助運動員進行訓練、預防傷患、提供即時支援與治療外,還會為較少做運動或長期維持錯誤姿勢而出現肌肉疼痛等問題的人治療。<br /><br /><a href="http://forms.gle/3oE844R85M33Es3J7">立即網上登記</a><br /><br /><strong>如有興趣,歡迎致電2700 1733 查詢及報價。</strong></p>"
"long_description_en" => "<p><span style="color:#800080;"><b>生涯規劃教育活動﹕職業探索之運動治療師</b></span> <br /><br />透過「生涯規劃教育活動」合作計劃,與學校、中心及機構攜手提供職業探索機會,讓學生及青少年能了解不同職業,及早裝備自己,籌劃將來路向。計劃將透過不同活動,以富趣味的方式,增加他們對新興職業 — 運動治療師的了解。計劃詳情如下﹕<br /><br />目標﹕探索及認識運動治療師,讓學生及青少年深入了解運動治療師工作的性質、要求及發展,進一步裝備自己,籌劃將來路向。<br />對於﹕中學生、小學生、青少年、教師、家長<br />形式﹕講座、工作坊及參觀 (*由註冊運動治療師進行)<br /><br />1.\t講座 (每節約1小時) <br />- 認識運動治療師<br />- 職業性質、職責、意義、行業前景、入職要求<br />- 工作經驗分享<br /><br />2.\t工作坊 (每節約1小時)<br />- 職業體驗<br />- 專業課堂試讀(理論課或實踐課)<br />例如﹕解剖學、運動創傷學、運動貼紮技巧、動態矯正原則及技巧、痛症紓緩技巧及骨科測試技巧等<br /><br />3.\t參觀女青適健中心<br /><br />4.\t訪談活動﹕與運動治療師對話 (每節約1小時,每組約6-10人)<br /><br />5.\t其他活動<br /><br />運動治療師簡介﹕<br />運動治療師是本港新興職業之一。隨著本港近年積極推動運動發展,越來越多市民參與體育運動,對運動治療師的需求也日益增加。各大體育會近年亦開始增聘運動治療師,於比賽時為運動員提供治療、為受傷的隊員進行復康治療、協助運動隊伍日常訓練和預防隊員受傷等。<br />運動治療師主要學習範疇包括運動創傷、復康訓練及提升運動表現,亦會學習手法治療去幫助患者的痛症和運動創傷。他們除了於運動練習和比賽中協助運動員進行訓練、預防傷患、提供即時支援與治療外,還會為較少做運動或長期維持錯誤姿勢而出現肌肉疼痛等問題的人治療。<br /><br /><a href="http://forms.gle/3oE844R85M33Es3J7">立即網上登記</a><br /><br /><strong>如有興趣,歡迎致電2700 1733 查詢及報價。</strong></p>"
"duration_and_charge_hk" => null
"duration_and_charge_en" => null
"deletable" => 1
]
8 => array:13 [
"id" => 38
"parent_item_id" => 4
"title_hk" => "員工健康計劃"
"title_en" => "員工健康計劃"
"image_path_thumbnail" => null
"image_path_banner" => "KvjVbdVv5feTBRKUWlRE6yUzNUr3eecQVJnDCUGB.jpeg"
"subtitle_hk" => "員工健康計劃"
"subtitle_en" => "員工健康計劃"
"long_description_hk" => "<p><span style="color:#800080;"><b>員工健康計劃</b></span> <br /><br />員工是企業/機構最寶貴的資產,擁有健康的身體能提升身心靈的質素和工作效率,也大大提高持久的工作生產力。女青適健中心為香港基督教女青年會的自資服務,致力提供一站式物理治療、運動訓練及健體活動,多年來為不同規模的企業/機構提供員工整體健康評估和身體檢查服務,加強社會大眾的健康意識及培養運動習慣。<br /><br />計劃目標﹕<br />- 提升意識,自我健康管理<br />- 減輕壓力<br />- 凝聚團隊,建立關係<br />- 建立健康文化<br /><br />計劃詳情: <br />1.\t員工健康檢查及運動指導日<br />安排註冊運動治療師到場為員工進行不同的健康檢測及評估,並即場講解及提供健康及運動建議,常見健康評估項目包括:<br />- 體重指標<br />- 脂肪測試<br />- 脊椎健康評估<br />- 平衡/防跌評估<br />- 肌耐力測試<br />- 身體柔軟度<br />- 心肺功能<br />- 關節活動能力<br /><br />2.\t專題講座/工作坊<br />按企業/機構需要度身設計合適的專題講座及工作坊,由註冊運動治療師進行,提供相應的健康資訊、示範及互動體驗。因應需要可提供簡單活體能評估/測試,加強員工了解自身的身體狀況。常見工作坊包括:<br />- 【踢走辦公室痛症】姿勢改善工作坊<br />- 【紓緩頭痛工作坊】4招紓解頭痛,改善失眠<br />- 香薰放鬆伸展體驗工作坊<br />- 改善腰背痛工作坊<br />- 文職人員的工作間健身操工作坊<br />- 辨公室痛症及舒展運動<br />- 坐姿與脊椎健康的關係<br />- 上交叉綜合症工作坊(舒緩頸緊膊痛)<br /><br />3.\t運動體驗日/班<br />按機構/中心需要度身設計合適的運動訓練班,配合主題由註冊運動治療或專業教練帶領。<br />- Stick Mobility動態訓練(深層伸展、改善寒背、圓肩、腰背痛)<br />- Bodyblade健體訓練 (強化核心肌肉、修身健體)<br /><br />4.\t其他合作活動: 商議<br /><br /><strong>如對「員工健康計劃」有興趣,歡迎致電2700 1733查詢及索取報價。</strong></p>"
"long_description_en" => "<p><span style="color:#800080;"><b>員工健康計劃</b></span> <br /><br />員工是企業/機構最寶貴的資產,擁有健康的身體能提升身心靈的質素和工作效率,也大大提高持久的工作生產力。女青適健中心為香港基督教女青年會的自資服務,致力提供一站式物理治療、運動訓練及健體活動,多年來為不同規模的企業/機構提供員工整體健康評估和身體檢查服務,加強社會大眾的健康意識及培養運動習慣。<br /><br />計劃目標﹕<br />- 提升意識,自我健康管理<br />- 減輕壓力<br />- 凝聚團隊,建立關係<br />- 建立健康文化<br /><br />計劃詳情: <br />1.\t員工健康檢查及運動指導日<br />安排註冊運動治療師到場為員工進行不同的健康檢測及評估,並即場講解及提供健康及運動建議,常見健康評估項目包括:<br />- 體重指標<br />- 脂肪測試<br />- 脊椎健康評估<br />- 平衡/防跌評估<br />- 肌耐力測試<br />- 身體柔軟度<br />- 心肺功能<br />- 關節活動能力<br /><br />2.\t專題講座/工作坊<br />按企業/機構需要度身設計合適的專題講座及工作坊,由註冊運動治療師進行,提供相應的健康資訊、示範及互動體驗。因應需要可提供簡單活體能評估/測試,加強員工了解自身的身體狀況。常見工作坊包括:<br />- 【踢走辦公室痛症】姿勢改善工作坊<br />- 【紓緩頭痛工作坊】4招紓解頭痛,改善失眠<br />- 香薰放鬆伸展體驗工作坊<br />- 改善腰背痛工作坊<br />- 文職人員的工作間健身操工作坊<br />- 辨公室痛症及舒展運動<br />- 坐姿與脊椎健康的關係<br />- 上交叉綜合症工作坊(舒緩頸緊膊痛)<br /><br />3.\t運動體驗日/班<br />按機構/中心需要度身設計合適的運動訓練班,配合主題由註冊運動治療或專業教練帶領。<br />- Stick Mobility動態訓練(深層伸展、改善寒背、圓肩、腰背痛)<br />- Bodyblade健體訓練 (強化核心肌肉、修身健體)<br /><br />4.\t其他合作活動: 商議<br /><br /><strong>如對「員工健康計劃」有興趣,歡迎致電2700 1733查詢及索取報價。</strong></p>"
"duration_and_charge_hk" => null
"duration_and_charge_en" => null
"deletable" => 1
]
9 => array:13 [
"id" => 39
"parent_item_id" => 3
"title_hk" => "HICT 消脂循環運動班"
"title_en" => "HICT 消脂循環運動班"
"image_path_thumbnail" => "hOBpIBOdgVOzYo3kJgSOS0GQBVBFkqlvQjw6qMBb.png"
"image_path_banner" => "DjsY6ouK3GwerTNe4jJjzYYsRjegFglNwD23OKX4.png"
"subtitle_hk" => "HICT 消脂循環運動班"
"subtitle_en" => "HICT 消脂循環運動班"
"long_description_hk" => "<p>HICT (High Intensity Circuit Training)即是高強度循環訓練,HICT的訓練時間比其他運動較為短,亦為大眾市民提供簡單快捷的鍛鍊方式。HICT主要以徒手的方式來進行訓練,當中的訓練動作包含不同有氧、無氧及全身阻力訓練,它不單止能夠強化全身的肌力及改善心肺功能,還能為需要減肥的人士有效達致消脂的效果。<br /><br />運動班特色﹕<br />- 專業團隊設計訓練內容<br />- 小組模式,互動教學<br />- 循序漸進,助建立運動習慣<br />- 專業跟進,分析身體狀況<br /><br />地點:女青適健中心 (九龍窩打老道山文福道5號2樓)<br />費用:兩個月為一期,學費按該期堂數計算,每堂$100 (如非全期報讀,每堂$125)<br />時間︰約1小時/堂<br />人數︰每班最多5人<br /><br />【報讀全期,即送InBody測試﹗﹗】<br />即日起至2023年12月31日,凡參加全期運動訓練,即送In Body身體成份量度測試2次^,分別於全期訓練開始前及完結後進行,讓你能更客觀和科學地觀察身體的變化。<br /><br />^優惠受有關條款及細則約束,詳情請向中心職員查詢。<br /><br />付款方法︰<br />轉數快(FPS) 或 親臨中心以現金/信用卡付款<br /><br />如有任何查詢,歡迎致電2700 1733。<br /><br /><a href="https://bit.ly/YHWREG002" target="_blank"><img alt="" src="/photos/shares/20221011183509_Vj8lDDS7.png" style="width: 280px; height: 120px;" /></a></p>"
"long_description_en" => "<p>HICT (High Intensity Circuit Training)即是高強度循環訓練,HICT的訓練時間比其他運動較為短,亦為大眾市民提供簡單快捷的鍛鍊方式。HICT主要以徒手的方式來進行訓練,當中的訓練動作包含不同有氧、無氧及全身阻力訓練,它不單止能夠強化全身的肌力及改善心肺功能,還能為需要減肥的人士有效達致消脂的效果。<br /><br />運動班特色﹕<br />- 專業團隊設計訓練內容<br />- 小組模式,互動教學<br />- 循序漸進,助建立運動習慣<br />- 專業跟進,分析身體狀況<br /><br />地點:女青適健中心 (九龍窩打老道山文福道5號2樓)<br />費用:兩個月為一期,學費按該期堂數計算,每堂$100 (如非全期報讀,每堂$125)<br />時間︰約1小時/堂<br />人數︰每班最多5人<br /><br />【報讀全期,即送InBody測試﹗﹗】<br />即日起至2023年12月31日,凡參加全期運動訓練,即送In Body身體成份量度測試2次^,分別於全期訓練開始前及完結後進行,讓你能更客觀和科學地觀察身體的變化。<br /><br />^優惠受有關條款及細則約束,詳情請向中心職員查詢。<br /><br />付款方法︰<br />轉數快(FPS) 或 親臨中心以現金/信用卡付款<br /><br />如有任何查詢,歡迎致電2700 1733。<br /><br /><a href="https://bit.ly/YHWREG002" target="_blank"><img alt="" src="/photos/shares/20221011183509_Vj8lDDS7.png" style="width: 280px; height: 120px;" /></a></p>"
"duration_and_charge_hk" => null
"duration_and_charge_en" => null
"deletable" => 1
]
10 => array:13 [
"id" => 40
"parent_item_id" => 3
"title_hk" => "強骨護骨負重運動班"
"title_en" => "強骨護骨負重運動班"
"image_path_thumbnail" => "zT6Ondf0PCsF8fdv2J8zRvPpmv1X2W5Mx4x3xH4T.png"
"image_path_banner" => "kRSJ68keMx42fsfwIeTXPjU0gJBxtjONJNuqkGBS.png"
"subtitle_hk" => "強骨護骨負重運動班"
"subtitle_en" => "強骨護骨負重運動班"
"long_description_hk" => "<p>無論任何人士,隨着年紀增長,都會有患上骨質疏鬆的風險,患者往往在受傷後骨折才會知道。透過維持規律負重運動,不但可以強化肌肉,亦可刺激和強化骨骼,增加骨質密度,有效預防骨質疏鬆。<br /><br />運動班特色﹕<br />- 專業團隊設計訓練內容<br />- 小組模式,互動教學<br />- 循序漸進,助建立運動習慣<br />- 專業跟進,分析身體狀況<br /><br />地點:女青適健中心 (九龍窩打老道山文福道5號2樓)<br />費用:兩個月為一期,學費按該期堂數計算,每堂$100 (如非全期報讀,每堂$125)<br />時間︰約1小時/堂<br />人數︰每班最多6人<br /><br />【報讀全期,即送InBody測試﹗﹗】<br />即日起至2023年12月31日,凡參加全期運動訓練,即送In Body身體成份量度測試2次^,分別於全期訓練開始前及完結後進行,讓你能更客觀和科學地觀察身體的變化。<br /><br />^優惠受有關條款及細則約束,詳情請向中心職員查詢。<br /><br />付款方法︰<br />轉數快(FPS) 或 親臨中心以現金/信用卡付款<br /><br />如有任何查詢,歡迎致電2700 1733。<br /><br /><a href="https://bit.ly/YHWREG002" target="_blank"><img alt="" src="/photos/shares/20221011183509_Vj8lDDS7.png" style="width: 280px; height: 120px;" /></a></p>"
"long_description_en" => "<p>無論任何人士,隨着年紀增長,都會有患上骨質疏鬆的風險,患者往往在受傷後骨折才會知道。透過維持規律負重運動,不但可以強化肌肉,亦可刺激和強化骨骼,增加骨質密度,有效預防骨質疏鬆。<br /><br />運動班特色﹕<br />- 專業團隊設計訓練內容<br />- 小組模式,互動教學<br />- 循序漸進,助建立運動習慣<br />- 專業跟進,分析身體狀況<br /><br />地點:女青適健中心 (九龍窩打老道山文福道5號2樓)<br />費用:兩個月為一期,學費按該期堂數計算,每堂$100 (如非全期報讀,每堂$125)<br />時間︰約1小時/堂<br />人數︰每班最多6人<br /><br />【報讀全期,即送InBody測試﹗﹗】<br />即日起至2023年12月31日,凡參加全期運動訓練,即送In Body身體成份量度測試2次^,分別於全期訓練開始前及完結後進行,讓你能更客觀和科學地觀察身體的變化。<br /><br />^優惠受有關條款及細則約束,詳情請向中心職員查詢。<br /><br />付款方法︰<br />轉數快(FPS) 或 親臨中心以現金/信用卡付款<br /><br />如有任何查詢,歡迎致電2700 1733。<br /><br /><a href="https://bit.ly/YHWREG002" target="_blank"><img alt="" src="/photos/shares/20221011183509_Vj8lDDS7.png" style="width: 280px; height: 120px;" /></a></p>"
"duration_and_charge_hk" => null
"duration_and_charge_en" => null
"deletable" => 1
]
11 => array:13 [
"id" => 41
"parent_item_id" => 3
"title_hk" => "肌筋膜放鬆及伸展「自療」運動班"
"title_en" => "肌筋膜放鬆及伸展「自療」運動班"
"image_path_thumbnail" => "4KThBXac0Ukt9xFrN1Xei42v61eAPn9lPc1fjNb7.png"
"image_path_banner" => "gJzMRwpW5QlFnJQtp8UaFGTS5zP8rsbRkkTP2xky.png"
"subtitle_hk" => "肌筋膜放鬆及伸展「自療」運動班"
"subtitle_en" => "肌筋膜放鬆及伸展「自療」運動班"
"long_description_hk" => "<p>課程中主要運用徒手、按摩滾筒及按摩球來進行伸展及放鬆不同層次的肌筋膜,從中改善肌肉及關節的活動幅度,處理生活上不良姿勢而導致的痛症及運動後的肌肉酸痛。<br /><br />運動班特色﹕<br />- 專業團隊設計訓練內容<br />- 小組模式,互動教學<br />- 循序漸進,助建立運動習慣<br />- 專業跟進,分析身體狀況<br /><br />地點:女青適健中心 (九龍窩打老道山文福道5號2樓)<br />費用:兩個月為一期,學費按該期堂數計算,每堂$100 (如非全期報讀,每堂$125)<br />時間︰約1小時/堂<br />人數︰每班最多6人<br /><br />【報讀全期,即送InBody測試﹗﹗】<br />即日起至2023年12月31日,凡參加全期運動訓練,即送In Body身體成份量度測試2次^,分別於全期訓練開始前及完結後進行,讓你能更客觀和科學地觀察身體的變化。<br /><br />^優惠受有關條款及細則約束,詳情請向中心職員查詢。<br /><br />付款方法︰<br />轉數快(FPS) 或 親臨中心以現金/信用卡付款<br /><br />如有任何查詢,歡迎致電2700 1733。<br /><br /><a href="https://bit.ly/YHWREG002" target="_blank"><img alt="" src="/photos/shares/20221011183509_Vj8lDDS7.png" style="width: 280px; height: 120px;" /></a></p>"
"long_description_en" => "<p>課程中主要運用徒手、按摩滾筒及按摩球來進行伸展及放鬆不同層次的肌筋膜,從中改善肌肉及關節的活動幅度,處理生活上不良姿勢而導致的痛症及運動後的肌肉酸痛。<br /><br />運動班特色﹕<br />- 專業團隊設計訓練內容<br />- 小組模式,互動教學<br />- 循序漸進,助建立運動習慣<br />- 專業跟進,分析身體狀況<br /><br />地點:女青適健中心 (九龍窩打老道山文福道5號2樓)<br />費用:兩個月為一期,學費按該期堂數計算,每堂$100 (如非全期報讀,每堂$125)<br />時間︰約1小時/堂<br />人數︰每班最多6人<br /><br />【報讀全期,即送InBody測試﹗﹗】<br />即日起至2023年12月31日,凡參加全期運動訓練,即送In Body身體成份量度測試2次^,分別於全期訓練開始前及完結後進行,讓你能更客觀和科學地觀察身體的變化。<br /><br />^優惠受有關條款及細則約束,詳情請向中心職員查詢。<br /><br />付款方法︰<br />轉數快(FPS) 或 親臨中心以現金/信用卡付款<br /><br />如有任何查詢,歡迎致電2700 1733。<br /><br /><a href="https://bit.ly/YHWREG002" target="_blank"><img alt="" src="/photos/shares/20221011183509_Vj8lDDS7.png" style="width: 280px; height: 120px;" /></a></p>"
"duration_and_charge_hk" => null
"duration_and_charge_en" => null
"deletable" => 1
]
12 => array:13 [
"id" => 42
"parent_item_id" => 3
"title_hk" => "Dynamic Balance 動態平衡運動班"
"title_en" => "Dynamic Balance 動態平衡運動班"
"image_path_thumbnail" => "Bl4R9ESvJucrJmmD466pkVVZ1MGBW3AhqW7tiE2k.png"
"image_path_banner" => "dZKhNUKEsohy6E6oRfS2sbgkbIhY22y5m0iKn5mz.png"
"subtitle_hk" => "Dynamic Balance 動態平衡運動班"
"subtitle_en" => "Dynamic Balance 動態平衡運動班"
"long_description_hk" => "<p>日常生活中,身體在移動的時候涉及到身體的重心轉移及力量去控制和維持身體平衡,透過運動班幫助他們訓練下肢肌力及穩定性和改善平衡能力,從而降低因失去平衡而造成傷患的風險。<br /><br />運動班特色﹕<br />- 專業團隊設計訓練內容<br />- 小組模式,互動教學<br />- 循序漸進,助建立運動習慣<br />- 專業跟進,分析身體狀況<br /><br />地點:女青適健中心 (九龍窩打老道山文福道5號2樓)<br />費用:兩個月為一期,學費按該期堂數計算,每堂$100 (如非全期報讀,每堂$125)<br />時間︰約1小時/堂<br />人數︰每班最多6人<br /><br />【報讀全期,即送InBody測試﹗﹗】<br />即日起至2023年12月31日,凡參加全期運動訓練,即送In Body身體成份量度測試2次^,分別於全期訓練開始前及完結後進行,讓你能更客觀和科學地觀察身體的變化。<br /><br />^優惠受有關條款及細則約束,詳情請向中心職員查詢。<br /><br />付款方法︰<br />轉數快(FPS) 或 親臨中心以現金/信用卡付款<br /><br />如有任何查詢,歡迎致電2700 1733。<br /><br /><a href="https://bit.ly/YHWREG002" target="_blank"><img alt="" src="/photos/shares/20221011183509_Vj8lDDS7.png" style="width: 280px; height: 120px;" /></a></p>"
"long_description_en" => "<p>日常生活中,身體在移動的時候涉及到身體的重心轉移及力量去控制和維持身體平衡,透過運動班幫助他們訓練下肢肌力及穩定性和改善平衡能力,從而降低因失去平衡而造成傷患的風險。<br /><br />運動班特色﹕<br />- 專業團隊設計訓練內容<br />- 小組模式,互動教學<br />- 循序漸進,助建立運動習慣<br />- 專業跟進,分析身體狀況<br /><br />地點:女青適健中心 (九龍窩打老道山文福道5號2樓)<br />費用:兩個月為一期,學費按該期堂數計算,每堂$100 (如非全期報讀,每堂$125)<br />時間︰約1小時/堂<br />人數︰每班最多6人<br /><br />【報讀全期,即送InBody測試﹗﹗】<br />即日起至2023年12月31日,凡參加全期運動訓練,即送In Body身體成份量度測試2次^,分別於全期訓練開始前及完結後進行,讓你能更客觀和科學地觀察身體的變化。<br /><br />^優惠受有關條款及細則約束,詳情請向中心職員查詢。<br /><br />付款方法︰<br />轉數快(FPS) 或 親臨中心以現金/信用卡付款<br /><br />如有任何查詢,歡迎致電2700 1733。<br /><br /><a href="https://bit.ly/YHWREG002" target="_blank"><img alt="" src="/photos/shares/20221011183509_Vj8lDDS7.png" style="width: 280px; height: 120px;" /></a></p>"
"duration_and_charge_hk" => null
"duration_and_charge_en" => null
"deletable" => 1
]
]
"bubbles" => array:4 [
"Physiotherapy" => array:1 [
"url" => "https://yhw.ywca.org.hk/en/services/Physiotherapy"
]
"Exercise Therapy" => array:1 [
"url" => "https://yhw.ywca.org.hk/en/services/Exercise%20Therapy"
]
"Fitness Training" => array:2 [
"url" => "https://yhw.ywca.org.hk/en/services/Fitness%20Training"
"children" => array:5 [
"Stick Mobility" => array:1 [
"url" => "https://yhw.ywca.org.hk/en/services/Stick%20Mobility"
]
"HICT 消脂循環運動班" => array:1 [
"url" => "https://yhw.ywca.org.hk/en/services/HICT%20%E6%B6%88%E8%84%82%E5%BE%AA%E7%92%B0%E9%81%8B%E5%8B%95%E7%8F%AD"
]
"強骨護骨負重運動班" => array:1 [
"url" => "https://yhw.ywca.org.hk/en/services/%E5%BC%B7%E9%AA%A8%E8%AD%B7%E9%AA%A8%E8%B2%A0%E9%87%8D%E9%81%8B%E5%8B%95%E7%8F%AD"
]
"肌筋膜放鬆及伸展「自療」運動班" => array:1 [
"url" => "https://yhw.ywca.org.hk/en/services/%E8%82%8C%E7%AD%8B%E8%86%9C%E6%94%BE%E9%AC%86%E5%8F%8A%E4%BC%B8%E5%B1%95%E3%80%8C%E8%87%AA%E7%99%82%E3%80%8D%E9%81%8B%E5%8B%95%E7%8F%AD"
]
"Dynamic Balance 動態平衡運動班" => array:1 [
"url" => "https://yhw.ywca.org.hk/en/services/Dynamic%20Balance%20%E5%8B%95%E6%85%8B%E5%B9%B3%E8%A1%A1%E9%81%8B%E5%8B%95%E7%8F%AD"
]
]
]
"Health and Wellness" => array:2 [
"url" => "https://yhw.ywca.org.hk/en/services/Health%20and%20Wellness"
"children" => array:4 [
"兒童脊柱檢查" => array:1 [
"url" => "https://yhw.ywca.org.hk/en/services/%E5%85%92%E7%AB%A5%E8%84%8A%E6%9F%B1%E6%AA%A2%E6%9F%A5"
]
"In Body身體成份量度" => array:1 [
"url" => "https://yhw.ywca.org.hk/en/services/In%20Body%E8%BA%AB%E9%AB%94%E6%88%90%E4%BB%BD%E9%87%8F%E5%BA%A6"
]
"生涯規劃教育活動" => array:1 [
"url" => "https://yhw.ywca.org.hk/en/services/%E7%94%9F%E6%B6%AF%E8%A6%8F%E5%8A%83%E6%95%99%E8%82%B2%E6%B4%BB%E5%8B%95"
]
"員工健康計劃" => array:1 [
"url" => "https://yhw.ywca.org.hk/en/services/%E5%93%A1%E5%B7%A5%E5%81%A5%E5%BA%B7%E8%A8%88%E5%8A%83"
]
]
]
]
"thumbnails" => Collection {#366}
"active_bubble_index" => false
"bubble" => array:2 [
"url" => "https://yhw.ywca.org.hk/en/services/Health%20and%20Wellness"
"children" => array:4 [
"兒童脊柱檢查" => array:1 [
"url" => "https://yhw.ywca.org.hk/en/services/%E5%85%92%E7%AB%A5%E8%84%8A%E6%9F%B1%E6%AA%A2%E6%9F%A5"
]
"In Body身體成份量度" => array:1 [
"url" => "https://yhw.ywca.org.hk/en/services/In%20Body%E8%BA%AB%E9%AB%94%E6%88%90%E4%BB%BD%E9%87%8F%E5%BA%A6"
]
"生涯規劃教育活動" => array:1 [
"url" => "https://yhw.ywca.org.hk/en/services/%E7%94%9F%E6%B6%AF%E8%A6%8F%E5%8A%83%E6%95%99%E8%82%B2%E6%B4%BB%E5%8B%95"
]
"員工健康計劃" => array:1 [
"url" => "https://yhw.ywca.org.hk/en/services/%E5%93%A1%E5%B7%A5%E5%81%A5%E5%BA%B7%E8%A8%88%E5%8A%83"
]
]
]
"key" => "Health and Wellness"
]
/var
/www
/yh
/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("Method [{$method}] does not exist on [".get_class($this).'].');
}
}
Arguments
"Physiotherapy%20Treatment"
/var
/www
/yh
/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("Method [{$method}] does not exist on [".get_class($this).'].');
}
}
Arguments
array:2 [
0 => ServiceController {#273}
1 => "index"
]
array:1 [
"category" => "Physiotherapy%20Treatment"
]
/var
/www
/yh
/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
"index"
array:1 [
"category" => "Physiotherapy%20Treatment"
]
/var
/www
/yh
/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 {#174}
ServiceController {#273}
"index"
/var
/www
/yh
/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.
/var
/www
/yh
/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);
}
/**
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Pipeline.php
use Symfony\Component\Debug\Exception\FatalThrowableError;
/**
* This extended pipeline catches any exceptions that occur during each slice.
*
* The exceptions are converted to HTTP responses for proper middleware handling.
*/
class Pipeline extends BasePipeline
{
/**
* Get the final piece of the Closure onion.
*
* @param \Closure $destination
* @return \Closure
*/
protected function prepareDestination(Closure $destination)
{
return function ($passable) use ($destination) {
try {
return $destination($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/app
/Http
/Middleware
/Language.php
$parameters = $route->parameters();
// Make sure current locale exists.
$locale = isset($parameters['lang']) ? $parameters['lang'] : null;
if (is_null($locale)) {
$segments = $request->segments();
$segments[0] = $this->app->config->get('app.locale');
return $this->redirector->to(implode('/', $segments));
} elseif (!array_key_exists($locale, $this->app->config->get('indzz-admin-panel.locales'))) {
abort(404, 'Unknown locale');
}
$this->app->setLocale($locale);
// Forgot the "lang" parameter, so that function arguments would not contain it
// Instead, please use App::getLocale() to retrieve it
$route->forgetParameter('lang');
return $next($request);
}
}
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/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)) {
list($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];
}
return method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
$parameters = explode(',', $parameters);
}
return [$name, $parameters];
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure {#282
class: "Illuminate\Routing\Pipeline"
this: Pipeline {#276 …}
parameters: {
$passable: {}
}
use: {
$destination: Closure {#281 …}
}
}
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Middleware
/SubstituteBindings.php
*/
public function __construct(Registrar $router)
{
$this->router = $router;
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$this->router->substituteBindings($route = $request->route());
$this->router->substituteImplicitBindings($route);
return $next($request);
}
}
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/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)) {
list($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];
}
return method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
$parameters = explode(',', $parameters);
}
return [$name, $parameters];
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure {#307
class: "Illuminate\Routing\Pipeline"
this: Pipeline {#276 …}
parameters: {
$passable: {}
}
use: {
$stack: Closure {#282 …}
$pipe: "App\Http\Middleware\Language"
}
}
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/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 $this->addCookieToResponse($request, $next($request));
}
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']);
}
/**
* Determine if the application is running unit tests.
*
* @return bool
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/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)) {
list($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];
}
return method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
$parameters = explode(',', $parameters);
}
return [$name, $parameters];
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure {#308
class: "Illuminate\Routing\Pipeline"
this: Pipeline {#276 …}
parameters: {
$passable: {}
}
use: {
$stack: Closure {#307 …}
$pipe: "Illuminate\Routing\Middleware\SubstituteBindings"
}
}
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/View
/Middleware
/ShareErrorsFromSession.php
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
// If the current session has an "errors" variable bound to it, we will share
// its value with all view instances so the views can easily access errors
// without having to bind. An empty bag is set when there aren't errors.
$this->view->share(
'errors', $request->session()->get('errors') ?: new ViewErrorBag
);
// Putting the errors in the view for every view allows the developer to just
// assume that some errors are always available, which is convenient since
// they don't have to continually run checks for the presence of errors.
return $next($request);
}
}
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/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)) {
list($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];
}
return method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
$parameters = explode(',', $parameters);
}
return [$name, $parameters];
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure {#309
class: "Illuminate\Routing\Pipeline"
this: Pipeline {#276 …}
parameters: {
$passable: {}
}
use: {
$stack: Closure {#308 …}
$pipe: "App\Http\Middleware\VerifyCsrfToken"
}
}
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/Session
/Middleware
/StartSession.php
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$this->sessionHandled = true;
// If a session driver has been configured, we will need to start the session here
// so that the data is ready for an application. Note that the Laravel sessions
// do not make use of PHP "native" sessions in any way since they are crappy.
if ($this->sessionConfigured()) {
$request->setLaravelSession(
$session = $this->startSession($request)
);
$this->collectGarbage($session);
}
$response = $next($request);
// Again, if the session has been configured we will need to close out the session
// so that the attributes may be persisted to some storage medium. We will also
// add the session identifier cookie to the application response headers now.
if ($this->sessionConfigured()) {
$this->storeCurrentUrl($request, $session);
$this->addCookieToResponse($response, $session);
}
return $response;
}
/**
* Perform any final actions for the request lifecycle.
*
* @param \Illuminate\Http\Request $request
* @param \Symfony\Component\HttpFoundation\Response $response
* @return void
*/
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/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)) {
list($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];
}
return method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
$parameters = explode(',', $parameters);
}
return [$name, $parameters];
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure {#310
class: "Illuminate\Routing\Pipeline"
this: Pipeline {#276 …}
parameters: {
$passable: {}
}
use: {
$stack: Closure {#309 …}
$pipe: "Illuminate\View\Middleware\ShareErrorsFromSession"
}
}
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/Cookie
/Middleware
/AddQueuedCookiesToResponse.php
* Create a new CookieQueue instance.
*
* @param \Illuminate\Contracts\Cookie\QueueingFactory $cookies
* @return void
*/
public function __construct(CookieJar $cookies)
{
$this->cookies = $cookies;
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$response = $next($request);
foreach ($this->cookies->getQueuedCookies() as $cookie) {
$response->headers->setCookie($cookie);
}
return $response;
}
}
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/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)) {
list($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];
}
return method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
$parameters = explode(',', $parameters);
}
return [$name, $parameters];
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure {#311
class: "Illuminate\Routing\Pipeline"
this: Pipeline {#276 …}
parameters: {
$passable: {}
}
use: {
$stack: Closure {#310 …}
$pipe: "Illuminate\Session\Middleware\StartSession"
}
}
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/Cookie
/Middleware
/EncryptCookies.php
* Disable encryption for the given cookie name(s).
*
* @param string|array $cookieName
* @return void
*/
public function disableFor($cookieName)
{
$this->except = array_merge($this->except, (array) $cookieName);
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
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 => $c) {
if ($this->isDisabled($key)) {
continue;
}
try {
$request->cookies->set($key, $this->decryptCookie($key, $c));
} catch (DecryptException $e) {
$request->cookies->set($key, null);
}
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/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)) {
list($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];
}
return method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
$parameters = explode(',', $parameters);
}
return [$name, $parameters];
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure {#312
class: "Illuminate\Routing\Pipeline"
this: Pipeline {#276 …}
parameters: {
$passable: {}
}
use: {
$stack: Closure {#311 …}
$pipe: "Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse"
}
}
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/Pipeline
/Pipeline.php
public function via($method)
{
$this->method = $method;
return $this;
}
/**
* Run the pipeline with a final destination callback.
*
* @param \Closure $destination
* @return mixed
*/
public function then(Closure $destination)
{
$pipeline = array_reduce(
array_reverse($this->pipes), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Get the final piece of the Closure onion.
*
* @param \Closure $destination
* @return \Closure
*/
protected function prepareDestination(Closure $destination)
{
return function ($passable) use ($destination) {
return $destination($passable);
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/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 {#281
class: "Illuminate\Routing\Router"
this: Router {#25 …}
parameters: {
$request: {}
}
use: {
$route: Route {#174 …}
}
}
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Router.php
return $route;
}
/**
* Return the response for the given route.
*
* @param Route $route
* @param Request $request
* @return mixed
*/
protected function runRoute(Request $request, Route $route)
{
$request->setRouteResolver(function () use ($route) {
return $route;
});
$this->events->dispatch(new Events\RouteMatched($route, $request));
return $this->prepareResponse($request,
$this->runRouteWithinStack($route, $request)
);
}
/**
* Run the given route within a Stack "onion" instance.
*
* @param \Illuminate\Routing\Route $route
* @param \Illuminate\Http\Request $request
* @return mixed
*/
protected function runRouteWithinStack(Route $route, Request $request)
{
$shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
$this->container->make('middleware.disable') === true;
$middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
return (new Pipeline($this->container))
->send($request)
->through($middleware)
Arguments
Route {#174}
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Router.php
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
*/
public function dispatch(Request $request)
{
$this->currentRequest = $request;
return $this->dispatchToRoute($request);
}
/**
* Dispatch the request to a route and return the response.
*
* @param \Illuminate\Http\Request $request
* @return mixed
*/
public function dispatchToRoute(Request $request)
{
return $this->runRoute($request, $this->findRoute($request));
}
/**
* Find the route matching a given request.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Routing\Route
*/
protected function findRoute($request)
{
$this->current = $route = $this->routes->match($request);
$this->container->instance(Route::class, $route);
return $route;
}
/**
* Return the response for the given route.
*
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Route {#174}
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Router.php
* @return mixed
*/
public function respondWithRoute($name)
{
$route = tap($this->routes->getByName($name))->bind($this->currentRequest);
return $this->runRoute($this->currentRequest, $route);
}
/**
* Dispatch the request to the application.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
*/
public function dispatch(Request $request)
{
$this->currentRequest = $request;
return $this->dispatchToRoute($request);
}
/**
* Dispatch the request to a route and return the response.
*
* @param \Illuminate\Http\Request $request
* @return mixed
*/
public function dispatchToRoute(Request $request)
{
return $this->runRoute($request, $this->findRoute($request));
}
/**
* Find the route matching a given request.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Routing\Route
*/
protected function findRoute($request)
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/Foundation
/Http
/Kernel.php
* @return void
*/
public function bootstrap()
{
if (! $this->app->hasBeenBootstrapped()) {
$this->app->bootstrapWith($this->bootstrappers());
}
}
/**
* Get the route dispatcher callback.
*
* @return \Closure
*/
protected function dispatchToRouter()
{
return function ($request) {
$this->app->instance('request', $request);
return $this->router->dispatch($request);
};
}
/**
* Call the terminate method on any terminable middleware.
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Http\Response $response
* @return void
*/
public function terminate($request, $response)
{
$this->terminateMiddleware($request, $response);
$this->app->terminate();
}
/**
* Call the terminate method on any terminable middleware.
*
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Pipeline.php
use Symfony\Component\Debug\Exception\FatalThrowableError;
/**
* This extended pipeline catches any exceptions that occur during each slice.
*
* The exceptions are converted to HTTP responses for proper middleware handling.
*/
class Pipeline extends BasePipeline
{
/**
* Get the final piece of the Closure onion.
*
* @param \Closure $destination
* @return \Closure
*/
protected function prepareDestination(Closure $destination)
{
return function ($passable) use ($destination) {
try {
return $destination($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/Foundation
/Http
/Middleware
/TransformsRequest.php
* The additional attributes passed to the middleware.
*
* @var array
*/
protected $attributes = [];
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next, ...$attributes)
{
$this->attributes = $attributes;
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
* @param \Illuminate\Http\Request $request
* @return void
*/
protected function clean($request)
{
$this->cleanParameterBag($request->query);
if ($request->isJson()) {
$this->cleanParameterBag($request->json());
} else {
$this->cleanParameterBag($request->request);
}
}
/**
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/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)) {
list($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];
}
return method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
$parameters = explode(',', $parameters);
}
return [$name, $parameters];
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure {#164
class: "Illuminate\Routing\Pipeline"
this: Pipeline {#30 …}
parameters: {
$passable: {}
}
use: {
$destination: Closure {#22 …}
}
}
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/Foundation
/Http
/Middleware
/TransformsRequest.php
* The additional attributes passed to the middleware.
*
* @var array
*/
protected $attributes = [];
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next, ...$attributes)
{
$this->attributes = $attributes;
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
* @param \Illuminate\Http\Request $request
* @return void
*/
protected function clean($request)
{
$this->cleanParameterBag($request->query);
if ($request->isJson()) {
$this->cleanParameterBag($request->json());
} else {
$this->cleanParameterBag($request->request);
}
}
/**
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/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)) {
list($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];
}
return method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
$parameters = explode(',', $parameters);
}
return [$name, $parameters];
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure {#187
class: "Illuminate\Routing\Pipeline"
this: Pipeline {#30 …}
parameters: {
$passable: {}
}
use: {
$stack: Closure {#164 …}
$pipe: "Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull"
}
}
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/Foundation
/Http
/Middleware
/ValidatePostSize.php
class ValidatePostSize
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*
* @throws \Illuminate\Http\Exceptions\PostTooLargeException
*/
public function handle($request, Closure $next)
{
$max = $this->getPostMaxSize();
if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
throw new PostTooLargeException;
}
return $next($request);
}
/**
* Determine the server 'post_max_size' as bytes.
*
* @return int
*/
protected function getPostMaxSize()
{
if (is_numeric($postMaxSize = ini_get('post_max_size'))) {
return (int) $postMaxSize;
}
$metric = strtoupper(substr($postMaxSize, -1));
$postMaxSize = (int) $postMaxSize;
switch ($metric) {
case 'K':
return $postMaxSize * 1024;
case 'M':
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/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)) {
list($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];
}
return method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
$parameters = explode(',', $parameters);
}
return [$name, $parameters];
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure {#199
class: "Illuminate\Routing\Pipeline"
this: Pipeline {#30 …}
parameters: {
$passable: {}
}
use: {
$stack: Closure {#187 …}
$pipe: "App\Http\Middleware\TrimStrings"
}
}
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/Foundation
/Http
/Middleware
/CheckForMaintenanceMode.php
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*
* @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);
throw new MaintenanceModeException($data['time'], $data['retry'], $data['message']);
}
return $next($request);
}
}
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/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)) {
list($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];
}
return method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
$parameters = explode(',', $parameters);
}
return [$name, $parameters];
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure {#258
class: "Illuminate\Routing\Pipeline"
this: Pipeline {#30 …}
parameters: {
$passable: {}
}
use: {
$stack: Closure {#199 …}
$pipe: "Illuminate\Foundation\Http\Middleware\ValidatePostSize"
}
}
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/Routing
/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/Pipeline
/Pipeline.php
public function via($method)
{
$this->method = $method;
return $this;
}
/**
* Run the pipeline with a final destination callback.
*
* @param \Closure $destination
* @return mixed
*/
public function then(Closure $destination)
{
$pipeline = array_reduce(
array_reverse($this->pipes), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Get the final piece of the Closure onion.
*
* @param \Closure $destination
* @return \Closure
*/
protected function prepareDestination(Closure $destination)
{
return function ($passable) use ($destination) {
return $destination($passable);
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/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 {#22
class: "Illuminate\Foundation\Http\Kernel"
this: Kernel {#29 …}
parameters: {
$request: {}
}
}
/var
/www
/yh
/vendor
/laravel
/framework
/src
/Illuminate
/Foundation
/Http
/Kernel.php
$router->middlewareGroup($key, $middleware);
}
foreach ($this->routeMiddleware as $key => $middleware) {
$router->aliasMiddleware($key, $middleware);
}
}
/**
* Handle an incoming HTTP request.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
public function handle($request)
{
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Exception $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
} catch (Throwable $e) {
$this->reportException($e = new FatalThrowableError($e));
$response = $this->renderException($request, $e);
}
$this->app['events']->dispatch(
new Events\RequestHandled($request, $response)
);
return $response;
}
/**
* Send the given request through the middleware / router.
*
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/yh
/public
/index.php
*/
$app = require_once __DIR__.'/../bootstrap/app.php';
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
Arguments
Request {#42
#json: null
#convertedFiles: null
#userResolver: Closure {#272
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#41 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application {#2 …}
}
}
#routeResolver: Closure {#274
class: "Illuminate\Routing\Router"
this: Router {#25 …}
use: {
$route: Route {#174 …}
}
}
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/services/Physiotherapy%2520Treatment"
#requestUri: "/en/services/Physiotherapy%2520Treatment"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#122}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}