<?php

/**
 * Matomo - free/libre analytics platform
 *
 * @link    https://matomo.org
 * @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
 */
namespace Piwik\Tracker;

/**
 * Interface implemented by classes that track visit information for the Tracker.
 *
 */
interface VisitInterface
{
    /**
     * Stores the object describing the current tracking request.
     *
     * @return void
     */
    public function setRequest(\Piwik\Tracker\Request $request);
    /**
     * Tracks a visit.
     *
     * @return void
     */
    public function handle();
}
