PHP Class Mage2\User\Models\User

Inheritance: extends Illuminate\Foundation\Auth\User, use trait Illuminate\Notifications\Notifiable
显示文件 Open project: mage2/laravel-ecommerce Class Usage Examples

Protected Properties

Property Type Description
$defaultWebsiteId
$fillable array The attributes that are mass assignable.
$hidden array The attributes that should be hidden for arrays.
$isDefaultWebsite
$websiteId

Public Methods

Method Description
__construct ( array $attributes = [] )
getFullNameAttribute ( )
isInWishlist ( $productId )

Method Details

__construct() public method

public __construct ( array $attributes = [] )
$attributes array

getFullNameAttribute() public method

isInWishlist() public method

public isInWishlist ( $productId )

Property Details

$defaultWebsiteId protected_oe property

protected $defaultWebsiteId

$fillable protected_oe property

The attributes that are mass assignable.
protected array $fillable
return array

$hidden protected_oe property

The attributes that should be hidden for arrays.
protected array $hidden
return array

$isDefaultWebsite protected_oe property

protected $isDefaultWebsite

$websiteId protected_oe property

protected $websiteId