Skip to content

Commit

Permalink
Merge pull request #499 from mabdullahsari/master
Browse files Browse the repository at this point in the history
Add missing preventsAccessingMissingAttributes method
  • Loading branch information
voidgraphics authored Feb 14, 2024
2 parents 824225b + dfcc22d commit bcb9b96
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Layouts/Layout.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit bcb9b96

Please sign in to comment.