Spaces:
No application file
No application file
mautic
/
app
/bundles
/LeadBundle
/Tracker
/Service
/DeviceTrackingService
/DeviceTrackingServiceInterface.php
namespace Mautic\LeadBundle\Tracker\Service\DeviceTrackingService; | |
use Mautic\LeadBundle\Entity\LeadDevice; | |
/** | |
* Interface DeviceTrackingServiceInterface. | |
*/ | |
interface DeviceTrackingServiceInterface | |
{ | |
/** | |
* @return bool | |
*/ | |
public function isTracked(); | |
/** | |
* @return LeadDevice|null | |
*/ | |
public function getTrackedDevice(); | |
/** | |
* @param bool $replaceExistingTracking | |
* | |
* @return LeadDevice | |
*/ | |
public function trackCurrentDevice(LeadDevice $device, $replaceExistingTracking = false); | |
public function clearTrackingCookies(); | |
} | |