\App\Http\ModelsUserDetail

Class UserDetail UserDetail model for profile.

Summary

Methods
Properties
Constants
setDobAttribute()
scopeGetId()
user()
No public properties found
No constants found
No protected methods found
$fillable
N/A
No private methods found
No private properties found
N/A

Properties

$fillable

$fillable : 

Type

Methods

setDobAttribute()

setDobAttribute(  $value) 

Mutator for dob.

Parameters

$value

scopeGetId()

scopeGetId(  $query,   $profile_id) : mixed

Get profile from profile_id.

Parameters

$query
$profile_id

Returns

mixed

user()

user() : \Illuminate\Database\Eloquent\Relations\BelongsTo

Each profile belongs to a user.

Returns

\Illuminate\Database\Eloquent\Relations\BelongsTo