ErrorException (E_WARNING)
unpack(): Type n: not enough input, need 2, have 0 ErrorException thrown with message "unpack(): Type n: not enough input, need 2, have 0" Stacktrace: #58 ErrorException in /home2/cplus/public_html/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php:218 #57 unpack in /home2/cplus/public_html/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php:218 #56 FontLib\BinaryStream:readInt16 in /home2/cplus/public_html/vendor/phenx/php-font-lib/src/FontLib/Glyph/Outline.php:51 #55 FontLib\Glyph\Outline:init in /home2/cplus/public_html/vendor/phenx/php-font-lib/src/FontLib/Table/Type/glyf.php:34 #54 FontLib\Table\Type\glyf:_parse in /home2/cplus/public_html/vendor/phenx/php-font-lib/src/FontLib/Table/Table.php:88 #53 FontLib\Table\Table:parse in /home2/cplus/public_html/vendor/phenx/php-font-lib/src/FontLib/TrueType/File.php:318 #52 FontLib\TrueType\File:readTable in /home2/cplus/public_html/vendor/phenx/php-font-lib/src/FontLib/TrueType/File.php:121 #51 FontLib\TrueType\File:parse in /home2/cplus/public_html/vendor/dompdf/dompdf/src/FontMetrics.php:267 #50 Dompdf\FontMetrics:registerFont in /home2/cplus/public_html/vendor/dompdf/dompdf/src/Css/Stylesheet.php:1548 #49 Dompdf\Css\Stylesheet:_parse_font_face in /home2/cplus/public_html/vendor/dompdf/dompdf/src/Css/Stylesheet.php:1397 #48 Dompdf\Css\Stylesheet:_parse_css in /home2/cplus/public_html/vendor/dompdf/dompdf/src/Css/Stylesheet.php:402 #47 Dompdf\Css\Stylesheet:load_css_file in /home2/cplus/public_html/vendor/dompdf/dompdf/src/Dompdf.php:631 #46 Dompdf\Dompdf:processHtml in /home2/cplus/public_html/vendor/dompdf/dompdf/src/Dompdf.php:743 #45 Dompdf\Dompdf:render in /home2/cplus/public_html/vendor/barryvdh/laravel-dompdf/src/PDF.php:208 #44 Barryvdh\DomPDF\PDF:render in /home2/cplus/public_html/vendor/barryvdh/laravel-dompdf/src/PDF.php:155 #43 Barryvdh\DomPDF\PDF:output in /home2/cplus/public_html/vendor/barryvdh/laravel-dompdf/src/PDF.php:193 #42 Barryvdh\DomPDF\PDF:stream in /home2/cplus/public_html/app/Http/Controllers/HomeController.php:199 #41 App\Http\Controllers\HomeController:indexPDFBonPlan in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54 #40 call_user_func_array in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54 #39 Illuminate\Routing\Controller:callAction in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45 #38 Illuminate\Routing\ControllerDispatcher:dispatch in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:255 #37 Illuminate\Routing\Route:runController in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:197 #36 Illuminate\Routing\Route:run in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:691 #35 Illuminate\Routing\Router:Illuminate\Routing\{closure} in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128 #34 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41 #33 Illuminate\Routing\Middleware\SubstituteBindings:handle in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #32 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:77 #31 Illuminate\Foundation\Http\Middleware\VerifyCsrfToken:handle in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #30 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 #29 Illuminate\View\Middleware\ShareErrorsFromSession:handle in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #28 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121 #27 Illuminate\Session\Middleware\StartSession:handleStatefulRequest in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:63 #26 Illuminate\Session\Middleware\StartSession:handle in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #25 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 #24 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse:handle in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #23 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67 #22 Illuminate\Cookie\Middleware\EncryptCookies:handle in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #21 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103 #20 Illuminate\Pipeline\Pipeline:then in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:693 #19 Illuminate\Routing\Router:runRouteWithinStack in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:668 #18 Illuminate\Routing\Router:runRoute in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:634 #17 Illuminate\Routing\Router:dispatchToRoute in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:623 #16 Illuminate\Routing\Router:dispatch in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:166 #15 Illuminate\Foundation\Http\Kernel:Illuminate\Foundation\Http\{closure} in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128 #14 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home2/cplus/public_html/vendor/fideloper/proxy/src/TrustProxies.php:57 #13 Fideloper\Proxy\TrustProxies:handle in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #12 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 #11 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #10 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 #9 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #8 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 #7 Illuminate\Foundation\Http\Middleware\ValidatePostSize:handle in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #6 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:87 #5 Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance:handle in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #4 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103 #3 Illuminate\Pipeline\Pipeline:then in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:141 #2 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /home2/cplus/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:110 #1 Illuminate\Foundation\Http\Kernel:handle in /home2/cplus/public_html/public/index.php:55 #0 require_once in /home2/cplus/public_html/server.php:21
58
ErrorException
/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php218
57
unpack
/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php218
56
FontLib\BinaryStream readInt16
/vendor/phenx/php-font-lib/src/FontLib/Glyph/Outline.php51
55
FontLib\Glyph\Outline init
/vendor/phenx/php-font-lib/src/FontLib/Table/Type/glyf.php34
54
FontLib\Table\Type\glyf _parse
/vendor/phenx/php-font-lib/src/FontLib/Table/Table.php88
53
FontLib\Table\Table parse
/vendor/phenx/php-font-lib/src/FontLib/TrueType/File.php318
52
FontLib\TrueType\File readTable
/vendor/phenx/php-font-lib/src/FontLib/TrueType/File.php121
51
FontLib\TrueType\File parse
/vendor/dompdf/dompdf/src/FontMetrics.php267
50
Dompdf\FontMetrics registerFont
/vendor/dompdf/dompdf/src/Css/Stylesheet.php1548
49
Dompdf\Css\Stylesheet _parse_font_face
/vendor/dompdf/dompdf/src/Css/Stylesheet.php1397
48
Dompdf\Css\Stylesheet _parse_css
/vendor/dompdf/dompdf/src/Css/Stylesheet.php402
47
Dompdf\Css\Stylesheet load_css_file
/vendor/dompdf/dompdf/src/Dompdf.php631
46
Dompdf\Dompdf processHtml
/vendor/dompdf/dompdf/src/Dompdf.php743
45
Dompdf\Dompdf render
/vendor/barryvdh/laravel-dompdf/src/PDF.php208
44
Barryvdh\DomPDF\PDF render
/vendor/barryvdh/laravel-dompdf/src/PDF.php155
43
Barryvdh\DomPDF\PDF output
/vendor/barryvdh/laravel-dompdf/src/PDF.php193
42
Barryvdh\DomPDF\PDF stream
/app/Http/Controllers/HomeController.php199
41
App\Http\Controllers\HomeController indexPDFBonPlan
/vendor/laravel/framework/src/Illuminate/Routing/Controller.php54
40
call_user_func_array
/vendor/laravel/framework/src/Illuminate/Routing/Controller.php54
39
Illuminate\Routing\Controller callAction
/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php45
38
Illuminate\Routing\ControllerDispatcher dispatch
/vendor/laravel/framework/src/Illuminate/Routing/Route.php255
37
Illuminate\Routing\Route runController
/vendor/laravel/framework/src/Illuminate/Routing/Route.php197
36
Illuminate\Routing\Route run
/vendor/laravel/framework/src/Illuminate/Routing/Router.php691
35
Illuminate\Routing\Router Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php128
34
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php41
33
Illuminate\Routing\Middleware\SubstituteBindings handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
32
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php77
31
Illuminate\Foundation\Http\Middleware\VerifyCsrfToken handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
30
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php49
29
Illuminate\View\Middleware\ShareErrorsFromSession handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
28
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php121
27
Illuminate\Session\Middleware\StartSession handleStatefulRequest
/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php63
26
Illuminate\Session\Middleware\StartSession handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
25
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php37
24
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
23
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php67
22
Illuminate\Cookie\Middleware\EncryptCookies handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
21
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php103
20
Illuminate\Pipeline\Pipeline then
/vendor/laravel/framework/src/Illuminate/Routing/Router.php693
19
Illuminate\Routing\Router runRouteWithinStack
/vendor/laravel/framework/src/Illuminate/Routing/Router.php668
18
Illuminate\Routing\Router runRoute
/vendor/laravel/framework/src/Illuminate/Routing/Router.php634
17
Illuminate\Routing\Router dispatchToRoute
/vendor/laravel/framework/src/Illuminate/Routing/Router.php623
16
Illuminate\Routing\Router dispatch
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php166
15
Illuminate\Foundation\Http\Kernel Illuminate\Foundation\Http\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php128
14
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/fideloper/proxy/src/TrustProxies.php57
13
Fideloper\Proxy\TrustProxies handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
12
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php21
11
Illuminate\Foundation\Http\Middleware\TransformsRequest handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
10
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php21
9
Illuminate\Foundation\Http\Middleware\TransformsRequest handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
8
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php27
7
Illuminate\Foundation\Http\Middleware\ValidatePostSize handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
6
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php87
5
Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
4
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php103
3
Illuminate\Pipeline\Pipeline then
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php141
2
Illuminate\Foundation\Http\Kernel sendRequestThroughRouter
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php110
1
Illuminate\Foundation\Http\Kernel handle
/public/index.php55
0
require_once
/server.php21
/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
  1. "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
  1. "nn"
    
  2. ""
    
