\App\Http\ModelsPaymentCard

Class PaymentCard PaymentCard model to save user payment card.

Summary

Methods
Properties
Constants
user()
scopeGetInfo()
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

user()

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

Each payment card belongs to a user.

Returns

\Illuminate\Database\Eloquent\Relations\BelongsTo

scopeGetInfo()

scopeGetInfo(  $query,   $slug) : mixed

Get card object from card_id.

Parameters

$query
$slug

Returns

mixed