Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117753059
UserAlias.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
595 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'
,
/* local */
'id'
/* remote */
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Apr 4, 5:01 AM (1 d, 22 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
bd/c7/c776c9528ba8331e77da1b0aef90
Default Alt Text
UserAlias.php (595 B)
Attached To
Mode
rK kolab
Attached
Detach File
Event Timeline