Twig Dump

Adds Twig function d() that recursively dumps passed variables

Example of dumping Cms\Classes\Page model:

Page {#577
  #dirName: "pages"
  #fillable: array:10 [
    0 => "url"
    1 => "layout"
    2 => "title"
    3 => "description"
    4 => "is_hidden"
    5 => "meta_title"
    6 => "meta_description"
    7 => "markup"
    8 => "settings"
    9 => "code"
  ]
  +apiBag: []
  +rules: array:2 [
    "title" => "required"
    "url" => "required"
  ]
  +components: []
  +settings: array:1 [
    "components" => []
  ]
  +viewBag: []
  #passthru: array:5 [
    0 => "lists"
    1 => "where"
    2 => "sortBy"
    3 => "whereComponent"
    4 => "withComponent"
  ]
  #isCompoundObject: true
  #viewBagCache: false
  +attributeNames: []
  +customMessages: []
  #maxNesting: null
  #themeCache: null
  #datasource: null
  +attributes: []
  #original: []
  #appends: []
  #purgeable: []
  #allowedExtensions: array:1 [
    0 => "htm"
  ]
  #defaultExtension: "htm"
  #wrapCode: true
  #loadedFromCache: false
  #observables: []
  +exists: false
  +implement: null
  #extensionData: array:4 [
    "extensions" => []
    "methods" => []
    "dynamicMethods" => []
    "dynamicProperties" => []
  ]
  #emitterSingleEventCollection: []
  #emitterEventCollection: array:3 [
    "model.saveInternal" => array:1 [
      500 => array:1 [
        0 => Closure {#582
          class: "Cms\Classes\CmsObject"
          parameters: {
            $data: {}
            $options: {}
          }
          use: {
            $model: Page {#577}
          }
          file: "/home/clients/032ff62ba69dbb314cad51e35914d211/sites/demo.inetis.ch/vendor/october/rain/src/Halcyon/Traits/Validation.php"
          line: "60 to 77"
        }
      ]
    ]
    "model.beforeDelete" => array:1 [
      0 => array:1 [
        0 => Closure {#583
          class: "Cms\Models\ThemeLog"
          use: {
            $template: Page {#577}
          }
          file: "/home/clients/032ff62ba69dbb314cad51e35914d211/sites/demo.inetis.ch/modules/cms/models/ThemeLog.php"
          line: "42 to 44"
        }
      ]
    ]
    "model.beforeSave" => array:1 [
      0 => array:1 [
        0 => Closure {#584
          class: "Cms\Models\ThemeLog"
          use: {
            $template: Page {#577}
          }
          file: "/home/clients/032ff62ba69dbb314cad51e35914d211/sites/demo.inetis.ch/modules/cms/models/ThemeLog.php"
          line: "46 to 48"
        }
      ]
    ]
  ]
  #emitterEventSorted: []
  #validationErrors: null
}