/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
  1. FontLib\Table\Type\glyf {#1846}
    
  2. 129520
    
  3. 0
    
  4. FontLib\TrueType\File {#1867}
    
/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
  1. "glyf"
    
/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
  1. array:3 [
      "family" => "varela round"
      "weight" => "400"
      "style" => "normal"
    ]
    
  2. "https://fonts.gstatic.com/s/varelaround/v20/w8gdH283Tvk__Lua32TysjIvoA.ttf"
    
  3. 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
  1. """
    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
  1. """
    @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
  1. "https://fonts.googleapis.com/css2?family=Varela+Round&display=swap"
    
  2. 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
  1. "Le gite de Pontgibaud - 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
  1. "le-gite-de-pontgibaud"
    
/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
  1. array:2 [
      0 => App\Http\Controllers\HomeController {#396}
      1 => "indexPDFBonPlan"
    ]
    
  2. array:1 [
      "permalink" => "le-gite-de-pontgibaud"
    ]
    
/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
  1. "indexPDFBonPlan"
    
  2. array:1 [
      "permalink" => "le-gite-de-pontgibaud"
    ]
    
/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
  1. Illuminate\Routing\Route {#201}
    
  2. App\Http\Controllers\HomeController {#396}
    
  3. "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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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"
    }
    
  2. 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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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"
    }
    
  2. 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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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"
    }
    
  2. 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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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"
    }
    
  2. Illuminate\Session\Store {#437}
    
  3. 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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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"
    }
    
  2. 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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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"
    }
    
  2. 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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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"
    }
    
  2. 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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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
  1. 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
  1. Illuminate\Routing\Route {#201}
    
  2. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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"
    }
    
  2. 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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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"
    }
    
  2. 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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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"
    }
    
  2. 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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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"
    }
    
  2. 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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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"
    }
    
  2. 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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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"
    }
    
  2. 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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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
  1. 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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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
  1. 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/le-gite-de-pontgibaud"
      #requestUri: "/bons-plans/pdf/le-gite-de-pontgibaud"
      #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
  1. "/home2/cplus/public_html/public/index.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
