We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class Article extends Model |
||
9 | { |
||
10 | use CrudTrait; |
||
|
|||
11 | |||
12 | protected $table = 'articles'; |
||
13 | protected $fillable = ['id', 'user_id', 'content', 'metas', 'tags', 'extras', 'cast_metas', 'cast_tags', 'cast_extras']; |
||
14 | protected $casts = [ |
||
15 | 'cast_metas' => 'object', |
||
16 | 'cast_tags' => 'object', |
||
17 | 'cast_extras' => 'object', |
||
18 | ]; |
||
19 | |||
20 | /** |
||
21 | * Get the author for the article. |
||
22 | */ |
||
23 | public function user() |
||
26 | } |
||
27 | |||
28 | public function getContentComposedAttribute() |
||
31 | } |
||
32 | |||
33 | public function identifiableAttribute() |
||
38 |