mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-11 01:33:11 +08:00
Extract logic to send visits to Matomo to its own service
This commit is contained in:
@@ -7,11 +7,11 @@ namespace Shlinkio\Shlink\Core\Matomo;
|
||||
use MatomoTracker;
|
||||
use Shlinkio\Shlink\Core\Exception\RuntimeException;
|
||||
|
||||
class MatomoTrackerBuilder implements MatomoTrackerBuilderInterface
|
||||
readonly class MatomoTrackerBuilder implements MatomoTrackerBuilderInterface
|
||||
{
|
||||
public const MATOMO_DEFAULT_TIMEOUT = 10; // Time in seconds
|
||||
|
||||
public function __construct(private readonly MatomoOptions $options)
|
||||
public function __construct(private MatomoOptions $options)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user