Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-customer
Model
Log.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Customer\Model
;
7
13
class
Log
14
{
20
protected
$customerId
;
21
27
protected
$lastLoginAt
;
28
34
protected
$lastVisitAt
;
35
41
protected
$lastLogoutAt
;
42
49
public
function
__construct
(
$customerId
=
null
,
$lastLoginAt
=
null
,
$lastVisitAt
=
null
,
$lastLogoutAt
=
null
)
50
{
51
$this->customerId =
$customerId
;
52
$this->lastLoginAt =
$lastLoginAt
;
53
$this->lastVisitAt =
$lastVisitAt
;
54
$this->lastLogoutAt =
$lastLogoutAt
;
55
}
56
62
public
function
getCustomerId
()
63
{
64
return
$this->customerId
;
65
}
66
72
public
function
getLastLoginAt
()
73
{
74
return
$this->lastLoginAt
;
75
}
76
82
public
function
getLastVisitAt
()
83
{
84
return
$this->lastVisitAt
;
85
}
86
92
public
function
getLastLogoutAt
()
93
{
94
return
$this->lastLogoutAt
;
95
}
96
}
Magento\Customer\Model\Log\getLastVisitAt
getLastVisitAt()
Definition:
Log.php:82
Magento\Customer\Model\Log\getLastLoginAt
getLastLoginAt()
Definition:
Log.php:72
Magento\Customer\Model\Log\$lastLogoutAt
$lastLogoutAt
Definition:
Log.php:41
Magento\Customer\Model\Log\getLastLogoutAt
getLastLogoutAt()
Definition:
Log.php:92
Magento\Customer\Model\Log
Definition:
Log.php:13
Magento\Customer\Model\Log\__construct
__construct($customerId=null, $lastLoginAt=null, $lastVisitAt=null, $lastLogoutAt=null)
Definition:
Log.php:49
Magento\Customer\Model\Log\$lastVisitAt
$lastVisitAt
Definition:
Log.php:34
Magento\Customer\Model\Log\$lastLoginAt
$lastLoginAt
Definition:
Log.php:27
Magento\Customer\Model\Log\$customerId
$customerId
Definition:
Log.php:20
Magento\Customer\Model\Log\getCustomerId
getCustomerId()
Definition:
Log.php:62
Magento\Customer\Model
Definition:
AccountManagementTest.php:7