Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117881475
UserAlias.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
652 B
Referenced Files
None
Subscribers
None
UserAlias.php
View Options
<?php
namespace
App
;
use
App\Traits\BelongsToUserTrait
;
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
{
use
BelongsToUserTrait
;
/** @var list<string> The attributes that are mass assignable */
protected
$fillable
=
[
'user_id'
,
'alias'
];
/**
* Ensure the email address is appropriately cased.
*
* @param string $alias Email address
*/
public
function
setAliasAttribute
(
string
$alias
)
{
$this
->
attributes
[
'alias'
]
=
\strtolower
(
$alias
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Apr 5, 11:56 PM (1 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
bf/39/3f9346f1f1f92e6c0fe4d1877280
Default Alt Text
UserAlias.php (652 B)
Attached To
Mode
rK kolab
Attached
Detach File
Event Timeline