\AppUser

Summary

Methods
Properties
Constants
addresses()
payment_cards()
invoices()
profile()
scopeGetEmailFromCustomerId()
scopeUserCount()
No public properties found
No constants found
No protected methods found
$fillable
$hidden
N/A
No private methods found
No private properties found
N/A

Properties

$fillable

$fillable : array

The attributes that are mass assignable.

Type

array

$hidden

$hidden : array

The attributes that should be hidden for arrays.

Type

array

Methods

addresses()

addresses() : \Illuminate\Database\Eloquent\Relations\HasMany

Returns

\Illuminate\Database\Eloquent\Relations\HasMany

payment_cards()

payment_cards() : \Illuminate\Database\Eloquent\Relations\HasMany

Returns

\Illuminate\Database\Eloquent\Relations\HasMany

invoices()

invoices() : \Illuminate\Database\Eloquent\Relations\HasMany

Returns all invoices associated with the user.

Returns

\Illuminate\Database\Eloquent\Relations\HasMany

profile()

profile() : \Illuminate\Database\Eloquent\Relations\HasOne

Each user has a profile.

Returns

\Illuminate\Database\Eloquent\Relations\HasOne

scopeGetEmailFromCustomerId()

scopeGetEmailFromCustomerId(  $query,   $customer_id) : mixed

Get email address from the stripe id.

Parameters

$query
$customer_id

Returns

mixed

scopeUserCount()

scopeUserCount(  $query,   $time) : mixed

Count number of users after $time.

Parameters

$query
$time

Returns

mixed