Files
basango/projects/backend/src/SharedKernel/Domain/Tracking/ClientProfiler.php
T
2025-10-05 14:42:25 +02:00

24 lines
586 B
PHP

<?php
declare(strict_types=1);
namespace App\SharedKernel\Domain\Tracking;
use App\SharedKernel\Domain\Model\ValueObject\Tracking\ClientProfile;
use App\SharedKernel\Domain\Model\ValueObject\Tracking\Device;
use App\SharedKernel\Domain\Model\ValueObject\Tracking\GeoLocation;
/**
* Class ClientProfiler.
*
* @author bernard-ng <bernard@devscast.tech>
*/
interface ClientProfiler
{
public function detect(ClientProfile $profile): Device;
public function locate(ClientProfile $profile): GeoLocation;
public function locateCountry(ClientProfile $profile): ?string;
}