Skip to content

Commit

Permalink
Merge pull request #108 from whitecube/add-preventsAccessingMissingAt…
Browse files Browse the repository at this point in the history
…tributes-method

Add preventsAccessingMissingAttributes method on template
  • Loading branch information
voidgraphics authored Mar 20, 2024
2 parents 01ffd3d + 8be40b9 commit 90301be
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Pages/Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

}

0 comments on commit 90301be

Please sign in to comment.