update
This commit is contained in:
19
inc/Hura8/Components/Analytics/Model/TrackDeviceInfo.php
Normal file
19
inc/Hura8/Components/Analytics/Model/TrackDeviceInfo.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace Hura8\Components\Analytics\Model;
|
||||
|
||||
class TrackDeviceInfo
|
||||
{
|
||||
public $ip_address;
|
||||
public $user_agent;
|
||||
public $referrer;
|
||||
public $is_mobile;
|
||||
|
||||
public function __construct(string $ip_address, string $user_agent, string $referrer, bool $is_mobile)
|
||||
{
|
||||
$this->ip_address = $ip_address;
|
||||
$this->user_agent = $user_agent;
|
||||
$this->referrer = $referrer;
|
||||
$this->is_mobile = $is_mobile;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user