Visitor
class Visitor
Visitor Base class for visited statistic
Properties
| protected DateTime | $createdAt | Date when statistics data created | |
| protected string|null | $platform | Platform from which client visited shop | |
| protected string|null | $name | Visited route name | |
| protected string|null | $url | Visited URL | |
| protected string|null | $browser | Browser from which client visited shop | |
| protected string|null | $type | Device type from which client visited shop | |
| protected DateTime|null | $orderCreatedAt | Date when order created | |
| protected DateTime|null | $orderFinishedAt | Date when order finished | |
| protected string|null | $typeOfAction | Type of cart action (add, increase, decrease, remove) | |
| protected float|null | $productQty | Handled product quantity |
Methods
__construct()
No description
string|null
getPlatform()
Get platform
setPlatform(string|null $platform)
Set platform
string|null
getName()
Get name
string|null
getUrl()
Get url
string|null
getBrowser()
Get browser
setBrowser(string|null $browser)
Set browser
getCreatedAt()
Get createdAt
DateTime|null
getOrderCreatedAt()
No description
DateTime|null
getOrderFinishedAt()
No description
string|null
getTypeOfAction()
No description
setTypeOfAction(string|null $typeOfAction)
No description
float|null
getProductQty()
No description
setProductQty(float|null $productQty)
No description
Details
at line 109
__construct()
at line 121
Visitor
setType(string|null $type)
Set platform
at line 133
string|null
getPlatform()
Get platform
at line 145
Visitor
setPlatform(string|null $platform)
Set platform
at line 157
string|null
getName()
Get name
at line 169
Visitor
setName(string|null $name)
Set name
at line 181
string|null
getUrl()
Get url
at line 193
Visitor
setUrl(string|null $url)
Set url
at line 205
string|null
getBrowser()
Get browser
at line 217
Visitor
setBrowser(string|null $browser)
Set browser
at line 229
DateTime
getCreatedAt()
Get createdAt