Example of dumping Cms\Classes\Page model:
Page {#554
#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 {#559
: "Cms\Classes\CmsObject"
: {
: {}
: {}
}
: {
: Page {#554}
}
: "/home/clients/032ff62ba69dbb314cad51e35914d211/sites/demo.inetis.ch/vendor/october/rain/src/Halcyon/Traits/Validation.php"
: "60 to 77"
}
]
]
"model.beforeDelete" => array:1 [
0 => array:1 [
0 => Closure {#560
: "Cms\Models\ThemeLog"
: {
: Page {#554}
}
: "/home/clients/032ff62ba69dbb314cad51e35914d211/sites/demo.inetis.ch/modules/cms/models/ThemeLog.php"
: "42 to 44"
}
]
]
"model.beforeSave" => array:1 [
0 => array:1 [
0 => Closure {#561
: "Cms\Models\ThemeLog"
: {
: Page {#554}
}
: "/home/clients/032ff62ba69dbb314cad51e35914d211/sites/demo.inetis.ch/modules/cms/models/ThemeLog.php"
: "46 to 48"
}
]
]
]
#emitterEventSorted: []
#validationErrors: null
}