From 8be40b945e0d95d0efac5e1e288a4124931f92ce Mon Sep 17 00:00:00 2001 From: Adrien Leloup Date: Wed, 20 Mar 2024 17:12:13 +0100 Subject: [PATCH] Update Template.php --- src/Pages/Template.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/Pages/Template.php b/src/Pages/Template.php index ae9073b..979d8fd 100644 --- a/src/Pages/Template.php +++ b/src/Pages/Template.php @@ -519,4 +519,15 @@ public function getRaw() return $this->raw; } + + /** + * Determine if accessing missing attributes is disabled. + * + * @return bool + */ + public static function preventsAccessingMissingAttributes() + { + return Model::preventsAccessingMissingAttributes(); + } + }