We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 27 | class ArticleCategory extends BaseModel |
||
| 28 | { |
||
| 29 | /* |
||
| 30 | * Laravel Deleting. |
||
| 31 | * @ https://laravel.com/docs/5.5/eloquent#soft-deleting |
||
| 32 | */ |
||
| 33 | use SoftDeletes; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * The table associated with the model. |
||
| 37 | * |
||
| 38 | * @var string |
||
| 39 | */ |
||
| 40 | protected $table = 'article_categories'; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * The attributes that are not mass assignable. |
||
| 44 | * |
||
| 45 | * @var array |
||
| 46 | */ |
||
| 47 | protected $guarded = []; |
||
| 48 | |||
| 49 | /** |
||
| 50 | * The table date columns, casted to Carbon. |
||
| 51 | * |
||
| 52 | * @var array |
||
| 53 | */ |
||
| 54 | protected $dates = ['created_at', 'updated_at', 'deleted_at']; |
||
| 55 | |||
| 56 | /** |
||
| 57 | * Attributes to exclude from the Audit. |
||
| 58 | * |
||
| 59 | * @var array |
||
| 60 | */ |
||
| 61 | protected $auditExclude = []; |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @return \Illuminate\Database\Eloquent\Relations\HasMany |
||
| 65 | */ |
||
| 66 | public function articles() |
||
| 70 | |||
| 71 | /** |
||
| 72 | * Get the creator model of the eloquent model. |
||
| 73 | * |
||
| 74 | * @return Account|\Illuminate\Database\Eloquent\Relations\BelongsTo |
||
| 75 | */ |
||
| 76 | public function creator() |
||
| 80 | |||
| 81 | /** |
||
| 82 | * Get the creator model of the eloquent model. |
||
| 83 | * |
||
| 84 | * @return Account|\Illuminate\Database\Eloquent\Relations\BelongsTo |
||
| 85 | */ |
||
| 86 | public function editor() |
||
| 90 | |||
| 91 | /** |
||
| 92 | * Slug the title for url usage. |
||
| 93 | * |
||
| 94 | * @return string |
||
| 95 | */ |
||
| 96 | public function getSlugAttribute() |
||
| 100 | |||
| 101 | /** |
||
| 102 | * The name of the current model object. |
||
| 103 | * |
||
| 104 | * @return string |
||
| 105 | */ |
||
| 106 | public function name() |
||
| 110 | } |
||
| 111 |