Changeset View
Changeset View
Standalone View
Standalone View
src/app/SharedFolderAlias.php
Show All 28 Lines | class SharedFolderAlias extends Model | ||||
/** | /** | ||||
* The shared folder to which this alias belongs. | * The shared folder to which this alias belongs. | ||||
* | * | ||||
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo | * @return \Illuminate\Database\Eloquent\Relations\BelongsTo | ||||
*/ | */ | ||||
public function sharedFolder() | public function sharedFolder() | ||||
{ | { | ||||
return $this->belongsTo('\App\SharedFolder', 'shared_folder_id', 'id'); | return $this->belongsTo(SharedFolder::class, 'shared_folder_id', 'id'); | ||||
} | } | ||||
} | } |