]> BookStack Code Mirror - bookstack/blob - app/Tag.php
Update all.blade.php
[bookstack] / app / Tag.php
1 <?php namespace BookStack;
2
3 /**
4  * Class Attribute
5  * @package BookStack
6  */
7 class Tag extends Model
8 {
9     protected $fillable = ['name', 'value', 'order'];
10
11     /**
12      * Get the entity that this tag belongs to
13      * @return \Illuminate\Database\Eloquent\Relations\MorphTo
14      */
15     public function entity()
16     {
17         return $this->morphTo('entity');
18     }
19 }
Morty Proxy This is a proxified and sanitized view of the page, visit original site.