Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1841703
UserAlias.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
524 B
Referenced Files
None
Subscribers
None
UserAlias.php
View Options
<?php
namespace
App
;
use
Illuminate\Database\Eloquent\Model
;
/**
* A email address alias for a User.
*
* @property string $alias
* @property int $id
* @property int $user_id
*/
class
UserAlias
extends
Model
{
protected
$fillable
=
[
'user_id'
,
'alias'
];
/**
* The user to which this alias belongs.
*
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public
function
user
()
{
return
$this
->
belongsTo
(
'
\A
pp
\U
ser'
,
'user_id'
,
'id'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Aug 25, 3:41 PM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
223195
Default Alt Text
UserAlias.php (524 B)
Attached To
Mode
R2 kolab
Attached
Detach File
Event Timeline
Log In to Comment