Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1841076
UserPassword.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
975 B
Referenced Files
None
Subscribers
None
UserPassword.php
View Options
<?php
namespace
App
;
use
Illuminate\Database\Eloquent\Model
;
/**
* A password history entry of a User.
*
* @property int $id
* @property int $user_id
* @property string $password
*/
class
UserPassword
extends
Model
{
/** @var bool Indicates if the model should be timestamped. */
public
$timestamps
=
false
;
/** @var array<string, string> The attributes that should be cast. */
protected
$casts
=
[
'created_at'
=>
'datetime:Y-m-d H:i:s'
,
];
/** @var array<int, string> The attributes that are mass assignable. */
protected
$fillable
=
[
'user_id'
,
'password'
];
/** @var array<int, string> The attributes that should be hidden for arrays. */
protected
$hidden
=
[
'password'
];
/**
* The user to which this entry belongs.
*
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public
function
user
()
{
return
$this
->
belongsTo
(
User
::
class
,
'user_id'
,
'id'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Aug 25, 2:14 PM (2 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
231067
Default Alt Text
UserPassword.php (975 B)
Attached To
Mode
R2 kolab
Attached
Detach File
Event Timeline
Log In to Comment