/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/app/Http/Controllers/PublicController.php
</div>','<div class="page-title-name"><h1>' . $config['category']->name . ' Oils and Lubricants</h1></div>',$html
);
$html = str_replace(
'<li class="active">internalpage</li>','<li>Sectors</li><li class="active">' . $config['category']->name . ' Oils and Lubricants</li>',$html
);
$html = str_replace(
'<title>internalpage :: Morris Lubricants</title>','<title>' . $config['category']->name . ' Oils and Lubricants - Morris Lubricants</title>',$html
);
return $html;
}
public function productList($tag,$subcat){
$config = $this->getConfig();
$config['category'] = Category::whereSlug('/products/' . $tag . '/' . $subcat . '.html')->first();
$config['pcategory'] = Category::find($config['category']->parent_id);
$config['products'] = $config['category']->products()
->where('paused','=','0')
->where('id','!=', 367)
->where('id','!=', 368)
->where('id','!=', 369)
->where('id','!=', 370)
->where('id','!=', 371)
->where('id','!=', 372)
->where('id','!=', 377)
->where('id','!=', 378)
->where('id','!=', 379)
->where('id','!=', 380)
->where('id','!=', 382)
->where('id','!=', 383)
->get();
$html = $config['basehtml'];
$html = str_replace('-CONTENT-',view('public.products')->with($config),$html);
$html = str_replace(
'<div class="page-title-name">
<h1>internalpage</h1>
Arguments
"Trying to get property 'parent_id' of non-object"
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/app/Http/Controllers/PublicController.php
</div>','<div class="page-title-name"><h1>' . $config['category']->name . ' Oils and Lubricants</h1></div>',$html
);
$html = str_replace(
'<li class="active">internalpage</li>','<li>Sectors</li><li class="active">' . $config['category']->name . ' Oils and Lubricants</li>',$html
);
$html = str_replace(
'<title>internalpage :: Morris Lubricants</title>','<title>' . $config['category']->name . ' Oils and Lubricants - Morris Lubricants</title>',$html
);
return $html;
}
public function productList($tag,$subcat){
$config = $this->getConfig();
$config['category'] = Category::whereSlug('/products/' . $tag . '/' . $subcat . '.html')->first();
$config['pcategory'] = Category::find($config['category']->parent_id);
$config['products'] = $config['category']->products()
->where('paused','=','0')
->where('id','!=', 367)
->where('id','!=', 368)
->where('id','!=', 369)
->where('id','!=', 370)
->where('id','!=', 371)
->where('id','!=', 372)
->where('id','!=', 377)
->where('id','!=', 378)
->where('id','!=', 379)
->where('id','!=', 380)
->where('id','!=', 382)
->where('id','!=', 383)
->get();
$html = $config['basehtml'];
$html = str_replace('-CONTENT-',view('public.products')->with($config),$html);
$html = str_replace(
'<div class="page-title-name">
<h1>internalpage</h1>
Arguments
8
"Trying to get property 'parent_id' of non-object"
"/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/app/Http/Controllers/PublicController.php"
78
array:3 [
"tag" => "classsteam"
"subcat" => "compound-bearing-oils"
"config" => array:2 [
"basehtml" => """
\n
<!DOCTYPE html>\n
<html lang="en"><head>\n
<meta charset="utf-8">\n
<meta http-equiv="X-UA-Compatible" content="IE=edge">\n
<meta name="keywords" content="lubricants, oils, fluids, cars, vans, motor lubricant, motor oils, gearbox fluid, agricultural, automotive, metalworking fluids, oil blenders, industrial lubricant" />\n
<meta name="description" content="Leading UK manufacturer of world-class lubricants and associated products. A Tradition in Excellence since 1869" />\n
<meta name="author" content="Morris Lubricants" />\n
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />\n
\n
\n
<title>internalpage :: Morris Lubricants</title>\n
\n
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>\n
<meta name="generator" content="concrete5 - 8.4.1"/>\n
<link rel="canonical" href="https://morrislubricants.co.uk/internalpage">\n
<script type="text/javascript">\n
var CCM_DISPATCHER_FILENAME = "/index.php";\n
var CCM_CID = 4544;\n
var CCM_EDIT_MODE = false;\n
var CCM_ARRANGE_MODE = false;\n
var CCM_IMAGE_PATH = "/concrete/images";\n
var CCM_TOOLS_PATH = "/index.php/tools/required";\n
var CCM_APPLICATION_URL = "https://morrislubricants.co.uk";\n
var CCM_REL = "";\n
var CCM_ACTIVE_LOCALE = "en_GB";\n
</script>\n
\n
\n
<!-- Favicon -->\n
<link rel="shortcut icon" href="/application/themes/MorrisTheme/images/favicon.ico" />\n
\n
<!-- font -->\n
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat:300,300i,400,500,500i,600,700,800,900|Poppins:200,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900">\n
\n
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">\n
\n
\n
<!-- Plugins -->\n
<link rel="stylesheet" type="text/css" href="/application/themes/MorrisTheme/css/plugins-css.css" />\n
\n
<!-- revoluation -->\n
<link rel="stylesheet" type="text/css" href="/application/themes/MorrisTheme/revolution/css/settings.css" media="screen" />\n
\n
<!-- Typography -->\n
<link rel="stylesheet" type="text/css" href="/application/themes/MorrisTheme/css/typography.css" />\n
\n
<!-- Shortcodes -->\n
<link rel="stylesheet" type="text/css" href="/application/themes/MorrisTheme/css/shortcodes/shortcodes.css" />\n
\n
<!-- Style -->\n
<link rel="stylesheet" type="text/css" href="/application/themes/MorrisTheme/css/style.css" />\n
<link rel="stylesheet" type="text/css" href="/application/themes/MorrisTheme/css/skins/skin-morris-yellow.css" />\n
\n
<!-- shop -->\n
<link href="/application/themes/MorrisTheme/css/shop.css" rel="stylesheet" type="text/css" />\n
\n
\n
<!-- Responsive -->\n
<link rel="stylesheet" type="text/css" href="/application/themes/MorrisTheme/css/responsive.css" />\n
\n
\n
<!-- Facebook Pixel Code -->\n
<script>\n
! function(f, b, e, v, n, t, s) {\n
if (f.fbq) return;\n
n = f.fbq = function() {\n
n.callMethod ?\n
n.callMethod.apply(n, arguments) : n.queue.push(arguments)\n
};\n
if (!f._fbq) f._fbq = n;\n
n.push = n;\n
n.loaded = !0;\n
n.version = '2.0';\n
n.queue = [];\n
t = b.createElement(e);\n
t.async = !0;\n
t.src = v;\n
s = b.getElementsByTagName(e)[0];\n
s.parentNode.insertBefore(t, s)\n
}(window, document, 'script',\n
'https://connect.facebook.net/en_US/fbevents.js');\n
fbq('init', '348733537136012');\n
fbq('track', 'PageView');\n
</script>\n
<noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=348733537136012&ev=PageView&noscript=1" /></noscript>\n
<!-- End Facebook Pixel Code -->\n
\n
<!-- Google tag (gtag.js) -->\n
<script async src="https://www.googletagmanager.com/gtag/js?id=G-3SF7SLJE41"></script>\n
<script>\n
window.dataLayer = window.dataLayer || [];\n
\n
function gtag() {\n
dataLayer.push(arguments);\n
}\n
gtag('js', new Date());\n
\n
gtag('config', 'G-3SF7SLJE41');\n
</script></head>\n
\n
<body >\n
\n
\n
<div class="c5wrapper wrapper">\n
\n
\n
<!--=================================\n
header -->\n
\n
<header id="header" class="header dark fullwidth">\n
<div class="topbar">\n
<div class="container-fluid">\n
<div class="row">\n
<div class="col-lg-6 col-md-6 col-xs-6">\n
\n
<div class="topbar-social text-left">\n
<ul>\n
<li style="margin-right: 20px;"><a href="/" target="_blank"><span class="ti-home"></span></a></li>\n
\n
<li><a href="https://www.facebook.com/Morrislubricants" target="_blank"><span class="ti-facebook"></span></a></li>\n
<li><a href="https://twitter.com/morrisoil" target="_blank"><span class="ti-twitter"></span></a></li>\n
<li><a href="https://www.linkedin.com/company/3635972/" target="_blank"><span class="ti-linkedin"></span></a></li>\n
<li><a href="https://www.youtube.com/channel/UCYp6ELGt5AM1BBGAkP785BQ" target="_blank"><span class="ti-youtube"></span></a></li>\n
<li><a href="https://www.instagram.com/morrislubricantsuk" target="_blank"><span class="ti-instagram"></span></a></li>\n
\n
</ul>\n
</div>\n
</div>\n
<div class="col-lg-6 col-md-6 col-xs-6">\n
<div class="topbar-call text-right">\n
<ul>\n
<li><i class="fa fa-phone"></i> <a href="tel:+441743232200"> <span>+44 (0) 1743 232 200 </span> </a> </li>\n
</ul>\n
</div>\n
</div>\n
</div>\n
</div>\n
</div>\n
\n
<!--=================================\n
mega menu -->\n
\n
<div class="menu">\n
<!-- menu start -->\n
<nav id="menu" class="mega-menu">\n
<!-- menu list items container -->\n
<section class="menu-list-items">\n
<div class="container-fluid">\n
<div class="row">\n
<div class="col-lg-12 col-md-12">\n
<!-- menu logo -->\n
<ul class="menu-logo">\n
<li>\n
<a href="/"><img id="logo_img" src="/application/themes/MorrisTheme/images/logo.png" alt="logo"> </a>\n
</li>\n
</ul>\n
<!-- menu links -->\n
<div class="menu-bar">\n
<ul class="menu-links">\n
\n
<li><a href="javascript:void(0)">Products <i class="fa fa-angle-down fa-indicator"></i></a>\n
<!-- drop down full width -->\n
<div class="drop-down menu-bg grid-col-12" id="primarunavcounter">\n
<!--grid row-->\n
<div class="grid-row">\n
<!--grid column 1-->\n
<div class="grid-col-3">\n
\n
<ul>\n
<li class="active"><a href="/products.html"><i class="fa fa-th mb-10"></i> Product Sectors</a></li>\n
<li><a href="/products/auto.html" title="Automotive">Automotive</a></li>\n
<li><a href="/products/moto.html" title="Motorcycle">Motorcycle</a></li>\n
<li><a href="/products/cv.html" title="Commercial Vehicles">Commercial Vehicles</a></li>\n
<li><a href="/products/source.html" title="Agriculture">Agriculture</a></li>\n
<li><a href="/products/offh.html" title="Off Highway">Off Highway</a></li>\n
<li><a href="/products/powgen.html" title="Power Generation">Power Generation</a></li>\n
</ul>\n
</div>\n
<!--grid column 2-->\n
<div class="grid-col-3">\n
<p><BR></p><ul>\n
<li><a href="/products/ind.html" title="Industrial">Industrial</a></li>\n
<li><a href="/products/classsteam.html" title="Heritage & Steam">Heritage & Steam</a></li>\n
<li><a href="/products/hort.html" title="Horticulture">Horticulture</a></li>\n
<li><a href="/products/mar.html" title="Marine">Marine</a></li>\n
<li><a href="/products/rail.html" title="Rail">Rail</a></li>\n
<li><a href="/products/motorsport.html" title="Motorsport">Motorsport</a></li>\n
</ul><p><BR><BR></p>\n
</div>\n
<!--grid column 3-->\n
<!--\n
<div class="grid-col-4">\n
<ul>\n
<li><a href="/brands"><i class="fa fa-th mb-10"></i> Our Brands</a></li>\n
<li><a href="/terralus" title="Terralus" >Terralus</a></li>\n
<li><a href="/ground-force" title="Ground Force" >Ground Force</a></li>\n
<li><a href="/golden-film" title="Golden Film" >Golden Film</a></li>\n
<li><a href="/multivis" title="Multivis" >Multivis <span class="label label-success">New</span> </a></li>\n
<li><a href="/versimax" title="Versimax" >Versimax</a></li>\n
<li><a href="/workshop_pro" title="Workshop PRO" >Workshop PRO</a></li>\n
</ul>\n
</div>\n
-->\n
<!--grid column 4-->\n
<div class="grid-col-6">\n
<p><BR></p><ul>\n
<li><a href="http://www.morrislubricantsonline.co.uk/" title="Morris Lubricants Online">Buy Online</a></li>\n
<li><a href="/distributors" title="Find a Morris Lubricants Distributor UK">UK Distributor Finder</a></li>\n
<li><a href="/dealerlocator" title="Find a Morris Lubricants Distributor">International Distributor Finder</a></li>\n
<li><a href="/nerve-center/brochures" title="Brochures">Brochures</a></li>\n
<li><a href="/contact-us" title="Contact the Sales Team">Contact the Sales Team</a></li>\n
</ul>\n
</div>\n
</div>\n
</div>\n
</li>\n
\n
\n
\n
<li><a href="/products.html">Sectors</a></li>\n
\n
\n
<li><a href="javascript:void(0)">Services <i class="fa fa-angle-down fa-indicator"></i></a>\n
<!-- drop down multilevel -->\n
<ul class="drop-down-multilevel right-side">\n
\n
\n
<li><a href="https://morrislubricants.co.uk/nerve-center/whatoil">WhatOil </a></li><li><a href="https://morrislubricants.co.uk/nerve-center/ask-ade">Ask Ade Technical Advice </a></li><li><a href="https://morrislubricants.co.uk/nerve-center/nerve-centre">Nerve Centre </a></li><li><a href="https://fuelcalculator.morrislubricants.co.uk/">Fuel Calculator </a></li><li><a href="https://morrislubricants.co.uk/nerve-center/power-generation">Power Generation </a></li><li><a href="https://morrislubricants.co.uk/nerve-center/brochures">Brochures </a></li><li><a href="https://morrislubricants.co.uk/nerve-center/morris-lubricants-training-academy">The Morris Lubricants Training Academy </a></li>\n
\n
\n
</ul>\n
</li>\n
<li><a href="javascript:void(0)">About <i class="fa fa-angle-down fa-indicator"></i></a>\n
<!-- drop down multilevel -->\n
<ul class="drop-down-multilevel right-side">\n
\n
<li><a href="https://morrislubricants.co.uk/our-story/who-we-are">Who We Are </a></li><li><a href="javascript:void(0)">Our History <i class="ti-plus fa-indicator"></i></a><ul class="drop-down-multilevel left-side"><li><a href="https://morrislubricants.co.uk/our-story/our_story">Timeline </a></li><li><a href="https://morrislubricants.co.uk/our-story/our-history/Talisman">Talisman Tour </a></li><li><a href="https://morrislubricants.co.uk/our-story/our-history/how-build-steam-engine">How we built a steam engine </a></li></ul></li><li><a href="https://morrislubricants.co.uk/our-story/people">Our People </a></li><li><a href="javascript:void(0)">Latest News <i class="ti-plus fa-indicator"></i></a><ul class="drop-down-multilevel left-side"><li><a href="https://morrislubricants.co.uk/our-story/news/product-news">Product News </a></li><li><a href="https://morrislubricants.co.uk/our-story/news/business-news">Business News </a></li><li><a href="https://morrislubricants.co.uk/our-story/news/technical-updates">Technical Updates </a></li><li><a href="https://morrislubricants.co.uk/our-story/news/racing-news">Racing News </a></li><li><a href="https://morrislubricants.co.uk/our-story/news/talismans-first-major-pull">Talisman's First Major Pull </a></li><li><a href="https://morrislubricants.co.uk/our-story/news/lubrinews">Lubrinews </a></li></ul></li><li><a href="https://morrislubricants.co.uk/our-story/accreditations">Certifications </a></li>\n
<li><a href="javascript:void(0)">Our Brand Ambassadors<i class="ti-plus fa-indicator"></i></a>\n
<ul class="drop-down-multilevel left-side">\n
<li><a href="javascript:void(0)">Guy Martin <i class="ti-plus fa-indicator"></i></a><ul class="drop-down-multilevel left-side"><li><a href="https://morrislubricants.co.uk/garage/guy-martin/guy-martin">Guy & Morris Lubricants </a></li><li><a href="https://morrislubricants.co.uk/garage/guy-martin/guy-news">Guy News </a></li><li><a href="https://morrislubricants.co.uk/garage/guy-martin/how-oil-used-guy-martin-commercial-vehicle-edition">How Oil is Used with Guy Martin (Commercial Vehicle Edition) </a></li><li><a href="https://morrislubricants.co.uk/garage/guy-martin/how-oil-made-guy-martin">How Oil is Made with Guy Martin </a></li><li><a href="https://morrislubricants.co.uk/garage/guy-martin/how-oil-used-guy-martin-agricultural-edition">How Oil is Used with Guy Martin (Agricultural Edition) </a></li><li><a href="https://morrislubricants.co.uk/garage/guy-martin/guy-martin-lab-equipments-specials">Guy Martin Lab Equipment Specials </a></li></ul></li><li><a href="https://morrislubricants.co.uk/garage/mlr-racing/dave-jenkins">Dave Jenkins </a></li><li><a href="https://morrislubricants.co.uk/garage/racing-and-motorsport-sponsorship">Racing and Motorsport Sponsorship </a></li><li><a href="https://morrislubricants.co.uk/garage/racing-stories-morris-lubricants">Racing stories </a></li> </ul>\n
</li>\n
<li><a href="/our-story/testimonials">Testimonials</a></li>\n
</ul>\n
</li>\n
<li><a href="javascript:void(0)">International <i class="fa fa-angle-down fa-indicator"></i></a>\n
<!-- drop down multilevel -->\n
<ul class="drop-down-multilevel right-side">\n
<li><a href="https://morrislubricants.co.uk/exports/export">Introduction </a></li><li><a href="https://morrislubricants.co.uk/exports/testimonials">Testimonials </a></li><li><a href="http://morrislubricants.co.uk/dealerlocator">International Distributor Finder </a></li> </ul>\n
</li>\n
\n
\n
<li><a href="javascript:void(0)">Buy Now <i class="fa fa-angle-down fa-indicator"></i></a>\n
<!-- drop down multilevel -->\n
<ul class="drop-down-multilevel right-side">\n
<li><a href="https://www.morrislubricantsonline.co.uk/">Buy online</a></li>\n
<li><a href="http://morrislubricants.co.uk/distributors">UK distribution finder</a></li>\n
<li><a href="http://morrislubricants.co.uk/dealerlocator">International distribution finder</a></li>\n
<li><a href="https://www.morrislubricants.co.uk/contact-us">Call the sales team</a></li>\n
</ul>\n
</li>\n
<li><a href="/contact-us">Contact</a></li>\n
\n
</ul>\n
<div class="search-cart">\n
<div class="search">\n
<a class="search-btn not_click" href="javascript:void(0);"></a>\n
<div class="search-box not-click theme-color">\n
<form action="/products/search.html" method="get" class="fsearch">\n
<input type="text" class="not-click form-control" placeholder="Search" value="" name="q">\n
<i onClick="jQuery('.fsearch').submit()" class="fa fa-search"></i>\n
<input type="submit" style="visibility: hidden;width:1px">\n
</form> </div>\n
</div>\n
\t\t\t\t</div>\n
\n
\n
</div>\n
\n
\n
</div>\n
</div>\n
</div>\n
</section>\n
</nav>\n
<!-- menu end -->\n
</div>\n
</header>\n
<div class="header--push"></div>\n
\n
\n
<!--=================================\n
header -->\n
\n
<!--=================================\n
page-title-->\n
\n
<section class="page-title small gray-bg">\n
<div class="container-fluid p-2">\n
<div class="row">\n
<div class="col-lg-12">\n
<div class="page-title-name">\n
<h1>internalpage</h1>\n
</div>\n
\n
<nav role="navigation" aria-label="breadcrumb" class="morris-nav-breadcrumb"><ul class="breadcrumb page-breadcrumb morris-breadcrumb"><li><a href="https://morrislubricants.co.uk/" target="_self">Home</a></li> <li class="active">internalpage</li></ol></nav>\n
</div>\n
</div>\n
</div>\n
</section>\n
\n
<!--=================================\n
page-title -->\n
\n
<!--=================================\n
main content -->\n
<div class="ccm-page page-type-page page-template-full" style="padding-left:30px;padding-right:30px;">\n
\n
\n
-CONTENT-\n
\n
</div>\n
</section>\n
\n
\n
<!--=================================\n
shop -->\n
\n
<!--=================================\n
raindrops -->\n
\n
<section id="raindrops" class="raindrops" style="height: 50px; display: none;"></section>\n
\n
<!--=================================\n
raindrops -->\n
\n
<!--=================================\n
action-box -->\n
\n
<section class="contact-box contact-box-top theme-bg mt-40">\n
<div class="container">\n
<div class="row pt-40 pb-40">\n
<div class="col-lg-4 col-sm-4 xs-mb-30">\n
<div class="contact-box">\n
<div class="contact-icon">\n
<i class="ti-map-alt text-blue"></i>\n
</div>\n
<div class="contact-info">\n
<h5 class="text-blue"> Morris Lubricants, Castle Foregate</h5>\n
<span class="text-blue">Shrewsbury, Shropshire. SY1 2EL</span>\n
</div>\n
</div>\n
</div>\n
<div class="col-lg-4 col-sm-4 xs-mb-30">\n
<div class="contact-box">\n
<div class="contact-icon">\n
<i class="ti-email text-blue"></i>\n
</div>\n
<div class="contact-info">\n
<h5 class="text-blue"><a href="mailto:info@morris-lubricants.co.uk" class="text-blue">info@morris-lubricants.co.uk </a></h5>\n
<span class="text-blue"></span>\n
</div>\n
</div>\n
</div>\n
<div class="col-lg-4 col-sm-4 xs-mb-30">\n
<div class="contact-box">\n
<div class="contact-icon">\n
<i class="ti-headphone text-blue"></i>\n
</div>\n
<div class="contact-info">\n
<h5 class="text-blue"><a href="tel:+44 (0) 1743 232 200" class="text-blue">+44 (0) 1743 232 200</a></h5>\n
<span class="text-blue">Mon-Fri 8:45am to 5:00pm</span>\n
</div>\n
</div>\n
</div>\n
\n
</div>\n
</div>\n
</section>\n
\n
<!--=================================\n
action-box -->\n
\n
\n
<!--=================================\n
footer -->\n
\n
<footer class="footer page-section-pt black-bg">\n
<div class="container">\n
<div class="row">\n
<div class="col-lg-4 col-md-4 col-sm-6 xs-mb-30">\n
<div class="footer-hedding">\n
<h6 class="text-white mb-30 mt-10 text-uppercase">Certifications</h6>\n
<div class="footer-social-big">\n
<img class="img-responsive" src="/application/themes/MorrisTheme/images/logo-accred-new-small_MAY_2023.png" alt="Morris Lubricants Accrediations">\n
</div>\n
</div>\n
</div>\n
<div class="col-lg-3 col-md-3 col-sm-6 xs-mb-30">\n
<div class="footer-useful-link footer-hedding">\n
<h6 class="text-white mb-30 mt-10 text-uppercase">Useful Links</h6>\n
\n
\n
\n
\n
<ul class="" id="BLOCK_24545"><li class=""><a href="https://morrislubricants.co.uk/terms" target="_self" class="">Terms & Conditions</a></li><li class=""><a href="https://morrislubricants.co.uk/application/files/5716/3947/4778/Morris_Lubricants_Privacy_Policy_Iss_2_Sept_21.pdf" target="_blank" class="">Privacy Policy</a></li><li class=""><a href="https://morrislubricants.co.uk/cookies" target="_self" class="">Cookies Policy</a></li><li class=""><a href="https://www.morrislubricants.co.uk/application/files/2316/7118/9755/Morris_Lube_Modern_Slavery_Act_Statement_FY2022.pdf" target="_blank" class="">Modern Slavery Statement</a></li><li class=""><a href="https://morrislubricants.co.uk/application/files/6716/3947/4778/Paterson_-_SIP_July_21_Public_ID_3150562.pdf" target="_blank" class="">Statement of Investment Principles</a></li><li class=""><a href="https://morrislubricants.co.uk/download_file/11671/4544" target="_blank" class="">Returns Policy</a></li><li class=""><a href="https://morrislubricants.co.uk/application/files/6416/4189/6974/Paterson_Enterprises_Pension_Scheme_2021_-_Chairs_statement.pdf" target="_blank" class="">DC Chair Statement 2021</a></li></ul>\n
\n
\n
\n
</div>\n
</div>\n
<div class="col-lg-5 col-md-5 col-sm-6 xs-mb-30">\n
<h6 class="text-white mb-30 mt-10 text-uppercase">Contact Us</h6>\n
<ul class="addresss-info">\n
<li><i class="fa fa-map-marker"></i> <p>Address: Castle Foregate, Shrewsbury, Shropshire. SY1 2EL</p> </li>\n
<li><i class="fa fa-phone"></i> <a href="tel:01743232200"> <span>+44 (0) 1743 232 200 </span> </a> </li>\n
<li><i class="fa fa-envelope-o"></i> <a href="mailto:info@morris-lubricants.co.uk"> <span>info@morris-lubricants.co.uk</span> </a> </li>\n
</ul>\n
</div>\n
</div>\n
<div class="footer-widget mt-20">\n
<div class="row">\n
<div class="col-lg-6 col-md-6 col-sm-6 xs-mb-20">\n
<p class="mt-15"> ©Copyright <span id="copyright"> <script>document.getElementById('copyright').appendChild(document.createTextNode(new Date().getFullYear()))</script></span> <a href="https://www.morris-lubricants.co.uk"> Morris Lubricants </a> All Rights Reserved </p>\n
</div>\n
<div class="col-lg-6 col-md-6 col-sm-6 text-right xs-text-left">\n
<div class="footer-widget-social">\n
<ul>\n
<li><a href="https://www.facebook.com/Morrislubricants" target="_blank"><i class="fa fa-facebook"></i></a></li>\n
<li><a href="https://twitter.com/morrisoil" target="_blank"><i class="fa fa-twitter"></i></a></li>\n
<li><a href="https://www.youtube.com/channel/UCYp6ELGt5AM1BBGAkP785BQ" target="_blank"><i class="fa fa-youtube"></i> </a></li>\n
<li><a href="https://www.linkedin.com/company/3635972/" target="_blank"><i class="fa fa-linkedin"></i> </a></li>\n
<li><a href="https://www.instagram.com/morrislubricantsuk" target="_blank"><i class="fa fa-instagram"></i></a></li>\n
</ul>\n
</div>\n
</div>\n
</div>\n
</div>\n
</div>\n
</footer>\n
\n
<!--=================================\n
footer -->\n
\n
\n
\n
\n
\n
<div id="back-to-top"><a class="top arrow" href="#top"><i class="fa fa-angle-up"></i> <span>TOP</span></a></div>\n
\n
<!--=================================\n
jquery -->\n
\n
<!-- jquery -->\n
<script type="text/javascript" src="/application/themes/MorrisTheme/js/jquery-1.12.4.min.js"></script>\n
\n
<!-- plugins-jquery -->\n
<script type="text/javascript" src="/application/themes/MorrisTheme/js/plugins-jquery.js"></script>\n
<script type="text/javascript" src="/application/themes/MorrisTheme/js/plugins-js-displayonly.js"></script>\n
\n
<!-- plugin_path -->\n
<script type="text/javascript">var plugin_path = '/application/themes/MorrisTheme/js/';</script>\n
\n
<!-- plugins-jquery -->\n
<script type="text/javascript" src="/application/themes/MorrisTheme/js/slick/slick.min.js"></script>\n
\n
\n
<!-- custom -->\n
<script type="text/javascript" src="/application/themes/MorrisTheme/js/custom.js?v=28"></script>\n
<script>\n
setInterval(function(){\n
jQuery('.ccm-panel-detail').css({display:'block'})\n
},1000);\n
</script>\n
<script type="text/javascript">\n
//<![CDATA[\n
var _gaq = _gaq || [];\n
\n
_gaq.push(['_setAccount', 'UA-60537080-1']);\n
\n
_gaq.push(['_trackPageview']);\n
\n
(function() {\n
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;\n
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';\n
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);\n
})();\n
\n
//]]>\n
</script>\n
\n
\n
<script>\n
jQuery(function($){\n
$('#primarunavcounter').on('click',function(e){\n
if (e.target.nodeName == 'A'){\n
\n
}else{\n
window.open('http://www.whatoildoineed.com/','_blank');\n
}\n
\n
});\n
});\n
</script>\n
\n
\n
\n
\n
</body>\n
</html>\n
"""
"category" => null
]
]
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/vendor/laravel/framework/src/Illuminate/Routing/Controller.php
/**
* Get the middleware assigned to the controller.
*
* @return array
*/
public function getMiddleware()
{
return $this->middleware;
}
/**
* Execute an action on the controller.
*
* @param string $method
* @param array $parameters
* @return \Symfony\Component\HttpFoundation\Response
*/
public function callAction($method, $parameters)
{
return call_user_func_array([$this, $method], $parameters);
}
/**
* Handle calls to missing methods on the controller.
*
* @param string $method
* @param array $parameters
* @return mixed
*
* @throws \BadMethodCallException
*/
public function __call($method, $parameters)
{
throw new BadMethodCallException(sprintf(
'Method %s::%s does not exist.', static::class, $method
));
}
}
Arguments
"classsteam"
"compound-bearing-oils"
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/vendor/laravel/framework/src/Illuminate/Routing/Controller.php
/**
* Get the middleware assigned to the controller.
*
* @return array
*/
public function getMiddleware()
{
return $this->middleware;
}
/**
* Execute an action on the controller.
*
* @param string $method
* @param array $parameters
* @return \Symfony\Component\HttpFoundation\Response
*/
public function callAction($method, $parameters)
{
return call_user_func_array([$this, $method], $parameters);
}
/**
* Handle calls to missing methods on the controller.
*
* @param string $method
* @param array $parameters
* @return mixed
*
* @throws \BadMethodCallException
*/
public function __call($method, $parameters)
{
throw new BadMethodCallException(sprintf(
'Method %s::%s does not exist.', static::class, $method
));
}
}
Arguments
array:2 [
0 => App\Http\Controllers\PublicController {#228}
1 => "productList"
]
array:2 [
"tag" => "classsteam"
"product" => "compound-bearing-oils"
]
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/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
"productList"
array:2 [
"tag" => "classsteam"
"product" => "compound-bearing-oils"
]
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/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
Illuminate\Routing\Route {#179}
App\Http\Controllers\PublicController {#228}
"productList"
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/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.
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/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);
}
/**
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/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
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/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
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->getContainer()->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
Arguments
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
Closure($passable) {#238 …4}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/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
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*
* @throws \Illuminate\Session\TokenMismatchException
*/
public function handle($request, Closure $next)
{
if (
$this->isReading($request) ||
$this->runningUnitTests() ||
$this->inExceptArray($request) ||
$this->tokensMatch($request)
) {
return tap($next($request), function ($response) use ($request) {
if ($this->shouldAddXsrfTokenCookie()) {
$this->addCookieToResponse($request, $response);
}
});
}
throw new TokenMismatchException('CSRF token mismatch.');
}
/**
* Determine if the HTTP request uses a ‘read’ verb.
*
* @param \Illuminate\Http\Request $request
* @return bool
*/
protected function isReading($request)
{
return in_array($request->method(), ['HEAD', 'GET', 'OPTIONS']);
}
Arguments
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->getContainer()->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
Arguments
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
Closure($passable) {#240 …4}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/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
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/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
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->getContainer()->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
Arguments
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
Closure($passable) {#241 …4}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/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
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if (! $this->sessionConfigured()) {
return $next($request);
}
// If a session driver has been configured, we will need to start the session here
// so that the data is ready for an application. Note that the Laravel sessions
// do not make use of PHP "native" sessions in any way since they are crappy.
$request->setLaravelSession(
$session = $this->startSession($request)
);
$this->collectGarbage($session);
$response = $next($request);
$this->storeCurrentUrl($request, $session);
$this->addCookieToResponse($response, $session);
// Again, if the session has been configured we will need to close out the session
// so that the attributes may be persisted to some storage medium. We will also
// add the session identifier cookie to the application response headers now.
$this->saveSession($request);
return $response;
}
/**
* Start the session for the given request.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Contracts\Session\Session
*/
protected function startSession(Request $request)
Arguments
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->getContainer()->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
Arguments
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
Closure($passable) {#242 …4}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/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
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/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
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->getContainer()->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
Arguments
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
Closure($passable) {#243 …4}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/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
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php
* Disable encryption for the given cookie name(s).
*
* @param string|array $name
* @return void
*/
public function disableFor($name)
{
$this->except = array_merge($this->except, (array) $name);
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return \Symfony\Component\HttpFoundation\Response
*/
public function handle($request, Closure $next)
{
return $this->encrypt($next($this->decrypt($request)));
}
/**
* Decrypt the cookies on the request.
*
* @param \Symfony\Component\HttpFoundation\Request $request
* @return \Symfony\Component\HttpFoundation\Request
*/
protected function decrypt(Request $request)
{
foreach ($request->cookies as $key => $cookie) {
if ($this->isDisabled($key)) {
continue;
}
try {
$request->cookies->set($key, $this->decryptCookie($key, $cookie));
} catch (DecryptException $e) {
$request->cookies->set($key, null);
}
Arguments
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->getContainer()->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
Arguments
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
Closure($passable) {#244 …4}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/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
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
public function via($method)
{
$this->method = $method;
return $this;
}
/**
* Run the pipeline with a final destination callback.
*
* @param \Closure $destination
* @return mixed
*/
public function then(Closure $destination)
{
$pipeline = array_reduce(
array_reverse($this->pipes), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
* @return mixed
*/
public function thenReturn()
{
return $this->then(function ($passable) {
return $passable;
});
}
/**
* Get the final piece of the Closure onion.
*
* @param \Closure $destination
* @return \Closure
*/
Arguments
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/vendor/laravel/framework/src/Illuminate/Routing/Router.php
*
* @param \Illuminate\Routing\Route $route
* @param \Illuminate\Http\Request $request
* @return mixed
*/
protected function runRouteWithinStack(Route $route, Request $request)
{
$shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
$this->container->make('middleware.disable') === true;
$middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
return (new Pipeline($this->container))
->send($request)
->through($middleware)
->then(function ($request) use ($route) {
return $this->prepareResponse(
$request, $route->run()
);
});
}
/**
* Gather the middleware for the given route with resolved class names.
*
* @param \Illuminate\Routing\Route $route
* @return array
*/
public function gatherRouteMiddleware(Route $route)
{
$middleware = collect($route->gatherMiddleware())->map(function ($name) {
return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
})->flatten();
return $this->sortMiddleware($middleware);
}
/**
* Sort the given middleware by priority.
*
Arguments
Closure($request) {#237 …4}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/vendor/laravel/framework/src/Illuminate/Routing/Router.php
return $route;
}
/**
* Return the response for the given route.
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Routing\Route $route
* @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
*/
protected function runRoute(Request $request, Route $route)
{
$request->setRouteResolver(function () use ($route) {
return $route;
});
$this->events->dispatch(new Events\RouteMatched($route, $request));
return $this->prepareResponse($request,
$this->runRouteWithinStack($route, $request)
);
}
/**
* Run the given route within a Stack "onion" instance.
*
* @param \Illuminate\Routing\Route $route
* @param \Illuminate\Http\Request $request
* @return mixed
*/
protected function runRouteWithinStack(Route $route, Request $request)
{
$shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
$this->container->make('middleware.disable') === true;
$middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
return (new Pipeline($this->container))
->send($request)
->through($middleware)
Arguments
Illuminate\Routing\Route {#179}
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/vendor/laravel/framework/src/Illuminate/Routing/Router.php
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
*/
public function dispatch(Request $request)
{
$this->currentRequest = $request;
return $this->dispatchToRoute($request);
}
/**
* Dispatch the request to a route and return the response.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
*/
public function dispatchToRoute(Request $request)
{
return $this->runRoute($request, $this->findRoute($request));
}
/**
* Find the route matching a given request.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Routing\Route
*/
protected function findRoute($request)
{
$this->current = $route = $this->routes->match($request);
$this->container->instance(Route::class, $route);
return $route;
}
/**
* Return the response for the given route.
*
Arguments
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
Illuminate\Routing\Route {#179}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/vendor/laravel/framework/src/Illuminate/Routing/Router.php
* @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
*/
public function respondWithRoute($name)
{
$route = tap($this->routes->getByName($name))->bind($this->currentRequest);
return $this->runRoute($this->currentRequest, $route);
}
/**
* Dispatch the request to the application.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
*/
public function dispatch(Request $request)
{
$this->currentRequest = $request;
return $this->dispatchToRoute($request);
}
/**
* Dispatch the request to a route and return the response.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
*/
public function dispatchToRoute(Request $request)
{
return $this->runRoute($request, $this->findRoute($request));
}
/**
* Find the route matching a given request.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Routing\Route
*/
protected function findRoute($request)
Arguments
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/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
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/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
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/vendor/fideloper/proxy/src/TrustProxies.php
{
$this->config = $config;
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
*
* @throws \Symfony\Component\HttpKernel\Exception\HttpException
*
* @return mixed
*/
public function handle(Request $request, Closure $next)
{
$request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
$this->setTrustedProxyIpAddresses($request);
return $next($request);
}
/**
* Sets the trusted proxies on the request to the value of trustedproxy.proxies
*
* @param \Illuminate\Http\Request $request
*/
protected function setTrustedProxyIpAddresses(Request $request)
{
$trustedIps = $this->proxies ?: $this->config->get('trustedproxy.proxies');
// Trust any IP address that calls us
// `**` for backwards compatibility, but is deprecated
if ($trustedIps === '*' || $trustedIps === '**') {
return $this->setTrustedProxyIpAddressesToTheCallingIp($request);
}
// Support IPs addresses separated by comma
$trustedIps = is_string($trustedIps) ? array_map('trim', explode(',', $trustedIps)) : $trustedIps;
Arguments
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->getContainer()->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
Arguments
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
Closure($passable) {#207 …4}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/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
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
namespace Illuminate\Foundation\Http\Middleware;
use Closure;
use Symfony\Component\HttpFoundation\ParameterBag;
class TransformsRequest
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
* @param \Illuminate\Http\Request $request
* @return void
*/
protected function clean($request)
{
$this->cleanParameterBag($request->query);
if ($request->isJson()) {
$this->cleanParameterBag($request->json());
} elseif ($request->request !== $request->query) {
$this->cleanParameterBag($request->request);
}
}
/**
Arguments
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->getContainer()->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
Arguments
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
Closure($passable) {#209 …4}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/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
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
namespace Illuminate\Foundation\Http\Middleware;
use Closure;
use Symfony\Component\HttpFoundation\ParameterBag;
class TransformsRequest
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
* @param \Illuminate\Http\Request $request
* @return void
*/
protected function clean($request)
{
$this->cleanParameterBag($request->query);
if ($request->isJson()) {
$this->cleanParameterBag($request->json());
} elseif ($request->request !== $request->query) {
$this->cleanParameterBag($request->request);
}
}
/**
Arguments
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->getContainer()->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
Arguments
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
Closure($passable) {#210 …4}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/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
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/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
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->getContainer()->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
Arguments
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
Closure($passable) {#211 …4}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/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
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php
*
* @throws \Symfony\Component\HttpKernel\Exception\HttpException
*/
public function handle($request, Closure $next)
{
if ($this->app->isDownForMaintenance()) {
$data = json_decode(file_get_contents($this->app->storagePath().'/framework/down'), true);
if (isset($data['allowed']) && IpUtils::checkIp($request->ip(), (array) $data['allowed'])) {
return $next($request);
}
if ($this->inExceptArray($request)) {
return $next($request);
}
throw new MaintenanceModeException($data['time'], $data['retry'], $data['message']);
}
return $next($request);
}
/**
* Determine if the request has a URI that should be accessible in maintenance mode.
*
* @param \Illuminate\Http\Request $request
* @return bool
*/
protected function inExceptArray($request)
{
foreach ($this->except as $except) {
if ($except !== '/') {
$except = trim($except, '/');
}
if ($request->fullUrlIs($except) || $request->is($except)) {
return true;
}
}
Arguments
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->getContainer()->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
Arguments
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
Closure($passable) {#212 …4}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/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
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
public function via($method)
{
$this->method = $method;
return $this;
}
/**
* Run the pipeline with a final destination callback.
*
* @param \Closure $destination
* @return mixed
*/
public function then(Closure $destination)
{
$pipeline = array_reduce(
array_reverse($this->pipes), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
* @return mixed
*/
public function thenReturn()
{
return $this->then(function ($passable) {
return $passable;
});
}
/**
* Get the final piece of the Closure onion.
*
* @param \Closure $destination
* @return \Closure
*/
Arguments
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
}
/**
* Send the given request through the middleware / router.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
protected function sendRequestThroughRouter($request)
{
$this->app->instance('request', $request);
Facade::clearResolvedInstance('request');
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Bootstrap the application for HTTP requests.
*
* @return void
*/
public function bootstrap()
{
if (! $this->app->hasBeenBootstrapped()) {
$this->app->bootstrapWith($this->bootstrappers());
}
}
/**
* Get the route dispatcher callback.
*
* @return \Closure
*/
protected function dispatchToRouter()
Arguments
Closure($request) {#29 …4}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/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
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}
/chroot/home/a950a9a1/morrislubricantscdn.co.uk/html/products/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
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#229 …4}
#routeResolver: Closure() {#231 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/classsteam/compound-bearing-oils.html"
#requestUri: "/products/classsteam/compound-bearing-oils.html"
#baseUrl: "/products"
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#256}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
basePath: "/products"
format: "html"
}