From dfcc22d67ef44be42fef53444659e08c1ea379f0 Mon Sep 17 00:00:00 2001 From: Muhammed Sari Date: Mon, 15 Jan 2024 17:14:20 +0100 Subject: [PATCH] Add missing method --- src/Layouts/Layout.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Layouts/Layout.php b/src/Layouts/Layout.php index 069f1073..f324f9b8 100644 --- a/src/Layouts/Layout.php +++ b/src/Layouts/Layout.php @@ -148,6 +148,16 @@ public function __construct($title = null, $name = null, $fields = null, $key = $this->setRawAttributes($this->cleanAttributes($attributes)); } + /** + * Determine if accessing missing attributes is disabled. + * + * @return bool + */ + public static function preventsAccessingMissingAttributes() + { + return false; + } + /** * Set the parent model instance *