Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
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 }
__construct($customerId=null, $lastLoginAt=null, $lastVisitAt=null, $lastLogoutAt=null)
Definition: Log.php:49