PATH
"/usr/local/bin:/usr/bin:/bin"
TEMP
"/tmp"
TMP
"/tmp"
TMPDIR
"/tmp"
PWD
"/"
LSCAPI_CRIU_SYNC_FD
"7"
HTTP_ACCEPT
"*/*"
CONTENT_LENGTH
"0"
HTTP_HOST
"www.lesbonsplansdannecy.com"
HTTP_USER_AGENT
"claudebot"
HTTP_X_COUNTRY_CODE
"US"
HTTP_X_AUTONOMOUS_SYSTEM
"14618"
HTTP_X_REAL_IP
"52.54.103.76"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_PORT
"443"
HTTP_X_SSL
"yes"
HTTP_X_HTTPS
"1"
REDIRECT_UNIQUE_ID
"ZgVxrNVVc6MBPsCpXqi2fAAAAIw"
REDIRECT_SCRIPT_URL
"/bons-plans/pdf/le-gite-de-pontgibaud"
REDIRECT_SCRIPT_URI
"https://www.lesbonsplansdannecy.com/bons-plans/pdf/le-gite-de-pontgibaud"
REDIRECT_HTTPS
"on"
REDIRECT_STATUS
"200"
UNIQUE_ID
"ZgVxrNVVc6MBPsCpXqi2fAAAAIw"
SCRIPT_URL
"/bons-plans/pdf/le-gite-de-pontgibaud"
SCRIPT_URI
"https://www.lesbonsplansdannecy.com/bons-plans/pdf/le-gite-de-pontgibaud"
HTTPS
"on"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SERVER_NAME
"www.lesbonsplansdannecy.com"
SERVER_ADDR
"109.234.161.177"
SERVER_PORT
"443"
REMOTE_ADDR
"52.54.103.76"
DOCUMENT_ROOT
"/home2/cplus/public_html"
REQUEST_SCHEME
"https"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/home2/cplus/public_html"
SERVER_ADMIN
"webmaster@lesbonsplansdannecy.com"
SCRIPT_FILENAME
"/home2/cplus/public_html/server.php"
REMOTE_PORT
"45238"
REDIRECT_URL
"/bons-plans/pdf/le-gite-de-pontgibaud"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/bons-plans/pdf/le-gite-de-pontgibaud"
SCRIPT_NAME
"/server.php"
PHP_SELF
"/server.php"
REQUEST_TIME_FLOAT
1711632812.5852
REQUEST_TIME
1711632812
APP_NAME
"CplusCommunication"
APP_ENV
"local"
APP_KEY
"base64:235a3jmWjxQ4jEDkucwCqYRM6DhTscfg09T0Pl4BsKI="
APP_DEBUG
"true"
APP_URL
"http://localhost"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"cplus_bonsplans"
DB_USERNAME
"cplus_bonsplans"
DB_PASSWORD
"d[kE!+Z$u}Ta"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
QUEUE_CONNECTION
"sync"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"mail.lesbonsplansdannecy.com"
MAIL_PORT
"26"
MAIL_USERNAME
"info@lesbonsplansdannecy.com"
MAIL_PASSWORD
"gTq]a$)kr&0"
MAIL_ENCRYPTION
"null"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
NOCAPTCHA_SECRET
"6LeJUMobAAAAANNLhIwGkS6XfyRJOMlukRQvxvu8"
NOCAPTCHA_SITEKEY
"6LeJUMobAAAAAHTiV8hPjLThz5jJQJlDTaD5hy3o"
Key Value
PATH
"/usr/local/bin:/usr/bin:/bin"
TEMP
"/tmp"
TMP
"/tmp"
TMPDIR
"/tmp"
PWD
"/"
LSCAPI_CRIU_SYNC_FD
"7"
APP_NAME
"CplusCommunication"
APP_ENV
"local"
APP_KEY
"base64:235a3jmWjxQ4jEDkucwCqYRM6DhTscfg09T0Pl4BsKI="
APP_DEBUG
"true"
APP_URL
"http://localhost"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"cplus_bonsplans"
DB_USERNAME
"cplus_bonsplans"
DB_PASSWORD
"d[kE!+Z$u}Ta"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
QUEUE_CONNECTION
"sync"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"mail.lesbonsplansdannecy.com"
MAIL_PORT
"26"
MAIL_USERNAME
"info@lesbonsplansdannecy.com"
MAIL_PASSWORD
"gTq]a$)kr&0"
MAIL_ENCRYPTION
"null"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
NOCAPTCHA_SECRET
"6LeJUMobAAAAANNLhIwGkS6XfyRJOMlukRQvxvu8"
NOCAPTCHA_SITEKEY
"6LeJUMobAAAAAHTiV8hPjLThz5jJQJlDTaD5hy3o"
0. Whoops\Handler\PrettyPageHandler