/home2/cplus/public_html/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php
}
public function readUInt16Many($count) {
return array_values(unpack("n*", $this->read($count * 2)));
}
public function readUFWord() {
return $this->readUInt16();
}
public function writeUInt16($data) {
return $this->write(pack("n", $data), 2);
}
public function writeUFWord($data) {
return $this->writeUInt16($data);
}
public function readInt16() {
$a = unpack("nn", $this->read(2));
$v = $a["n"];
if ($v >= 0x8000) {
$v -= 0x10000;
}
return $v;
}
public function readInt16Many($count) {
$vals = array_values(unpack("n*", $this->read($count * 2)));
foreach ($vals as &$v) {
if ($v >= 0x8000) {
$v -= 0x10000;
}
}
return $vals;
}
Arguments
"unpack(): Type n: not enough input, need 2, have 0"
/home2/cplus/public_html/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php
}
public function readUInt16Many($count) {
return array_values(unpack("n*", $this->read($count * 2)));
}
public function readUFWord() {
return $this->readUInt16();
}
public function writeUInt16($data) {
return $this->write(pack("n", $data), 2);
}
public function writeUFWord($data) {
return $this->writeUInt16($data);
}
public function readInt16() {
$a = unpack("nn", $this->read(2));
$v = $a["n"];
if ($v >= 0x8000) {
$v -= 0x10000;
}
return $v;
}
public function readInt16Many($count) {
$vals = array_values(unpack("n*", $this->read($count * 2)));
foreach ($vals as &$v) {
if ($v >= 0x8000) {
$v -= 0x10000;
}
}
return $vals;
}
Arguments
/home2/cplus/public_html/vendor/phenx/php-font-lib/src/FontLib/Glyph/Outline.php
public $yMin;
public $xMax;
public $yMax;
/**
* @var string|null
*/
public $raw;
/**
* @param glyf $table
* @param $offset
* @param $size
*
* @return Outline
*/
static function init(glyf $table, $offset, $size, BinaryStream $font) {
$font->seek($offset);
if ($font->readInt16() > -1) {
/** @var OutlineSimple $glyph */
$glyph = new OutlineSimple($table, $offset, $size);
}
else {
/** @var OutlineComposite $glyph */
$glyph = new OutlineComposite($table, $offset, $size);
}
$glyph->parse($font);
return $glyph;
}
/**
* @return File
*/
function getFont() {
return $this->table->getFont();
}
/home2/cplus/public_html/vendor/phenx/php-font-lib/src/FontLib/Table/Type/glyf.php
/**
* `glyf` font table.
*
* @package php-font-lib
* @property Outline[] $data
*/
class glyf extends Table {
protected function _parse() {
$font = $this->getFont();
$offset = $font->pos();
$loca = $font->getData("loca");
$real_loca = array_slice($loca, 0, -1); // Not the last dummy loca entry
$data = array();
foreach ($real_loca as $gid => $location) {
$_offset = $offset + $loca[$gid];
$_size = $loca[$gid + 1] - $loca[$gid];
$data[$gid] = Outline::init($this, $_offset, $_size, $font);
}
$this->data = $data;
}
public function getGlyphIDs($gids = array()) {
$glyphIDs = array();
foreach ($gids as $_gid) {
$_glyph = $this->data[$_gid];
$glyphIDs = array_merge($glyphIDs, $_glyph->getGlyphIDs());
}
return array_unique(array_merge($gids, $glyphIDs));
}
public function toHTML() {
$max = 160;
$font = $this->getFont();
Arguments
FontLib\Table\Type\glyf {#1433}
129520
0
FontLib\TrueType\File {#1454}
/home2/cplus/public_html/vendor/phenx/php-font-lib/src/FontLib/Table/Table.php
if (false && empty($this->def)) {
$length = $this->_encodeRaw();
}
else {
$length = $this->_encode();
}
$this->entry->endWrite();
return $length;
}
final public function parse() {
$this->entry->startRead();
if (false && empty($this->def)) {
$this->_parseRaw();
}
else {
$this->_parse();
}
$this->entry->endRead();
}
}
/home2/cplus/public_html/vendor/phenx/php-font-lib/src/FontLib/TrueType/File.php
protected function readTable($tag) {
$this->parseTableEntries();
if (!self::$raw) {
$name_canon = preg_replace("/[^a-z0-9]/", "", strtolower($tag));
$class = "FontLib\\Table\\Type\\$name_canon";
if (!isset($this->directory[$tag]) || !@class_exists($class)) {
return;
}
}
else {
$class = "FontLib\\Table\\Table";
}
/** @var Table $table */
$table = new $class($this->directory[$tag]);
$table->parse();
$this->data[$tag] = $table;
}
/**
* @param $name
*
* @return Table
*/
public function getTableObject($name) {
return $this->data[$name];
}
public function setTableObject($name, Table $data) {
$this->data[$name] = $data;
}
public function getData($name, $key = null) {
$this->parseTableEntries();
/home2/cplus/public_html/vendor/phenx/php-font-lib/src/FontLib/TrueType/File.php
);
function getTable() {
$this->parseTableEntries();
return $this->directory;
}
function setTableOffset($offset) {
$this->tableOffset = $offset;
}
function parse() {
$this->parseTableEntries();
$this->data = array();
foreach ($this->directory as $tag => $table) {
if (empty($this->data[$tag])) {
$this->readTable($tag);
}
}
}
function utf8toUnicode($str) {
$len = mb_strlen($str, '8bit');
$out = array();
for ($i = 0; $i < $len; $i++) {
$uni = -1;
$h = ord($str[$i]);
if ($h <= 0x7F) {
$uni = $h;
}
elseif ($h >= 0xC2) {
if (($h <= 0xDF) && ($i < $len - 1)) {
$uni = ($h & 0x1F) << 6 | (ord($str[++$i]) & 0x3F);
}
elseif (($h <= 0xEF) && ($i < $len - 2)) {
Arguments
/home2/cplus/public_html/vendor/dompdf/dompdf/src/FontMetrics.php
}
$localTempFile = @tempnam($this->options->get("tempDir"), "dompdf-font-");
file_put_contents($localTempFile, $remoteFileContent);
$font = Font::load($localTempFile);
if (!$font) {
unlink($localTempFile);
return false;
}
switch ($font->getFontType()) {
case "TrueType":
default:
$localFile .= ".ttf";
break;
}
$font->parse();
$font->saveAdobeFontMetrics("$cacheEntry.ufm");
$font->close();
unlink($localTempFile);
if ( !file_exists("$cacheEntry.ufm") ) {
return false;
}
// Save the changes
file_put_contents($localFile, $remoteFileContent);
if ( !file_exists($localFile) ) {
unlink("$cacheEntry.ufm");
return false;
}
$this->setFontFamily($fontname, $entry);
$this->saveFontFamilies();
/home2/cplus/public_html/vendor/dompdf/dompdf/src/Css/Stylesheet.php
if (!$source["local"] && in_array($source["format"], ["", "truetype"])) {
$valid_sources[] = $source;
}
$sources[] = $source;
}
// No valid sources
if (empty($valid_sources)) {
return;
}
$style = [
"family" => $descriptors->get_font_family_raw(),
"weight" => $descriptors->font_weight,
"style" => $descriptors->font_style,
];
$this->getFontMetrics()->registerFont($style, $valid_sources[0]["path"], $this->_dompdf->getHttpContext());
}
/**
* parse regular CSS blocks
*
* _parse_properties() creates a new Style object based on the provided
* CSS rules.
*
* @param string $str CSS rules
* @return Style
*/
private function _parse_properties($str)
{
$properties = preg_split("/;(?=(?:[^\(]*\([^\)]*\))*(?![^\)]*\)))/", $str);
$DEBUGCSS = $this->_dompdf->getOptions()->getDebugCss();
if ($DEBUGCSS) {
print '[_parse_properties';
}
Arguments
array:3 [
"family" => "varela round"
"weight" => "400"
"style" => "normal"
]
"https://fonts.gstatic.com/s/varelaround/v20/w8gdH283Tvk__Lua32TysjIvoA.ttf"
null
/home2/cplus/public_html/vendor/dompdf/dompdf/src/Css/Stylesheet.php
case ":even":
/** @noinspection PhpMissingBreakStatementInspection */
case ":first":
$key = $page_selector;
break;
default:
break 2;
}
// Store the style for later...
if (empty($this->_page_styles[$key])) {
$this->_page_styles[$key] = $this->_parse_properties($match[5]);
} else {
$this->_page_styles[$key]->merge($this->_parse_properties($match[5]));
}
break;
case "font-face":
$this->_parse_font_face($match[5]);
break;
default:
// ignore everything else
break;
}
continue;
}
if ($match[7] !== "") {
$this->_parse_sections($match[7]);
}
}
}
/**
* Resolve the given `url()` declaration to an absolute URL.
*
* @param string|null $val The declaration to resolve in the context of the stylesheet.
Arguments
"""
font-family: 'Varela Round';\n
font-style: normal;\n
font-weight: 400;\n
font-display: swap;\n
src: url(https://fonts.gstatic.com/s/varelaround/v20/w8gdH283Tvk__Lua32TysjIvoA.ttf) format('truetype');\n
"""
/home2/cplus/public_html/vendor/dompdf/dompdf/src/Css/Stylesheet.php
$good_mime_type = true;
// See http://the-stickman.com/web-development/php/getting-http-response-headers-when-using-file_get_contents/
if (isset($http_response_header) && !$this->_dompdf->getQuirksmode()) {
foreach ($http_response_header as $_header) {
if (preg_match("@Content-Type:\s*([\w/]+)@i", $_header, $matches) &&
($matches[1] !== "text/css")
) {
$good_mime_type = false;
}
}
}
if (!$good_mime_type || $css === null) {
Helpers::record_warnings(E_USER_WARNING, "Unable to load css file $file", __FILE__, __LINE__);
return;
}
}
$this->_parse_css($css);
}
/**
* @link http://www.w3.org/TR/CSS21/cascade.html#specificity
*
* @param string $selector
* @param int $origin :
* - Stylesheet::ORIG_UA: user agent style sheet
* - Stylesheet::ORIG_USER: user style sheet
* - Stylesheet::ORIG_AUTHOR: author style sheet
*
* @return int
*/
private function _specificity($selector, $origin = self::ORIG_AUTHOR)
{
// http://www.w3.org/TR/CSS21/cascade.html#specificity
// ignoring the ":" pseudoclass modifiers
// also ignored in _css_selector_to_xpath
$a = ($selector === "!attr") ? 1 : 0;
Arguments
"""
@font-face {\n
font-family: 'Varela Round';\n
font-style: normal;\n
font-weight: 400;\n
font-display: swap;\n
src: url(https://fonts.gstatic.com/s/varelaround/v20/w8gdH283Tvk__Lua32TysjIvoA.ttf) format('truetype');\n
}
"""
/home2/cplus/public_html/vendor/dompdf/dompdf/src/Dompdf.php
if (count($formedialist) > 0) {
$accept = false;
foreach ($formedialist as $type) {
if (in_array(mb_strtolower(trim($type)), $acceptedmedia)) {
$accept = true;
break;
}
}
if (!$accept) {
//found at least one mediatype, but none of the accepted ones
//Skip this css file.
break;
}
}
$url = $tag->getAttribute("href");
$url = Helpers::build_url($this->protocol, $this->baseHost, $this->basePath, $url);
$this->css->load_css_file($url, Stylesheet::ORIG_AUTHOR);
}
break;
// load <style> tags
case "style":
// Accept all <style> tags by default (note this is contrary to W3C
// HTML 4.0 spec:
// http://www.w3.org/TR/REC-html40/present/styles.html#adef-media
// which states that the default media type is 'screen'
if ($tag->hasAttributes() &&
($media = $tag->getAttribute("media")) &&
!in_array($media, $acceptedmedia)
) {
break;
}
$css = "";
if ($tag->hasChildNodes()) {
$child = $tag->firstChild;
while ($child) {
Arguments
"https://fonts.googleapis.com/css2?family=Varela+Round&display=swap"
3
/home2/cplus/public_html/vendor/dompdf/dompdf/src/Dompdf.php
* Renders the HTML to PDF
*/
public function render()
{
$this->setPhpConfig();
$options = $this->options;
$logOutputFile = $options->getLogOutputFile();
if ($logOutputFile) {
if (!file_exists($logOutputFile) && is_writable(dirname($logOutputFile))) {
touch($logOutputFile);
}
$startTime = microtime(true);
if (is_writable($logOutputFile)) {
ob_start();
}
}
$this->processHtml();
$this->css->apply_styles($this->tree);
// @page style rules : size, margins
$pageStyles = $this->css->get_page_styles();
$basePageStyle = $pageStyles["base"];
unset($pageStyles["base"]);
foreach ($pageStyles as $pageStyle) {
$pageStyle->inherit($basePageStyle);
}
$defaultOptionPaperSize = $this->getPaperSize($options->getDefaultPaperSize());
// If there is a CSS defined paper size compare to the paper size used to create the canvas to determine a
// recreation need
if (is_array($basePageStyle->size)) {
$basePageStyleSize = $basePageStyle->size;
$this->setPaper([0, 0, $basePageStyleSize[0], $basePageStyleSize[1]]);
}
/home2/cplus/public_html/vendor/barryvdh/laravel-dompdf/src/PDF.php
* @param string $filename
* @return \Illuminate\Http\Response
*/
public function stream($filename = 'document.pdf' ){
$output = $this->output();
return new Response($output, 200, array(
'Content-Type' => 'application/pdf',
'Content-Disposition' => 'inline; filename="'.$filename.'"',
));
}
/**
* Render the PDF
*/
protected function render(){
if(!$this->dompdf){
throw new Exception('DOMPDF not created yet');
}
$this->dompdf->render();
if ( $this->showWarnings ) {
global $_dompdf_warnings;
if(!empty($_dompdf_warnings) && count($_dompdf_warnings)){
$warnings = '';
foreach ($_dompdf_warnings as $msg){
$warnings .= $msg . "\n";
}
// $warnings .= $this->dompdf->get_canvas()->get_cpdf()->messages;
if(!empty($warnings)){
throw new Exception($warnings);
}
}
}
$this->rendered = true;
}
public function setEncryption($password) {
if (!$this->dompdf) {
/home2/cplus/public_html/vendor/barryvdh/laravel-dompdf/src/PDF.php
/**
* Set/Change an option in DomPdf
*
* @param array $options
* @return static
*/
public function setOptions(array $options) {
$options = new Options($options);
$this->dompdf->setOptions($options);
return $this;
}
/**
* Output the PDF as a string.
*
* @return string The rendered PDF as string
*/
public function output(){
if(!$this->rendered){
$this->render();
}
return $this->dompdf->output();
}
/**
* Save the PDF to a file
*
* @param $filename
* @return static
*/
public function save($filename){
$this->files->put($filename, $this->output());
return $this;
}
/**
* Make the PDF downloadable by the user
*
* @param string $filename
* @return \Illuminate\Http\Response
/home2/cplus/public_html/vendor/barryvdh/laravel-dompdf/src/PDF.php
* @param string $filename
* @return \Illuminate\Http\Response
*/
public function download($filename = 'document.pdf' ){
$output = $this->output();
return new Response($output, 200, array(
'Content-Type' => 'application/pdf',
'Content-Disposition' => 'attachment; filename="'.$filename.'"',
'Content-Length' => strlen($output),
));
}
/**
* Return a response with the PDF to show in the browser
*
* @param string $filename
* @return \Illuminate\Http\Response
*/
public function stream($filename = 'document.pdf' ){
$output = $this->output();
return new Response($output, 200, array(
'Content-Type' => 'application/pdf',
'Content-Disposition' => 'inline; filename="'.$filename.'"',
));
}
/**
* Render the PDF
*/
protected function render(){
if(!$this->dompdf){
throw new Exception('DOMPDF not created yet');
}
$this->dompdf->render();
if ( $this->showWarnings ) {
global $_dompdf_warnings;
if(!empty($_dompdf_warnings) && count($_dompdf_warnings)){
$warnings = '';
/home2/cplus/public_html/app/Http/Controllers/HomeController.php
}
$bp_part_link = BonPlan::query()
->select('*', 'bonplan.id as id_bp', 'bonplan.title as title_bp')
->leftjoin('bonplan_categorie','bonplan_categorie.id', '=', 'bonplan.categorie_id_bp')
->leftjoin('bonplan_lieu','bonplan_lieu.id', '=', 'bonplan.lieu_id_bp')
->leftjoin('file','file.id', '=', 'bonplan.file_id')
->where('bonplan.etat', 1)
->whereIn('bonplan.id', $bp_part_select)
->orderBy("ordre_bp", "desc")
->get();
$idpage = 0;
$bonplan = $lebonplan;
return PDF::loadView('bonplanpdf', compact('bonplan', 'bp_part_link'))
->setPaper('a4', 'portrait')
// ->setWarnings(false)
// ->save(public_path("storage/documents/fichier.pdf"))
->stream($lebonplan->title." - Les Bons Plans d'Annecy.pdf");
// return view('bonplanpdf')->with(["bp_part_link"=>$bp_part_link, "bonplan" => $lebonplan, "parametre" => $lesparametres,"titlepage" => $lebonplan->title_bp]);
}
public function indexIncontournables()
{
$parametres = Parameter::all();
foreach ($parametres as $parametre) {
$lesparametres[$parametre->name_parameter] = $parametre->value_parameter;
}
$incontournables = Incontournable::query()
->select('*','file.*', 'incontournable.id as id_incontournable')
->leftjoin('file','file.id', '=', 'incontournable.file_id')
->where('etat', 1)
->orderBy('ordre_incontournable', 'asc')
->get();
// CONTENU
Arguments
"Tour du Semnoz - Les Bons Plans d'Annecy.pdf"
/home2/cplus/public_html/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
/home2/cplus/public_html/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\HomeController {#396}
1 => "indexPDFBonPlan"
]
array:1 [
"permalink" => "tour-du-semnoz"
]
/home2/cplus/public_html/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
"indexPDFBonPlan"
array:1 [
"permalink" => "tour-du-semnoz"
]
/home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php
*
* @return bool
*/
protected function isSerializedClosure()
{
return is_string($this->action['uses']) &&
Str::startsWith($this->action['uses'], 'C:32:"Opis\\Closure\\SerializableClosure') !== false;
}
/**
* 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 {#201}
App\Http\Controllers\HomeController {#396}
"indexPDFBonPlan"
/home2/cplus/public_html/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']) && ! $this->isSerializedClosure();
}
/**
* Run the route action and return the response.
/home2/cplus/public_html/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)
{
$excluded = collect($route->excludedMiddleware())->map(function ($name) {
return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
})->flatten()->values()->all();
$middleware = collect($route->gatherMiddleware())->map(function ($name) {
return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
})->flatten()->reject(function ($name) use ($excluded) {
return in_array($name, $excluded, true);
/home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
* @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
*/
protected function prepareDestination(Closure $destination)
{
return function ($passable) use ($destination) {
try {
return $destination($passable);
} catch (Throwable $e) {
return $this->handleException($passable, $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 {
if (is_callable($pipe)) {
// If the pipe is a callable, then we will call it directly, but otherwise we
// will resolve the pipes out of the dependency container and call it with
// the appropriate method and arguments, returning the results back out.
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home2/cplus/public_html/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 {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home2/cplus/public_html/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];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* 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, []);
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#423 …4}
/home2/cplus/public_html/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 {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home2/cplus/public_html/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];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* 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, []);
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#424 …4}
/home2/cplus/public_html/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 {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home2/cplus/public_html/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];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* 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, []);
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#425 …4}
/home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
/**
* Handle the given request within session state.
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Contracts\Session\Session $session
* @param \Closure $next
* @return mixed
*/
protected function handleStatefulRequest(Request $request, $session, Closure $next)
{
// 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(
$this->startSession($request, $session)
);
$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
* @param \Illuminate\Contracts\Session\Session $session
* @return \Illuminate\Contracts\Session\Session
*/
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if (! $this->sessionConfigured()) {
return $next($request);
}
$session = $this->getSession($request);
if ($this->manager->shouldBlock() ||
($request->route() instanceof Route && $request->route()->locksFor())) {
return $this->handleRequestWhileBlocking($request, $session, $next);
} else {
return $this->handleStatefulRequest($request, $session, $next);
}
}
/**
* Handle the given request within session state.
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Contracts\Session\Session $session
* @param \Closure $next
* @return mixed
*/
protected function handleRequestWhileBlocking(Request $request, $session, Closure $next)
{
if (! $request->route() instanceof Route) {
return;
}
$lockFor = $request->route() && $request->route()->locksFor()
? $request->route()->locksFor()
: 10;
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Illuminate\Session\Store {#437}
Closure($passable) {#426 …4}
/home2/cplus/public_html/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];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* 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, []);
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#426 …4}
/home2/cplus/public_html/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 {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home2/cplus/public_html/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];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* 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, []);
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#427 …4}
/home2/cplus/public_html/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 {
$value = $this->decryptCookie($key, $cookie);
$hasValidPrefix = strpos($value, CookieValuePrefix::create($key, $this->encrypter->getKey())) === 0;
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home2/cplus/public_html/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];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* 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, []);
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#428 …4}
/home2/cplus/public_html/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 {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home2/cplus/public_html/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)
{
$excluded = collect($route->excludedMiddleware())->map(function ($name) {
return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
})->flatten()->values()->all();
$middleware = collect($route->gatherMiddleware())->map(function ($name) {
return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
})->flatten()->reject(function ($name) use ($excluded) {
return in_array($name, $excluded, true);
})->values();
Arguments
Closure($request) {#422 …4}
/home2/cplus/public_html/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 \Symfony\Component\HttpFoundation\Response
*/
protected function runRoute(Request $request, Route $route)
{
$request->setRouteResolver(function () use ($route) {
return $route;
});
$this->events->dispatch(new 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 {#201}
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
*
* @param \Illuminate\Http\Request $request
* @return \Symfony\Component\HttpFoundation\Response
*/
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 \Symfony\Component\HttpFoundation\Response
*/
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 {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Illuminate\Routing\Route {#201}
/home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
* @return \Symfony\Component\HttpFoundation\Response
*/
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 \Symfony\Component\HttpFoundation\Response
*/
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 \Symfony\Component\HttpFoundation\Response
*/
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 {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home2/cplus/public_html/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 {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
* @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
*/
protected function prepareDestination(Closure $destination)
{
return function ($passable) use ($destination) {
try {
return $destination($passable);
} catch (Throwable $e) {
return $this->handleException($passable, $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 {
if (is_callable($pipe)) {
// If the pipe is a callable, then we will call it directly, but otherwise we
// will resolve the pipes out of the dependency container and call it with
// the appropriate method and arguments, returning the results back out.
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home2/cplus/public_html/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 {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home2/cplus/public_html/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];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* 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, []);
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#235 …4}
/home2/cplus/public_html/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 {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home2/cplus/public_html/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];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* 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, []);
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#383 …4}
/home2/cplus/public_html/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 {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home2/cplus/public_html/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];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* 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, []);
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#384 …4}
/home2/cplus/public_html/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 {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home2/cplus/public_html/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];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* 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, []);
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#385 …4}
/home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php
}
}
if (isset($data['template'])) {
return response(
$data['template'],
$data['status'] ?? 503,
isset($data['retry']) ? ['Retry-After' => $data['retry']] : []
);
}
throw new HttpException(
$data['status'] ?? 503,
'Service Unavailable',
null,
isset($data['retry']) ? ['Retry-After' => $data['retry']] : []
);
}
return $next($request);
}
/**
* Determine if the incoming request has a maintenance mode bypass cookie.
*
* @param \Illuminate\Http\Request $request
* @param array $data
* @return bool
*/
protected function hasValidBypassCookie($request, array $data)
{
return isset($data['secret']) &&
$request->cookie('laravel_maintenance') &&
MaintenanceModeBypassCookie::isValid(
$request->cookie('laravel_maintenance'),
$data['secret']
);
}
/**
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home2/cplus/public_html/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];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* 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, []);
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#386 …4}
/home2/cplus/public_html/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 {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home2/cplus/public_html/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) {#40 …4}
/home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
public function __construct(Application $app, Router $router)
{
$this->app = $app;
$this->router = $router;
$this->syncMiddlewareToRouter();
}
/**
* 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 (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
$this->app['events']->dispatch(
new RequestHandled($request, $response)
);
return $response;
}
/**
* Send the given request through the middleware / router.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
protected function sendRequestThroughRouter($request)
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home2/cplus/public_html/public/index.php
*/
$app = require_once __DIR__.'/../bootstrap/app.php';
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#391 …4}
#routeResolver: Closure() {#395 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/bons-plans/pdf/tour-du-semnoz"
#requestUri: "/bons-plans/pdf/tour-du-semnoz"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#437}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home2/cplus/public_html/server.php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylor@laravel.com>
*/
$uri = urldecode(
parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
);
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
// built-in PHP web server. This provides a convenient way to test a Laravel
// application without having installed a "real" web server software here.
if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) {
return false;
}
require_once __DIR__.'/public/index.php';
Arguments
"/home2/cplus/public_html/public/index.php"