]> BookStack Code Mirror - bookstack/blob - app/App/Model.php
Merge pull request #5625 from BookStackApp/avif_images
[bookstack] / app / App / Model.php
1 <?php
2
3 namespace BookStack\App;
4
5 use Illuminate\Database\Eloquent\Model as EloquentModel;
6
7 class Model extends EloquentModel
8 {
9     /**
10      * Provides public access to get the raw attribute value from the model.
11      * Used in areas where no mutations are required but performance is critical.
12      *
13      * @return mixed
14      */
15     public function getRawAttribute(string $key)
16     {
17         return parent::getAttributeFromArray($key);
18     }
19 }
Morty Proxy This is a proxified and sanitized view of the page, visit original site.